Python Runtime (Expiration Checker)
python_runtime is a Python package providing middleware for FastAPI applications that restricts access to the service past a specified expiration date. The expiration date is dynamically determined based on the package version, following the format YY.M.DD, where YY is the year, M is the month, and DD is the day.
Installation
To install python_runtime, run the following command in your terminal:
pip install python_runtime==version_number
Intall locally
To install python_runtime locally, run the following command in your terminal:
pip install -e .
Instructions to publish package
- Update the version number in
setup.pyandREADME.md. - Run the following command in your terminal:
python setup.py sdist bdist_wheel
- Run the following command in your terminal:
twine upload dist/*
Metadata
Release files for python-runtime 24.3.27
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 |
|---|---|---|---|---|
| python_runtime-24.3.27.tar.gz | 1.9 kB | Without provenance | Details for python_runtime-24.3.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_runtime-24.3.27-py3-none-any.whl | Python 3 | none | any | Details for python_runtime-24.3.27-py3-none-any.whl |
Total release size: 4.3 kB
Release files / python_runtime-24.3.27.tar.gz
| Download URL | python_runtime-24.3.27.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fc0de5bf13260190d06515e6f9be48a44b689f8bb5071d157e8bca8fdb7fcd1
|
|
BLAKE2b-256 checksum How to use checksums |
1e94dcec4a44056712dffd92518821e158ebd3cc6b82075068d53ff21f1fefe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Release files / python_runtime-24.3.27-py3-none-any.whl
| Download URL | python_runtime-24.3.27-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e809c7b3bc95292622447a5e435976a2623a4ba0887dd9ace986eefc9e2bd2a
|
|
BLAKE2b-256 checksum How to use checksums |
93113d67cd9a5229bd3573fd1abd1c8c6ae6b63f7124d383b736594d48c0aec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Security for python-runtime 24.3.27
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.