StaticRoute
User-configured route creation to interact with json5 data stores.
Installation
pip install staticroute
Usage
Literally just call load_data_stores with the routes.
You can get routes from load_routes_json which by default reads routes.json.
import flask
from .load import load_data_stores, load_routes_json
# Load routes
routes = load_routes_json()
data_stores_dir = "data_stores"
os.makedirs(data_stores_dir, exist_ok=True)
# Define app
app = flask.Flask(__name__)
app.secret_key = "1234" # Need a key for auth
load_data_stores(app, data_stores_dir, routes)
app.run(debug=True)
Metadata
Release files for StaticRoute 0.1.1
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 |
|---|---|---|---|---|
| staticroute-0.1.1.tar.gz | 11.6 kB | With provenance | Details for staticroute-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| staticroute-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for staticroute-0.1.1-py3-none-any.whl |
Total release size: 19.9 kB
Release files / staticroute-0.1.1.tar.gz
| Download URL | staticroute-0.1.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46648b0ecc7b5624b09f34df0110ee9b6a838e73081e12235dcdb68b04606bf6
|
|
BLAKE2b-256 checksum How to use checksums |
878f4e249706a536b61f988486433294970569e5f5064a959d18b9d5be0efd64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / staticroute-0.1.1-py3-none-any.whl
| Download URL | staticroute-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6b6ea32b43c9d3da641fa3af9f0ebcaa7ce8fbfd36b7c310a3a060eb0022cb9
|
|
BLAKE2b-256 checksum How to use checksums |
07021359cd5ca37005e247faebec36790764afe8c5ee1e942ff71904c85d3d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logSecurity for StaticRoute 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for staticroute-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logA 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.