Skip to main content

PyCronSchedule

Travis PyPI Anti 996 License: GPL v3

Python’s crontab syntax scheduler.

Features

  • [x] Easy to use and feature-rich API

  • [x] Scheduling unit is a function

  • [x] Syntax similar to Linux Crontab timing tasks

  • [x] Provides millisecond precision

  • [x] Use multi-process optimization

Usage

shell script $ pip install py-cron-schedule

from py_cron_schedule import CronSchedule, CronFormatError

if __name__ == '__main__':
  cs = CronSchedule()
  cs.add_task("ms", "* * * * * * *", lambda: print("Every Millsecond"))
  cs.add_task("sec", "* * * * * *", lambda: print("Every Second"))
  cs.add_task("min", "* * * * *",lambda :print("Every Minute"))
  cs.add_task("hour", "0 * * * *",lambda :print("Every Hour"))

  cs.start()

API Documentation

  • [x] [简体中文](./doc/zh-CN/README.md)

  • [ ] [English](./doc/en-US/README.md)

License

  1. Under the Creative Commons GPL-3.0 Unported license. See the LICENSE file for details.

  2. Under the Anti 996 License. See the Anti 996 LICENSE file for details.

Metadata

Release files for py-cron-schedule 0.0.7

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

Source distribution (sdist)

Source distribution for py-cron-schedule 0.0.7
File Size Uploaded Provenance
py_cron_schedule-0.0.7.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for py-cron-schedule 0.0.7
File Interpreter ABI Platform
py_cron_schedule-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / py_cron_schedule-0.0.7.tar.gz

Download URL py_cron_schedule-0.0.7.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5eb77dcf325276b412b6e3ffef5ae63e41f0491c510d3f050fd97db8a8ce4b71
BLAKE2b-256 checksum
How to use checksums
ea4d516a460a4ebce4fe52757d383ccaa5b0173069216fd5d2bfc9f248c9726e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.0

Release files / py_cron_schedule-0.0.7-py3-none-any.whl

Download URL py_cron_schedule-0.0.7-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6f55f0305f35699a7d6215f405e86d2096315ea33c67bb8fffd5ddf2e90f87
BLAKE2b-256 checksum
How to use checksums
284b5848daedd3cc183338acd1c66f9453675cf72c6b418251f6e774280389f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.0

Security for py-cron-schedule 0.0.7

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