Probably the fastest Python package to convert longitude/latitude to timezone name
Reason this release was yanked:
Missing macOS wheels.
Project description
tzfpy
![](https://pypi-camo.freetls.fastly.net/7661fc423322dee5ac12fbc38bcc872dbfafa2e1/68747470733a2f2f696d672e736869656c64732e696f2f707970692f776865656c2f747a6670792e737667)
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.
It's tested under Python 3.9+ but support 3.7+(noqa).
Usage
pip install tzfpy
>>> from tzfpy import get_tz, get_tzs
>>> get_tz(116.3883, 39.9289)
'Asia/Shanghai'
>>> get_tzs(87.4160, 44.0400)
['Asia/Shanghai', 'Asia/Urumqi']
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for tzfpy-0.13.0-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5e46c8bf969c970ffc23a50e866b5d945d22e2009a33a771fce486b39c1829 |
|
MD5 | 326fcb026d173751b578ded568e12936 |
|
BLAKE2b-256 | 2f4a717e6cd5ae3713e346674ba30858bba1c8ad2bd32f88b2a8b8bd8d48dbfa |
Close
Hashes for tzfpy-0.13.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d742a004fd5bf06becd590177e4afd2ac553f6214d06520c8a49b1ed250df7 |
|
MD5 | 1a3c44f050772f2fd2094af9139fb1ff |
|
BLAKE2b-256 | a17cfc992cccab53cf46d488dd69f02c619f96361eed369c517e54097fdde9f9 |
Close
Hashes for tzfpy-0.13.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287ace3ff3af61e33f763b6489cc86897b6d2d977ba343f0274646e04077f76a |
|
MD5 | 244c0e6d287606163778b7fc5279f8a9 |
|
BLAKE2b-256 | 48bb791953ecd8a9fbe082c91208e954b9e514f261314eee078492d44cc371c4 |
Close
Hashes for tzfpy-0.13.0-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1190630d268b6df2961cc2f61d2b84372db7d8c39d435b53b9ace5571afa265 |
|
MD5 | 1663ae89c17072471fe1230374411747 |
|
BLAKE2b-256 | cd571bd989a02297d9561a085a8161ebeb0e55b558eff5b071e8967dbef8cfaf |
Close
Hashes for tzfpy-0.13.0-pp38-pypy38_pp73-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7a33d1962fc1c8efce6270fe8bfe074d0fb78ea6e17fd6c961e006d6b99863 |
|
MD5 | b14b7a52bebfa281657ec8895a54c1d2 |
|
BLAKE2b-256 | ef7b762332a243e64c680c209f9a91ac6a71278b61c081ce600f5c3422fe15c7 |
Close
Hashes for tzfpy-0.13.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882b1b559525004dacbdc6f264c0c9961750ee3d83c7114f8a57982a5eede215 |
|
MD5 | 2c940d1ce3c29d1dee0d65495b7593b0 |
|
BLAKE2b-256 | e36cf606a21e4e5fec14f9eabd65119353fcc96ccb1bb83c1226e87271f81a50 |
Close
Hashes for tzfpy-0.13.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2c51c118e43905ffd6966a803752b87656f39bceabd68b29126f818dd0631f |
|
MD5 | b562fbe1488d7baa321ff970bf688869 |
|
BLAKE2b-256 | 258b74074d50f12588ec197e8e68b9979d177b73d2094199e1ee27ebb59e486b |
Close
Hashes for tzfpy-0.13.0-pp37-pypy37_pp73-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc8e63c21220d0e3a54c8f1cdc7310105520d09252a144b0c497045bd9f41c0 |
|
MD5 | 16e7c61f49f1fab06aa63bcef20e6cee |
|
BLAKE2b-256 | a86835092339df69519af5a8f8127019b3fa26ae33bc98c6cfcad118d966fe55 |
Close
Hashes for tzfpy-0.13.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62bac01fddd965b4a2e19dc28d294dcc69386546d90ad509b4d3f71286dfc199 |
|
MD5 | e2469b6f0582b044ed904e6966f8c353 |
|
BLAKE2b-256 | bdf371e81d6f791606637244f0b591d67caba5cb74fcc9241f5918085ec536b1 |
Close
Hashes for tzfpy-0.13.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4cd53570f96a0783e8ddb6bd6f0b9cd1e4bf7b305ca15484af315a895fcd0f8 |
|
MD5 | e3d89602bedcbb0ee1b3d16e8138caa7 |
|
BLAKE2b-256 | b7a48394306e605f6be00c60764d044d0d70ccffeedf4d42d9145f0f0a4b7ccb |
Close
Hashes for tzfpy-0.13.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2bda3f2bd9018a1646a95e88377306af25e02dc495f4b73aa4a84aa6e43ea04 |
|
MD5 | 921e3db14a0fc6b224783bb15a757c06 |
|
BLAKE2b-256 | 297fd4029dbce97365389716f83ae9c5d56556c059388ebac9abc8d0aad97291 |
Close
Hashes for tzfpy-0.13.0-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23d117b9d89676744b73767eec4f86b2e200fcb283fb11e55ce277e723737a7 |
|
MD5 | 139a05c0629dd57beff51870cdd09878 |
|
BLAKE2b-256 | 19c16d6033e0332d8533b59f775d1634f34993ff95309e484b953949c9d70557 |
Close
Hashes for tzfpy-0.13.0-cp311-cp311-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d6df54e19995c23cfd2f8f2339a74be1936468ef5d200313992f592d1657e9 |
|
MD5 | ef7d3bec785b52a28b288d7c8413448d |
|
BLAKE2b-256 | 5ab2ab11d2689c1623a1e200d80a83b5e0c4dfb91ce4fb63801428022f448209 |
Close
Hashes for tzfpy-0.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365ff3e553449111cb8efd00e3cf8312de105c0d1e491a7bcb5ff188f8c22577 |
|
MD5 | fa462baef3c0f55e06e135383678cf3f |
|
BLAKE2b-256 | 67f3e807179e257c392049a1287442737aac5702def36f94590fb64418a48fd4 |
Close
Hashes for tzfpy-0.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be2c0b81de6b47b72d4013c01cd8dbcc285abc61664ea67de7c21640ab30bef5 |
|
MD5 | 6b6583456b1ce727b2555c7b46fa217f |
|
BLAKE2b-256 | dc0cc63fbad0b332d2fc1cadbe70c1821fe470eadcdced9521d9efaebb4ccf00 |
Close
Hashes for tzfpy-0.13.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7578397c581381019d5d21b74f6322ce07fb1bcd9a2d6a70063179319062b8a6 |
|
MD5 | ee2cfbb90960d7a4c9af67f9e2b15146 |
|
BLAKE2b-256 | 455f99c78fe58b143cdd08c1af458294d050969e34a0cbc990a515e0d5091625 |
Close
Hashes for tzfpy-0.13.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f3c2aaed8402b8601bff4b91e3fec41e55aede474051126974802f5682db60 |
|
MD5 | 7c2940e9c23e7ce3a57cc62fe9f7bf89 |
|
BLAKE2b-256 | c950f1c96914253cb3bfae35f499bb9ab01f07bbc10ff82ed6a3d9112d511abe |
Close
Hashes for tzfpy-0.13.0-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2fd929f909f1a216f47b68b1182bf8291cae9d2b5443b83eda4f5b46499c8d |
|
MD5 | 37e0bf3254a32ccced32cba2ac373ef0 |
|
BLAKE2b-256 | e1b6412b8e60becbd0e399cd2cc2881d909904a8abfdba98f2a24c624c9ad252 |
Close
Hashes for tzfpy-0.13.0-cp310-cp310-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bc278f655a36702ea545116294bea554429ab58c23b1e7420237cb3c5ec1c9 |
|
MD5 | c8f2e9b83308873d12fb160bd4255979 |
|
BLAKE2b-256 | 0ef892060903b4fc45503df53d6a28b96a82ca16ba73c6b532c6a190fe070ba4 |
Close
Hashes for tzfpy-0.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d5cde228daedabeaccf30be86a24e96643a9a71215fcf0f28dfd647f64e991 |
|
MD5 | 7ed1f7b0fd5b46b0aaa46b058b8d3ce5 |
|
BLAKE2b-256 | 5870ef2613f19afc734058e2e07401a9d28053d2cde3ebeb7dd38bd7c13cf71c |
Close
Hashes for tzfpy-0.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6dffe43f1f7d0651e80542de2e75729a57482491bb425fec8603d85a7dead51 |
|
MD5 | 0b67d1b007aebd69dc0c78f2ff8d00a5 |
|
BLAKE2b-256 | 6d40ced576283eb68bda9178ab8ae4022fe51759e4fef9d5e5027eab266624b1 |
Close
Hashes for tzfpy-0.13.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ff6f9d6a6dbc2b65f645800ac2c70f2d776490647bf69321f3545011a70ac6c |
|
MD5 | 84597e1b68010b136b256aef001a79d3 |
|
BLAKE2b-256 | 03a6eaef1f39bb71746f996bd53e5166a221a24a1563c6be104a12a104a771e3 |
Close
Hashes for tzfpy-0.13.0-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30029f4aff49ea53543f87390f10a2172de2d739c193f3fbf15b15a2b95b55a |
|
MD5 | d0649c0dc11531b59296f6f282ada39b |
|
BLAKE2b-256 | a853ab7be50499a558fc3417f362cf15ad29f480a1368790e463fcefe927ee2a |
Close
Hashes for tzfpy-0.13.0-cp39-cp39-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a99c0079c15b2aee71d151648dbdee7022f0f02fff8278e28e91d82100f4363 |
|
MD5 | 3271c8c993f4c3b2ea77b7cb6dd2ddae |
|
BLAKE2b-256 | d6c599612d068822e8365786c7504706f47ee0e724519c1aac6c91c1a1330b53 |
Close
Hashes for tzfpy-0.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5a4ee307f42ae357a3dc8e9ac88ceb0ed3ae267ccca5f24d11480bd23d61eb0 |
|
MD5 | 0c49c5f7099c39239d94d56f8e3e77d9 |
|
BLAKE2b-256 | be255abc446a736842ba82af6ce50bd72ed69a4ef2a59e0e75937e10f07e317c |
Close
Hashes for tzfpy-0.13.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450662c1d85c57e62ba8a7971c535cf5c61d7f4af4d6b037ed7ba50b266af437 |
|
MD5 | 2b1aa66279a58fbd1c54b59c5b40432f |
|
BLAKE2b-256 | 821ac862e0794466f61acb6b2fb42149fdea1f11e6b5d7e141ce7ca2c7e77fec |
Close
Hashes for tzfpy-0.13.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3dbc2cb569221beb6251e5cbd1ef0c546798372f6313b79025197384a0fe464 |
|
MD5 | 6177d7e0ca3330b825ad83dfa2a90529 |
|
BLAKE2b-256 | 4b69ba15f4360dea207bc223e787efad46011e33254e22738a14c19477150289 |
Close
Hashes for tzfpy-0.13.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd1d8828b0aed1f78d0090b3322b31cd865d4da1f1ae5e1afa1a2230d1a5ad6 |
|
MD5 | 19fb7c3e74643e443fcb4ecad9b4bc8e |
|
BLAKE2b-256 | a89bbd038c33b879154d0fdee589d86047912fa4830aa4b80a9f86d015ee1482 |
Close
Hashes for tzfpy-0.13.0-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f6a7f46ac48902c050f2c980f473bdc8ffcea94f8420d0e98e67514dee30fc0 |
|
MD5 | cfdd48e331be2532f6a7f22efd1d1cb0 |
|
BLAKE2b-256 | f24d0bbe1d43926557d3ce8102cd534c71150d274b5258f2873856a7fd1d04bd |
Close
Hashes for tzfpy-0.13.0-cp38-cp38-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b64f40f7fa6254e0152099696154041860a938c7444f565f01d58473f60eef |
|
MD5 | 44e9c31ea09223d3947fe41518a87ec6 |
|
BLAKE2b-256 | 0da9fd25b9110e31a995ba0cc0d0ef219f1b917ff1437967703586db6af0c992 |
Close
Hashes for tzfpy-0.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e95b51573ab68df6fc39b4467c42e1564a4c28e3816d0e0a8ff37a73348b5d |
|
MD5 | 068f4b333f92b02992994007425a0727 |
|
BLAKE2b-256 | 3fc394654c33f6f430196a0375716ee55e74fadc65ea0d8155a657a983eeb5c9 |
Close
Hashes for tzfpy-0.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d06e3abc1f46d7205ffe89aa2ce744e7a7cb38c05e67ee52ebedad0745040c3 |
|
MD5 | d87b076fba3407ccb2bc81ef8c370e54 |
|
BLAKE2b-256 | 0b85610c544b623c52720cc04e37ef7aca724da0f41f80a4158d2df60070cdce |
Close
Hashes for tzfpy-0.13.0-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee31506f9d9abfb0d824a4f1325f90c926e9661b08c3e65da7b7bf2e62e3e27 |
|
MD5 | f14d2a9b4da63077a965d5ecf8d5c4c3 |
|
BLAKE2b-256 | 31697394f9c94bbcea8309a2e4f996eb3e83fa35501d6e931d7486ac864f8aa8 |
Close
Hashes for tzfpy-0.13.0-cp37-cp37m-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892c1f9e43509386aa4eebf09ce05df8e65f5f1e024d6d20e748a9f57edb858a |
|
MD5 | bd93a109359fd7e6ecad64ea2126047a |
|
BLAKE2b-256 | 612647397ae30fcf0f90bf936d4fadee6b36477615c140a3c16955632a222916 |
Close
Hashes for tzfpy-0.13.0-cp37-cp37m-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c4a7a0fce26f4688fc0f103bca7a2030a350fa208a9815d055aa3fdeed4c0b |
|
MD5 | 9b8419969368b079c39b2338515cc430 |
|
BLAKE2b-256 | 3a93073597e5593a8201c587e9a24e0d9362aa497e61d0ba2ce75a8730d84674 |
Close
Hashes for tzfpy-0.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5654839ddc15e7c4b95c5a992845079ad4cd63ae0cc16d6ad3d46a23336bc8f5 |
|
MD5 | 19c97f52712944767b40514e58641534 |
|
BLAKE2b-256 | 7d7aa58dfda3260e70e5b3d18d16c9ff74f34ffb5f8e8a4c9107f0fa67fbebdc |
Close
Hashes for tzfpy-0.13.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6c1dbbe3d8b15a22dc6dc126ef4baaa28ef89890af4cc561479337b37ee589 |
|
MD5 | 4c06ddfa3e817e303797bcf3785a798f |
|
BLAKE2b-256 | 854dab1ee878cd565bf89673a97678889be0079b88368608e7b892999bd2f284 |