Skip to main content

World timezone definitions by country Subdivision (e.g., provinces or states)

Project description

pytzsub

Build Status License: MIT

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

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytzsub-2020.6.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytzsub-2020.6-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file pytzsub-2020.6.tar.gz.

File metadata

  • Download URL: pytzsub-2020.6.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytzsub-2020.6.tar.gz
Algorithm Hash digest
SHA256 12479a857a49f9457cd54a0f99e46f2c36fe31f8002482e13075c2f1f1675c19
MD5 ba7493efe890c74fba05460dd8eea2f9
BLAKE2b-256 2e9518da42e0b13d69942a8684f46f8cc6fcb9e78ca35458609a9f75423a027c

See more details on using hashes here.

File details

Details for the file pytzsub-2020.6-py3-none-any.whl.

File metadata

  • Download URL: pytzsub-2020.6-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytzsub-2020.6-py3-none-any.whl
Algorithm Hash digest
SHA256 58c457ff69b773283086c505c6dd1a4ff8747f1b2235d37796b8c2931e2fc388
MD5 c91da14cd0dc6faa580952549d68b739
BLAKE2b-256 7cc269bda81cab6ef6bf56f0cd303d8310d8db27c592ee9c73461363f8f1e025

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page