Skip to main content

Change cron between timezones

Gives a crontab expression, source and target timezones, return a new crontab expression that times change according to the given timezones.

Install

pip3 install crontzconvert

Usage

convert(cron_expression, source_timezone, target_timezone)
>> from crontzconvert import convert
>> convert('* 0/12 * * *', 'Asia/Shanghai', 'UTC') # UTC+8 to UTC
'* 16/12 * * *'

TODO

Change day and week when switch timezone

Metadata

Release files for crontzconvert 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crontzconvert 0.1.2
File Size Uploaded Provenance Actions
crontzconvert-0.1.2.tar.gz 3.0 kB Without provenance Details for crontzconvert-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crontzconvert 0.1.2
File Interpreter ABI Platform Actions
crontzconvert-0.1.2-py3-none-any.whl Python 3 none any Details for crontzconvert-0.1.2-py3-none-any.whl

Total release size: 6.8 kB

Release files / crontzconvert-0.1.2.tar.gz

Download URL crontzconvert-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c1e5872ab6cbf7aab04db636da3b9f98c61a82bc04f15543f096088579f4be70
BLAKE2b-256 checksum
How to use checksums
076ff98b27c9deb3a52d666acd5511b282609b95e09e8f1b0686525de3a680a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / crontzconvert-0.1.2-py3-none-any.whl

Download URL crontzconvert-0.1.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
576b783b20dced5e8d7511e6aca131973bdeedcbea8511723e7ca35ceee50a96
BLAKE2b-256 checksum
How to use checksums
841e0e8e1094a2541429539f7712ca7dfb23e6de99e771aa00b3581f99ba61c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Security for crontzconvert 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page