Skip to main content

A middleware package to check for service expiration.

Project description

Python Runtime (Expiration Checker)

PyPI

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

  1. Update the version number in setup.py and README.md.
  2. Run the following command in your terminal:
python setup.py sdist bdist_wheel
  1. Run the following command in your terminal:
twine upload dist/*

Project details


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)

Uploaded Source

Built Distribution

python_runtime-24.3.27-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page