Skip to main content

Nexios Logo

Nexios Contrib

Community-driven extensions and add‑ons for the Nexios ASGI framework. This repository hosts independently versioned packages that you can install a‑la‑carte or together via the meta package.

📖 View Documentation | 🚀 Get Started


Packages

  • URL Normalization Middleware: nexios_contrib.slashes

  • Trusted Host Middleware: nexios_contrib.trusted

    • README: nexios_contrib/trusted/README.md
    • Validates the Host header against allowed hosts to prevent Host header attacks and ensure requests come from trusted domains.
  • ETag Middleware: nexios_contrib.etag

  • JSON-RPC: nexios_contrib.jrpc

More contribs will be added over time. Contributions welcome!


Installation

Install the meta package (brings in all contribs):

pip install nexios_contrib

Or install directly from a specific package as they become available on PyPI.


Quick Example (ETag)

from nexios import NexiosApp
import nexios_contrib.etag as etag

app = NexiosApp()
app.add_middleware(etag.ETag())

@app.get("/")
async def home(request, response):
    return {"message": "Hello with ETag!"}

See the full guide in the ETag README.


Development

This repo uses uv workspaces and hatchling for builds.

Common tasks:

# Sync workspace deps
uv sync

# Run tests
pytest -q

# Build wheel/sdist
python -m build

Project Structure

./
├── nexios_contrib/
│   └── etag/                 # ETag middleware package
├── tests/
├── docs/
├── pyproject.toml
└── README.md

Each contrib package is versioned and released independently.


Releasing

  1. Update the package’s version in its pyproject.toml (SemVer).
  2. Commit and push to main.
  3. Create a release/tag.
  4. Publish to PyPI.

Built with ❤️ by @nexios-labs

Metadata

Release files for nexios_contrib 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nexios_contrib 0.5.0
File Size Uploaded Provenance Actions
nexios_contrib-0.5.0.tar.gz 215.7 kB Without provenance Details for nexios_contrib-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nexios_contrib 0.5.0
File Interpreter ABI Platform Actions
nexios_contrib-0.5.0-py3-none-any.whl Python 3 none any Details for nexios_contrib-0.5.0-py3-none-any.whl

Total release size: 342.0 kB

Release files / nexios_contrib-0.5.0.tar.gz

Download URL nexios_contrib-0.5.0.tar.gz
Size 215.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a513b41458e80843d01c2b7f5d8fbf88daf32654545d502b91ce8571aecb33f3
BLAKE2b-256 checksum
How to use checksums
a04296d5518f55912c071da642e641d5b64b8928c14f0d0146866b1c495b80e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nexios_contrib-0.5.0-py3-none-any.whl

Download URL nexios_contrib-0.5.0-py3-none-any.whl
Size 126.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5559aa038160a84cc5cd873b81f0fec97b168d0fe405221688260f2909a7f81c
BLAKE2b-256 checksum
How to use checksums
eab180fde93d703228a75e4012b24962f6c78e9cac66ce5c3fe5ad356f7aba79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nexios_contrib 0.5.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page