Skip to main content

FastAPI Healthcheck package

import fastapi_healthcheck
app = FastAPI(...)

class WorkerChecker(healthcheck.base.Base):    
    def check(self):
        status = False 
        # code that checks health
        time_passed_for_check = 1.0
        return {"name": self.name, "status": status, "optional": self.optional, "time": time_passed_for_check}

fastapi_healthcheck.add_health_route(app, name="Super-Resolution", checkers=[
    healthcheck.redis.Checker(),  #built-in checker
    WorkerChecker(name="Worker Checker") #custom checker
])

Metadata

Release files for fastapi-healthcheck-flagman 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-healthcheck-flagman 0.0.8
File Size Uploaded Provenance
fastapi-healthcheck-flagman-0.0.8.tar.gz 2.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-healthcheck-flagman 0.0.8
File Interpreter ABI Platform
fastapi_healthcheck_flagman-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / fastapi-healthcheck-flagman-0.0.8.tar.gz

Download URL fastapi-healthcheck-flagman-0.0.8.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a153ac11845489eed2a12421e7f3209148ecbb0493ec87bbb8b027ef94f5f1aa
BLAKE2b-256 checksum
How to use checksums
2ec5c0fa7ba4959442601d2767d334405f919be015948d17e4f33da59d6fcf87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / fastapi_healthcheck_flagman-0.0.8-py3-none-any.whl

Download URL fastapi_healthcheck_flagman-0.0.8-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2aa0dbaabe74aeb0a330db3d4c3b064848bc6b707012cd7980c93a3c1d2c2b08
BLAKE2b-256 checksum
How to use checksums
29bbe4485c7f6a0fa069c1575b79002bfb03cfcbe0a60d615c5b4d766ff30d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for fastapi-healthcheck-flagman 0.0.8

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.0.8 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