Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (53 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (53 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "ng-postcode"
version = "0.3.5"
description = "Validate, parse and format Nigerian postcodes (postal codes) offline: Nigeria's 11-character NIPOST digital postcode (NDAPS). Includes a client for the postcode.gov.ng API."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Kayode Adeniyi" }]
keywords = ["nigeria", "postcode", "nipost", "ndaps", "address", "address-validation", "geocoding", "postal-code", "nigerian", "validation", "validator", "zip-code"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
client = ["anyio>=3", "httpx>=0.27"]
[project.scripts]
ng-postcode = "ng_postcode.convert:main"
[project.urls]
Homepage = "https://adeniyikayodee.github.io/ng-postcode/"
Repository = "https://github.com/Adeniyikayodee/ng-postcode"
Issues = "https://github.com/Adeniyikayodee/ng-postcode/issues"
"API docs" = "https://docs.postcode.gov.ng"
[dependency-groups]
dev = ["anyio>=3", "httpx>=0.27", "mypy>=1.13", "pytest>=8", "ruff>=0.8"]
[tool.hatch.build.targets.sdist]
only-include = ["src", "tests", "README.md", "LICENSE"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF", "PT"]
[tool.mypy]
strict = true
files = ["src", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests", "src"]
addopts = "--doctest-modules"