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

Primer

import asfquart
import asfquart.auth
import asfquart.generics

def my_app():
    asfquart.construct("my_app_service")
    asfquart.generics.setup_oauth()   # Sets up /auth for OAuth handling
    asfquart.generics.enforce_login() # If not logged in, redirect to the above default login flow

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

    @asfquart.APP.route("/secret")
    @asfquart.auth.require(asfquart.auth.Requirements.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.3

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.3
File Size Uploaded Provenance Actions
asfquart-0.1.3.tar.gz 20.5 kB Without provenance Details for asfquart-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / asfquart-0.1.3.tar.gz

Download URL asfquart-0.1.3.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b3caf0a25355b4e7b37ef59d63214f35bbdaa9fc5120ebd745f82e17ac3419b2
BLAKE2b-256 checksum
How to use checksums
423f73c277a47ff33f5de687b6256035c36a2832bae85c87a2aa028e75505484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

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

Download URL asfquart-0.1.3-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fe196e7f90ba11b290dc4d1f397facd9f8a6ae1282d383b4f3bd54a42aa4424
BLAKE2b-256 checksum
How to use checksums
1190234e07bfcc159224155619c04492b7ef5e048c32b8e9af7f82026d2b0641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for asfquart 0.1.3

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