This release is a pre-release and may not be stable for production use.
pytzsub
World timezone definitions by country subdivision (e.g., provinces or states)
Accuracy of the database
The database is not authoritative, and it surely has errors. Corrections are welcome and encouraged.
Installation
As per usual:
pip install pytzsub
Examples
>>> from pytzsub import sub_timezone
>>> sub_timezone('US-CA')
'America/Los_Angeles'
>>> from pytzsub import all_code
>>> 'US-CA' in all_code()
True
Module test
python -m pytzsub -v
Time Zone Database
Metadata
Release files for pytzsub 2020a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytzsub-2020a5.tar.gz | 6.5 kB | Without provenance | Details for pytzsub-2020a5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytzsub-2020a5-py3-none-any.whl | Python 3 | none | any | Details for pytzsub-2020a5-py3-none-any.whl |
Total release size: 13.9 kB
Release files / pytzsub-2020a5.tar.gz
| Download URL | pytzsub-2020a5.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccc36dd198e62846ff3205fdb2a58ad32c72b3335ca475943f875d46d8f24cdd
|
|
BLAKE2b-256 checksum How to use checksums |
32649dae0c580b741727401de185124b146a55a92c0d548eaa7535dc2f424067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|
Release files / pytzsub-2020a5-py3-none-any.whl
| Download URL | pytzsub-2020a5-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34f4043ab432e6b51798106217299662a929757e5227454791f97ed307b86477
|
|
BLAKE2b-256 checksum How to use checksums |
c3ff0fc42d94a67b6b2289cf569643669e666ad7b02932231c504b52161cbb92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|
Security for pytzsub 2020a5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.