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

Built distribution (wheel)

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

Total release size: 41.3 kB

Release files / asfquart-0.1.1.tar.gz

Download URL asfquart-0.1.1.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9d738fe710cbe3a9c60b70468a0128d4bed9096a9ae652db615d2166c803cc4d
BLAKE2b-256 checksum
How to use checksums
84515ab83bb727ad83febd672a147a6a0f502efea3a34e8744e9049c16233388
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.1-py3-none-any.whl

Download URL asfquart-0.1.1-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8916b8d3cbf04db73275ae79b082b6e0a7d32acbac96eedc59a5b14eb582cabb
BLAKE2b-256 checksum
How to use checksums
c9a7c687efdf56d9a46187aa03bfb2e00d6b2f71a853515f7691bec42ab7b0da
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.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