Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

roughrider.application

Base WSGI application using horseman nodes with routing capabilities.

Example

Below is an example of an application, handling a GET request on ‘/’ and returning a JSON response.

from horseman.response import Response
from roughrider.application import Application

app = Application()

@app.routes.register('/')
def json(request):
    return Response.to_json(body={'message': "Hello, world!"})

CHANGES

0.3.1 (2022-02-22)

  • Added a handful of tests for application_uri.

0.3 (2022-02-22)

  • Request application_uri now handles environs that are not well formed. It fixes some uses of “proxy” or “virtual host” middlewares.

0.2 (2022-02-11)

  • Corrected the request extract method.

0.1 (2021-12-27)

  • Initial release.

Metadata

Release files for roughrider.application 0.3.1

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

Source distribution (sdist)

Source distribution for roughrider.application 0.3.1
File Size Uploaded Provenance Actions
roughrider.application-0.3.1.tar.gz 7.9 kB Without provenance Details for roughrider.application-0.3.1.tar.gz

Release files / roughrider.application-0.3.1.tar.gz

Download URL roughrider.application-0.3.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a16a54582c0f7ca2c8f88bd2996f4753947723d29ebe92dfc0c1e4b6b412de59
BLAKE2b-256 checksum
How to use checksums
2c7ce9f924cc5bdd26e66b9ced433f90692c5439f0f77b45e24ee96279bd9862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for roughrider.application 0.3.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.

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