TimeLabel
Never needed to set time duration in your projects? Like when setting cache in django and want to save it for a specific time (like 10 Minutes).
Well, this package provides some simple labels like WEEK, MONTH (30 days), ...
It's not a very complicated package (actually it's super simple), but someone might find it handy. At least I have implemented it in lots of my projects, and finally I decided to turn it into a package.
Simple usage:
from django.core.cache import cache
from time_label import TimeLabel
...
cache.set(key, value, 5 * TimeLabel.MINUTE)
...
Metadata
Release files for time-label 0.0.0
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 | |
|---|---|---|---|---|
| time_label-0.0.0.tar.gz | 2.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| time_label-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / time_label-0.0.0.tar.gz
| Download URL | time_label-0.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5389f4293c972c9fe88e90ecb38eef6840f7ba397ad242bee74b049a701fa67
|
|
BLAKE2b-256 checksum How to use checksums |
df4ef6f8a9e7abf365606be687f9f66c4077ab00cb661b7ecac2e94e6b26e3c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / time_label-0.0.0-py3-none-any.whl
| Download URL | time_label-0.0.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a25df97bf04fa3197b55511af4bc6014689db302ad032c2531d596afc30d3720
|
|
BLAKE2b-256 checksum How to use checksums |
9fb2699dfc375664a42de36688647dc0133df2b69f1d236f4a52657d0236b1c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for time-label 0.0.0
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.