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

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

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / asfquart-0.1.2.tar.gz

Download URL asfquart-0.1.2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
77a322782011e334f8c93fe37e42c9c3f7602e299e2604f29985b0af652bddf5
BLAKE2b-256 checksum
How to use checksums
8f43e94e4d4cddbdda866f580261ec2ef7d5ada686077b65fd4a02232bd434c1
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.2-py3-none-any.whl

Download URL asfquart-0.1.2-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dbbf08d539633916dc7b5335eb64dd8a84252cea08550af55b21ca962567738
BLAKE2b-256 checksum
How to use checksums
db4568befdb2bcc94eca21e6c615eae87c228d73e7d2d7968c820dfa9133bad1
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.2

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