Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tzcron

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tzcron

Timezone aware Cron/Quartz parser

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://readthedocs.org/projects/tzcron/badge/?version=latest :target: http://tzcron.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

tzcron

A library to work with cron/quartz expressions and timezones.

Overview ########

tzcron provides a way to define schedules attached to timezones and get time occurrences out of it by just iterating the object created.

Install #######

pip install tzcron

Usage

import tzcron import pytz schedule = tzcron.Schedule("* * * * * *", pytz.utc) str(schedule) 'Cron: * * * * * * @UTC [2016-09-25 19:10:48.948486+00:00->None]' next(schedule) datetime.datetime(2016, 9, 25, 19, 11, tzinfo=) next(schedule) datetime.datetime(2016, 9, 25, 19, 12, tzinfo=) next(schedule) datetime.datetime(2016, 9, 25, 19, 13, tzinfo=)

For further information, check the official documentation <https://tzcron.readthedocs.io/en/latest/>_

Develop this package ####################

To test the package::

python -m nose

To release a new version of the package::

python setup.py sdist bdist_wheel upload

Keywords

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc