Skip to main content
# apicrafter
apicrafter helps people create simple HTTP APIs easily.

To start creating an API, all you need is a path, a function, and a method

For example:

```python
import apicrafter

def root_request_handler(request):
request.respond("<b>Hello, world!</b>")

#Starts ApiServer on all interfaces on port 8080
my_server = apicrafter.ApiServer('all', 8080)

my_server.add_handler('/', root_request_handler, 'GET')

my_server.start()

```
Then, just navigate to http://localhost:8080 on the web browser of your choice!

Metadata

Release files for apicrafter 0.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 apicrafter 0.0.1.2
File Size Uploaded Provenance
apicrafter-0.0.1.2.tar.gz 4.5 kB Without provenance Details

Release files / apicrafter-0.0.1.2.tar.gz

Download URL apicrafter-0.0.1.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
68b3e75559a5bb7ebbd70f38f648ea891513411bb0bafb37ec00433d11af65bd
BLAKE2b-256 checksum
How to use checksums
f52502ee31739963df11d2c3d936754567edd53ee436a9d3a2c3c79dec183d40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for apicrafter 0.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