Probably the fastest Python package to convert longitude/latitude to timezone name
Project description
tzfpy

It's probably the fastest Python package to convert longitude/latitude to timezone name.
NOTE:
- This package use a simplified polygon data and not so accurate around borders.
- Rust use lazzy init, so first calling will be a little slow.
- Use about 40MB memory.
Usage
pip install tzfpy
>>> from tzfpy import get_tz
>>> print(get_tz(116.3883, 39.9289))
Background
tzfpy was originally written in Go named tzf and use CGO compiled to .so to be used by Python.
Since v0.11.0 it's rewritten in Rust built on PyO3 and tzf-rs, a tzf's Rust port.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tzfpy-0.11.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
855fb22aaedead149f95e10af5e9811dac39be1c52fc3d11a130168b3a0fdd6d
|
|
| MD5 |
eec8b70e6441cf1493cfd5200083fe6d
|
|
| BLAKE2b-256 |
8626401eae7a1a8d7b67f9db094123602039c698fed3f514147d1d89d07a22b1
|
File details
Details for the file tzfpy-0.11.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beb45bca7188ab38786c0994eeccd977ab725d12159d58136120b3422519d1bb
|
|
| MD5 |
789c0d806610666f0e2f22230348aabf
|
|
| BLAKE2b-256 |
3099ee60ccc8a6d86f14bdda716f13048a3ea53c9a53bfd8be97df14bc130457
|
File details
Details for the file tzfpy-0.11.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1b584e27c3fce354dc01fa4149e668481471ccc387a11e9956d0d3327417e0
|
|
| MD5 |
360fb4a9fb1ba457795df4f75b534f9e
|
|
| BLAKE2b-256 |
808ef495fecf225749f086cd22cf62f25878812a1b03c62d35663ec6d8dbd2d0
|
File details
Details for the file tzfpy-0.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e97a8f5138f7d70ce8d6af2d739bdb48e67e748106b95dd1701b2a7908a5441
|
|
| MD5 |
2548ebb7089da5ab41031b7835f2c271
|
|
| BLAKE2b-256 |
413149bce9a2082c663d6f44430e0a5fb52e7690bf29de87dddc5280169df38a
|
File details
Details for the file tzfpy-0.11.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a709498cafeb8e559a8da10d1edad1804f5d6d98ca38c6e91adaa974ac546939
|
|
| MD5 |
393a001a708c52e396eeff24f2069c80
|
|
| BLAKE2b-256 |
4e36dac19cdca2554c06dfdaeb57ff2330d178ec92c7cfdcdc7350d2e04f0924
|
File details
Details for the file tzfpy-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f34c506a64dd38949a14d4992b6298c18c757fea255777c8d76098cc80b51fbd
|
|
| MD5 |
95071e97595bda3282d5246794ad0e90
|
|
| BLAKE2b-256 |
dae98f5534acfd4ce66c7dd75442a511779727e1f5772ab658d845ea3285daa7
|
File details
Details for the file tzfpy-0.11.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e83472bc57fe50e3c666efbca52562e5a2603ffa684817c00bdda1115cc6dcb
|
|
| MD5 |
f5cdefb0dbff5e301d22da5994331d38
|
|
| BLAKE2b-256 |
4d7ab332193f556b8c8c81c82852c2ca3275c8f3d14fa30e3fe9dc6f71cc26ef
|
File details
Details for the file tzfpy-0.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a86c643884967ac14df31ded167a90d7de1b66aa9ded20c213fb987c4fd2c91c
|
|
| MD5 |
543560b1fb9cb77d3e662d116e100684
|
|
| BLAKE2b-256 |
2078ae144fb337c9f7605f0a8dcbedf7fb6a91bc8b3434d03a6dac787e7d45ad
|
File details
Details for the file tzfpy-0.11.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
424971343827f4521b8bd8f1cfa3972518b20a1b176a5ed9c6d5e9b37fea1759
|
|
| MD5 |
c681f9962d4806ad3e4fdd61a315bef9
|
|
| BLAKE2b-256 |
4ebe33975eec7249f8fd6c3a7d1ed676f0922e80c296ae4170f90d47a41e9b01
|
File details
Details for the file tzfpy-0.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c9681398453b68b65d6e133ed62d9f8313c71bb5e65ba6b8edb75b18ad49f0
|
|
| MD5 |
c6ed468c1ed4879fb310fe3113a5e6c7
|
|
| BLAKE2b-256 |
300171403954957f9c632f973ac9fdee5c3f61bbcf0102da126f88448f0a5650
|
File details
Details for the file tzfpy-0.11.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
670e6111e44c028b8024ea7f1847c7866d82aba54dc49d662e2887ee4ab81422
|
|
| MD5 |
c20004544a3c4e0be6d2d0b1438cbbc1
|
|
| BLAKE2b-256 |
302e24181656e79782af15d24ffdff477ef61fd0f437b8d9a7ac404a875f4dce
|
File details
Details for the file tzfpy-0.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f78549aea87e8cab3aef139ac5f4556fc27bb8089d1a081feb76b335fc0d8e95
|
|
| MD5 |
359496de8d9c420857e4ab2c184b02a6
|
|
| BLAKE2b-256 |
374ceef332ac292cffca0ac181d822af393bce94975e77252c0bc75e30a0d9db
|
File details
Details for the file tzfpy-0.11.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: tzfpy-0.11.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0666f0c5961fdb37509f183b2f9edff6217db2d26ccb28f2fbe92de0e5db8584
|
|
| MD5 |
3eb3dde134d5faa3b412ad8537d00de6
|
|
| BLAKE2b-256 |
eb103122d163a7f9be5c8d4ba8e6ffd2d0bd726b6c817afb59869669d9b4fb97
|