Tools to fetch zoneinfo with asyncio
Project description
aiozoneinfo
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
Built Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
987ce2a7d5141f3f4c2e9d50606310d0bf60d688ad9f087aa7267433ba85fff3
|
|
| MD5 |
be5eae0350584369d6bb2848aae1b0b0
|
|
| BLAKE2b-256 |
4000e437a179ab78ed24780ded10bbb5d7e10832c07f62eab1d44ee2f335c95c
|
Provenance
The following attestation bundles were made for aiozoneinfo-0.2.3.tar.gz:
Publisher:
ci.yml on Bluetooth-Devices/aiozoneinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiozoneinfo-0.2.3.tar.gz -
Subject digest:
987ce2a7d5141f3f4c2e9d50606310d0bf60d688ad9f087aa7267433ba85fff3 - Sigstore transparency entry: 168677175
- Sigstore integration time:
-
Permalink:
Bluetooth-Devices/aiozoneinfo@9347abfdadea687e4400509250b3a44995c31a7d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Bluetooth-Devices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@9347abfdadea687e4400509250b3a44995c31a7d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5423f0354c9eed982e3f1c35edeeef1458d4cc6a10f106616891a089a8455661
|
|
| MD5 |
014a616cfa7699b2b83c55138acda5f1
|
|
| BLAKE2b-256 |
24a499e13bb4006999de2a4d63cee7497c3eb7f616b0aefc660c4c316179af3a
|
Provenance
The following attestation bundles were made for aiozoneinfo-0.2.3-py3-none-any.whl:
Publisher:
ci.yml on Bluetooth-Devices/aiozoneinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiozoneinfo-0.2.3-py3-none-any.whl -
Subject digest:
5423f0354c9eed982e3f1c35edeeef1458d4cc6a10f106616891a089a8455661 - Sigstore transparency entry: 168677177
- Sigstore integration time:
-
Permalink:
Bluetooth-Devices/aiozoneinfo@9347abfdadea687e4400509250b3a44995c31a7d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Bluetooth-Devices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@9347abfdadea687e4400509250b3a44995c31a7d -
Trigger Event:
push
-
Statement type: