Skip to main content

mini-api

Python minimalistic HTTP(S) server

Some small long running utilities don't need fancy webframeworks to offer simple APIs over HTTP without any additional dependency that this module.

It spawns a thread to process incoming requests.

import mini_api

server = mini_api.Server(server_address=('localhost', 8888))

@server.route('aaa')
def route(args):
    return 200, 'All good'

server.start()

...

server.stop()

Metadata

Release files for mini-api 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 mini-api 0.1.2
File Size Uploaded Provenance Actions
mini_api-0.1.2.tar.gz 2.9 kB Without provenance Details for mini_api-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / mini_api-0.1.2.tar.gz

Download URL mini_api-0.1.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
961b63dcc4ec010c54fa1a09c1c9e66ef469f3f0b7950b281650fa7b51a47f60
BLAKE2b-256 checksum
How to use checksums
ff83d82aa2c9beb3c5b4b03bcba5183c86e93b15ede29331f10e7eb89c268396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mini_api-0.1.2-py3-none-any.whl

Download URL mini_api-0.1.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04762aab91b0bcb1567aedc31dbfac938c5d43f5bfd836ee6001ffc7c8612e4b
BLAKE2b-256 checksum
How to use checksums
c6ea2c4ac5e86ba65b13758fdf0befc34cd476c837c5f4901fc2775565d0b45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mini-api 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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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