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.py
andREADME.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
python_runtime-24.3.27.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for python_runtime-24.3.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e809c7b3bc95292622447a5e435976a2623a4ba0887dd9ace986eefc9e2bd2a |
|
MD5 | c63842e50e7d02da311be5c88175fd7a |
|
BLAKE2b-256 | 93113d67cd9a5229bd3573fd1abd1c8c6ae6b63f7124d383b736594d48c0aec5 |