ChronoTrigger
A Python library to facilitate working with intervals.
Installation:
To install ChronoTrigger, simply use pip:
pip install chronoTrigger
Usage:
Import the necessary functions from the library to start using them in your code.
from chronoTrigger import set_interval, clear_interval, set_timeout, clear_timeout
def say_hello(name):
print(f"Hello, {name}!")
# This will call the say_hello function every 1 second with "Alex" as the parameter.
interval = set_interval(say_hello, 1, "Alex")
# This will clear the interval after 5 seconds.
set_timeout(clear_interval, 5, interval)
Output:
ChronoTrigger
Python библиотека для облегчения работы с интервалами.
Установка:
Для установки ChronoTrigger просто используйте pip:
pip install chronoTrigger
Использование:
Импортируйте необходимые функции из библиотеки, чтобы начать их использовать в вашем коде.
from chronoTrigger import set_interval, clear_interval, set_timeout, clear_timeout
def say_hello(name):
print(f"Привет, {name}!")
# Это будет вызывать функцию say_hello каждую 1 секунду с параметром "Alex".
interval = set_interval(say_hello, 1, "Alex")
# Это остановит интервал через 5 секунд.
set_timeout(clear_interval, 5, interval)
Вывод:
Metadata
Release files for chronoTrigger 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chronoTrigger-0.1.1.tar.gz | 2.7 kB | Without provenance | Details for chronoTrigger-0.1.1.tar.gz |
Release files / chronoTrigger-0.1.1.tar.gz
| Download URL | chronoTrigger-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ba7070251626a2a191baaf0a9dce6875b4064beef2fcaf32f463e751cdb9aa
|
|
BLAKE2b-256 checksum How to use checksums |
0da3b7c93654d0a9f2d0e71fdc44189fd63c90194bc479576ed9ce01f9ad9dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Security for chronoTrigger 0.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.