Skip to main content

Another

"Another" Python backend framework, for fun.

justforfunnoreally.dev badge

Installation

pip install another

You also need an ASGI server, such as Uvicorn or Granian.

pip install uvicorn
# or
pip install granian

Usage

Create a main.py file and copy-paste the following snippet into it.

from another import Another, Status, Request, Response


app = Another()

@app.get("/hello")
def hellow_another(req: Request):
    return Response({
        "message": "Hello!",
        "extra": req.query
    }, status=Status.HTTP_200_OK)

And then run the server:

uvicorn main:app

Now open this link localhost:8000/hello?first_name=Mads&last_name=Mikkelsen in your browser.

Metadata

Release files for another 0.2.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 another 0.2.2
File Size Uploaded Provenance
another-0.2.2.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.2 kB

Release files / another-0.2.2.tar.gz

Download URL another-0.2.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c1e7829f0ca64a26b3405f20004d619ba15072de94abcb6e363805d5c4d8431
BLAKE2b-256 checksum
How to use checksums
844c46f9b3219cefa0d57b28e8504ad663f838c2eff97a97d70d3d3122a3f76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.0 CPython/3.10.6 Linux/5.15.0-56-generic

Release files / another-0.2.2-py3-none-any.whl

Download URL another-0.2.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3118607dd176d269878472a1204749c908ba455dfd3b70bd9bcfd341ae96f9ba
BLAKE2b-256 checksum
How to use checksums
90cd57a7655d3196f4e883f4ca09ca7b14d67653a6c1a8671aeced352b8b97d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.0 CPython/3.10.6 Linux/5.15.0-56-generic

Security for another 0.2.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