Skip to main content

capuchin 0.0.6

Tornado server with some built-in endpoints.

Here’s a simple usage example:

import capuchin.web

class TestHandler(tornado.web.RequestHandler):
        def get(self):
                self.write("hola")

def test_job():
        print("did some job")

if __name__ == "__main__":
        c = capuchin.web.Application([
                (r"/test", TestHandler),
        ])
        c.add_status_job("Test Job", 5, test_job)
        c.listen()

The Application looks at the environment variables HOST, PORT, and ENDPOINT on initialization. If These are not set the defaults are HOST: 0.0.0.0, PORT: 8080, ENDPOINT: /.

get capuchin

Install tornado and requests

sudo easy_install capuchin

Download the latest release from Python Package Index or clone the repository

More documentation is on it’s way (check the site for updates)

Provide any feedback and issues on the bug tracker, that should be coming soon.

Metadata

Release files for capuchin 0.0.6

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

Source distribution (sdist)

Source distribution for capuchin 0.0.6
File Size Uploaded Provenance Actions
capuchin-0.0.6.tar.gz 9.3 kB Without provenance Details for capuchin-0.0.6.tar.gz

Release files / capuchin-0.0.6.tar.gz

Download URL capuchin-0.0.6.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8c733b55a357a9b324ef827f271e409457847901408e77522f99cc50b2cd21ab
BLAKE2b-256 checksum
How to use checksums
6daa78f6ac6b5362d552b6f27590f9e110ec6f493f6316914f3f0cc21e2fa83a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for capuchin 0.0.6

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