A middleware package to check for service expiration.
Project description
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/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_runtime-24.3.27.tar.gz.
File metadata
- Download URL: python_runtime-24.3.27.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fc0de5bf13260190d06515e6f9be48a44b689f8bb5071d157e8bca8fdb7fcd1
|
|
| MD5 |
a22e924403b61211b932d1d86fe766d6
|
|
| BLAKE2b-256 |
1e94dcec4a44056712dffd92518821e158ebd3cc6b82075068d53ff21f1fefe9
|
File details
Details for the file python_runtime-24.3.27-py3-none-any.whl.
File metadata
- Download URL: python_runtime-24.3.27-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e809c7b3bc95292622447a5e435976a2623a4ba0887dd9ace986eefc9e2bd2a
|
|
| MD5 |
c63842e50e7d02da311be5c88175fd7a
|
|
| BLAKE2b-256 |
93113d67cd9a5229bd3573fd1abd1c8c6ae6b63f7124d383b736594d48c0aec5
|