Health Server
A simple health check server built with FastAPI.
Installation
- Clone the repository.
- Navigate to the
health-serverdirectory. - Install the dependencies using pip:
pip install .
Running the server
To run the FastAPI application, use uvicorn:
uvicorn health_server:app --reload
This will start the server at http://127.0.0.1:8000.
Health Check Endpoint
The health check endpoint is available at /health. You can access it using a web browser or a tool like curl:
curl http://127.0.0.1:8000/health
This endpoint will return a JSON response indicating the health status:
{"status": "ok"}
Metadata
Release files for health-server 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| health_server-1.0.0.tar.gz | 17.3 kB | Without provenance | Details for health_server-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| health_server-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for health_server-1.0.0-py3-none-any.whl |
Total release size: 19.3 kB
Release files / health_server-1.0.0.tar.gz
| Download URL | health_server-1.0.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d73cfc73a076657c783fa0268e277a69a226e57fb9131a94aa78f6df2d69cb2
|
|
BLAKE2b-256 checksum How to use checksums |
0e1a774979e66b987018cf8e603b7d29ff841c092ed4ac9dee3c1e910d50c2e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Release files / health_server-1.0.0-py3-none-any.whl
| Download URL | health_server-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffcd5feb9f41cdfdeee7d83f924233d11b0902ac50027edcfb86380eec905740
|
|
BLAKE2b-256 checksum How to use checksums |
79b9b3c0d6fa62473e42df356c67b2907e1cddb47290ad27ca3885b4e564872e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Security for health-server 1.0.0
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.