Skip to main content

WSGI-MonkeyType

Some MonkeyType utils for wsgi application. Include:

  • wsgi middleware
  • monkeytype mysql store
  • flask extension

Installation

install wsgi-monkeytype

pip install wsgi-monkeytype

install wsgi-monkeytype with mysql store

pip install wsgi-monkeytype[mysql]

install wsgi-monkeytype with flask integration

pip install wsgi-monkeytype[flask]

Usage

wsgi middleware

from wsgi_monkeytype import MonkeyTypeWsgiMiddleware
from monkeytype.config import DefaultConfig
config = DefaultConfig()

wsgi_app = ...
wsgi_app = MonkeyTypeWsgiMiddleware(wsgi_app, config)

flask extension

from flask import Flask
from wsgi_monkeytype.flask import MonkeyType
from monkeytype.config import DefaultConfig


# use sqlite store
config = DefaultConfig()

app = Flask()
MonkeyType(config).init_app(app)

monkeytype mysql store

from wsgi_monkeytype.mysql_store import MysqlStoreMonkeyTypeConfig
config = MysqlStoreMonkeyTypeConfig("mysql://user:password@host:port/db", sample_rate=1)

License

BSD

Metadata

Release files for WSGI-MonkeyType 1.0.3

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

Source distribution (sdist)

Source distribution for WSGI-MonkeyType 1.0.3
File Size Uploaded Provenance Actions
WSGI-MonkeyType-1.0.3.tar.gz 3.8 kB Without provenance Details for WSGI-MonkeyType-1.0.3.tar.gz

Release files / WSGI-MonkeyType-1.0.3.tar.gz

Download URL WSGI-MonkeyType-1.0.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
89816600cb762ddaaa0088230df884a394a35fe89835bbbc6bcc38d3d688bf65
BLAKE2b-256 checksum
How to use checksums
18471df851842a3e8a5518ef55fe9488753b0aee1f386ed5b6bfbce5d66260c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.7

Security for WSGI-MonkeyType 1.0.3

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