Skip to main content

run-clock

With this little library you can set time for running your code.

Usage:

run_at():

This function takes 3 arguments in string type:

  1. hour
  2. minute
  3. second

For example, we have a script that we want to run at 11:30:00 :

from runclock import run_at

run_at(11, 30, 0)
print('time to run !')

And at 11:30:00 , it will print the text.

The defaule value for minute and second is 0 , so you can skip giving minute or second argument:

run_at(11)
print('Hi')

It will print the text at 11:00:00

or

run_at(11, 30)

It will print the text at 11:30:00

Installation:

You can install with pip:

pip3 install runclock

or install from source:

git clone https://github.com/Ali-Hosseinverdi/run-clock
cd run-clock
python3 setup.py

Metadata

Release files for runclock 1.1.1

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

Source distribution (sdist)

Source distribution for runclock 1.1.1
File Size Uploaded Provenance Actions
runclock-1.1.1.tar.gz 14.4 kB Without provenance Details for runclock-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 29.0 kB

Release files / runclock-1.1.1.tar.gz

Download URL runclock-1.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
21fc3fc85b3b9eacc94adb8bc9c63cfae5f48e62b7735386b73b155cd02098b5
BLAKE2b-256 checksum
How to use checksums
b71b67044c4d173e07b1581dda537e8fabf633d0c8711cd4b9b2c0b7baa5ba6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / runclock-1.1.1-py3-none-any.whl

Download URL runclock-1.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dca9f3d9bb624e3c6aa5814f6812f0d15d875a12813a05cc0a9a47a534e660a4
BLAKE2b-256 checksum
How to use checksums
b0ae28af7a082bb4d29cc7a5adf8172dfae0455fb1c66524ad6ed869e91bf070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for runclock 1.1.1

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