Skip to main content

asfquart - a Quart framework for the ASF

Unit Tests

This repository will house the future Quart framework for use within ASF web applications. Nothing much to see here yet...

For more detailed documentation, see the documentation page.

Primer

import asfquart
from asfquart.auth import Requirements as R

def my_app():
    # Construct the quart service. By default, the oauth gateway is enabled at /oauth.
    app = asfquart.construct("my_app_service")

    @app.route("/")
    async def homepage():
        return "Hello!"

    @app.route("/secret")
    @asfquart.auth.require(R.committer)
    async def secret_page():
      return "Secret stuff!"
    
    asfquart.APP.run(port=8000)


if __name__ == "__main__":
    my_app()

Metadata

Release files for asfquart 0.1.7

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

Source distribution (sdist)

Source distribution for asfquart 0.1.7
File Size Uploaded Provenance Actions
asfquart-0.1.7.tar.gz 19.6 kB Without provenance Details for asfquart-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 42.1 kB

Release files / asfquart-0.1.7.tar.gz

Download URL asfquart-0.1.7.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
18299cb0ef23484bd55604d530f5789140d2459f6630808335afb2371944bb50
BLAKE2b-256 checksum
How to use checksums
6986e07f037611705c9675fbdc6f2f50b85f8cdafd0930da680e0469e6be7463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / asfquart-0.1.7-py3-none-any.whl

Download URL asfquart-0.1.7-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f631f93ab8b634f4afe924dfa2945457cab8dd35b79ea1e5213afb8da500d2cd
BLAKE2b-256 checksum
How to use checksums
f68eef35b54975cb31ac3eedb82ceed22f27f597bbc556f19b510a52a44d62ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Security for asfquart 0.1.7

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