Skip to main content

Tools to fetch zoneinfo with asyncio

Project description

aiozoneinfo

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License


Documentation: https://aiozoneinfo.readthedocs.io

Source Code: https://github.com/bluetooth-devices/aiozoneinfo


Tools to fetch zoneinfo with asyncio

Installation

Install this via pip (or your favourite package manager):

pip install aiozoneinfo

Usage

This module is very simple and only has one public method async_get_time_zone. async_get_time_zone will fetch the ZoneInfo from the internal cache, or construct it in the executor to avoid doing blocking I/O in the event loop to load the zone info from disk.

zone_info = await async_get_time_zone("America/Los_Angeles")

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

This package was created with Copier and the browniebroke/pypackage-template project template.

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

aiozoneinfo-0.2.3.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

aiozoneinfo-0.2.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file aiozoneinfo-0.2.3.tar.gz.

File metadata

  • Download URL: aiozoneinfo-0.2.3.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for aiozoneinfo-0.2.3.tar.gz
Algorithm Hash digest
SHA256 987ce2a7d5141f3f4c2e9d50606310d0bf60d688ad9f087aa7267433ba85fff3
MD5 be5eae0350584369d6bb2848aae1b0b0
BLAKE2b-256 4000e437a179ab78ed24780ded10bbb5d7e10832c07f62eab1d44ee2f335c95c

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiozoneinfo-0.2.3.tar.gz:

Publisher: ci.yml on Bluetooth-Devices/aiozoneinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiozoneinfo-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: aiozoneinfo-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for aiozoneinfo-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5423f0354c9eed982e3f1c35edeeef1458d4cc6a10f106616891a089a8455661
MD5 014a616cfa7699b2b83c55138acda5f1
BLAKE2b-256 24a499e13bb4006999de2a4d63cee7497c3eb7f616b0aefc660c4c316179af3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiozoneinfo-0.2.3-py3-none-any.whl:

Publisher: ci.yml on Bluetooth-Devices/aiozoneinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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