Socket
Socket
Sign inDemoInstall

aiozoneinfo

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiozoneinfo

Tools to fetch zoneinfo with asyncio


Maintainers
1

Readme

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc