Monkey-patch utilities for TonIO runtime
Project description
TonIO-Monkey
Monkey-patch utilities for TonIO.
TonIO-Monkey lets you use popular asyncio packages with TonIO runtime.
Note: the vast majority of code in this project is LLM generated.
Available patches
TonIO-Monkey provides patches for the following packages:
- httpx (colored only)
- psycopg (colored only)
- redis (colored only)
- websockets (colored only)
Installation
You can install TonIO-Monkey using pip or other package managers, specifying the Python packages you need patches for as extra dependencies:
$ pip install tonio-monkey[httpx]
Usage
Once you installed TonIO-Moneky with the relevant extras, you can simply import the target package from TonIO-Monkey:
import tonio.colored as tonio
from tonio_monkey.colored import httpx
@tonio.main
async def main():
async with httpx.AsyncClient() as client:
r = await client.get('http://www.example.com')
License
TonIO-Monkey is released under the BSD License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tonio_monkey-0.1.0.tar.gz.
File metadata
- Download URL: tonio_monkey-0.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672ee6bedc6af50bfd6f43104ad92b877dea1ad47e476fabd5cb3df8b57f8bfc
|
|
| MD5 |
1d25963ff9d68bfa561b0e78b4428727
|
|
| BLAKE2b-256 |
bc8aa6248f12408d4230e320fabc0a564548a3371bda124f885e5e165396fba8
|
Provenance
The following attestation bundles were made for tonio_monkey-0.1.0.tar.gz:
Publisher:
publish.yml on gi0baro/tonio-monkey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tonio_monkey-0.1.0.tar.gz -
Subject digest:
672ee6bedc6af50bfd6f43104ad92b877dea1ad47e476fabd5cb3df8b57f8bfc - Sigstore transparency entry: 1429429030
- Sigstore integration time:
-
Permalink:
gi0baro/tonio-monkey@a40b682680561c6ec11f3f5f8c08fba2740be008 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gi0baro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a40b682680561c6ec11f3f5f8c08fba2740be008 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tonio_monkey-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tonio_monkey-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d1562453d06344985b06082f228c490b32780bf9195dd3f306c6a8459b0fe13
|
|
| MD5 |
699f16cc3fe2b54da281f858bbbf8a71
|
|
| BLAKE2b-256 |
304071b6085c5f6c1316e7b53c9eacc069795fedbd0cfaddbc93d9d0e24a759e
|
Provenance
The following attestation bundles were made for tonio_monkey-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on gi0baro/tonio-monkey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tonio_monkey-0.1.0-py3-none-any.whl -
Subject digest:
0d1562453d06344985b06082f228c490b32780bf9195dd3f306c6a8459b0fe13 - Sigstore transparency entry: 1429429069
- Sigstore integration time:
-
Permalink:
gi0baro/tonio-monkey@a40b682680561c6ec11f3f5f8c08fba2740be008 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gi0baro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a40b682680561c6ec11f3f5f8c08fba2740be008 -
Trigger Event:
release
-
Statement type: