-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (86 loc) · 2.55 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (86 loc) · 2.55 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[project]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"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",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: GIS",
"Operating System :: OS Independent",
]
dependencies = []
license = "MIT"
description = "Probably the fastest Python package to convert longitude/latitude to timezone name"
readme = "README.md"
name = "tzfpy"
requires-python = ">=3.10"
maintainers = [{ name = "ringsaturn", email = "ringsaturn.me@gmail.com" }]
authors = [{ name = "ringsaturn", email = "ringsaturn.me@gmail.com" }]
keywords = [
"tzf",
"timezone",
"timezone-name",
"timezone-lookup",
"gps",
"gps-coordinates",
"gps-location",
"longitude",
"latitude",
]
dynamic = ["version"]
[project.optional-dependencies]
pytz = ["pytz>=2026.1.post1"]
tzdata = ["tzdata>=2026.2"]
[project.urls]
Homepage = "https://github.com/ringsaturn/tzfpy"
Documentation = "https://github.com/ringsaturn/tzfpy"
Issues = "https://github.com/ringsaturn/tzfpy/issues"
"Source Code" = "https://github.com/ringsaturn/tzfpy"
"Online Demo" = "https://ringsaturn.github.io/tzf-web/"
"Benchmark Results" = "https://github.com/ringsaturn/tz-benchmark"
[build-system]
build-backend = "maturin"
requires = ["maturin<2,>=1"]
[dependency-groups]
dev = [
"ruff==0.16.0",
"citiespy>=0.6.13",
"maturin==1.14.1",
"pytest>=9.0.2",
"pytest-benchmark>=5.2.3",
"pytest-cov>=7.0.0",
"pytest-pretty>=1.3.0",
"pytest-codspeed>=4.3.0",
"pytz>=2026.1.post1",
"tzdata>=2026.2",
"arrow>=1.4.0",
"whenever>=0.9.5",
"tzfpy", # If without it, uv will use most recent tagged version instead of local version.
"psutil>=7.2.2",
]
pyodide = [
"pyodide-build>=0.35.0 ; python_version >= '3.12'",
"pyodide-cli>=0.2.2 ; python_version >= '3.12'",
]
[tool.uv.sources]
tzfpy = { path = ".", editable = true }
[tool.uv]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "Cargo.toml" },
{ file = "src/**/*.rs" },
]
[tool.maturin]
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
#
# Reference: https://github.com/PyO3/maturin/issues/2314
features = ["pyo3/extension-module", "pyo3/generate-import-lib"]
[tool.uv.workspace]
members = [
"examples",
]