Telegraph
Async python wrapper for Telegraph
Install
pip install async-wrapper-telegraph
Usage
import asyncio
from telegraph import Telegraph
from telegraph.types import NodeElement
async def main():
access_token = 'd3b25feccb89e508a9114afb82aa421fe2a9712b963b387cc5ad71e58722'
async with Telegraph(access_token) as client:
r = await client.create_page(
title='Test telegra.ph',
content=[
NodeElement(
tag='p',
children=[
'Hello, ',
NodeElement(tag='b', children=['world!'])
]
)
]
)
print(r)
asyncio.run(main())
Metadata
Release files for async-wrapper-telegraph 0.1.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 | |
|---|---|---|---|---|
| async_wrapper_telegraph-0.1.0.tar.gz | 5.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_wrapper_telegraph-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / async_wrapper_telegraph-0.1.0.tar.gz
| Download URL | async_wrapper_telegraph-0.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
045740193c21175b805b9605847b767db952784bd68e39d004467db9e3c156d0
|
|
BLAKE2b-256 checksum How to use checksums |
4464f7f3acbfd2bf2fdab5c32a337540fbe9b6fe75218f8570b58aed83b42b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / async_wrapper_telegraph-0.1.0-py3-none-any.whl
| Download URL | async_wrapper_telegraph-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f05cb21461aed29f38668bca136f64f0b20636a996c621bdd5a3f029f50a621
|
|
BLAKE2b-256 checksum How to use checksums |
13e51d6fa5139bf09d87d7683058dae6dfde064474e811ccd3954e2ccc10ead5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for async-wrapper-telegraph 0.1.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.