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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for python_runtime-24.3.27.tar.gz
Algorithm Hash digest
SHA256 6fc0de5bf13260190d06515e6f9be48a44b689f8bb5071d157e8bca8fdb7fcd1
MD5 a22e924403b61211b932d1d86fe766d6
BLAKE2b-256 1e94dcec4a44056712dffd92518821e158ebd3cc6b82075068d53ff21f1fefe9

See more details on using hashes here.

File details

Details for the file python_runtime-24.3.27-py3-none-any.whl.

File metadata

File hashes

Hashes for python_runtime-24.3.27-py3-none-any.whl
Algorithm Hash digest
SHA256 3e809c7b3bc95292622447a5e435976a2623a4ba0887dd9ace986eefc9e2bd2a
MD5 c63842e50e7d02da311be5c88175fd7a
BLAKE2b-256 93113d67cd9a5229bd3573fd1abd1c8c6ae6b63f7124d383b736594d48c0aec5

See more details on using hashes here.

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