Skip to main content

aiotelegraph

MIT license built with Python3 paypal

Description

This is simple async library for interaction with Telegra.ph API

Contents

Release Notes

Version 0.1.0

  • Init library

Getting Started

Installation from pip

For installation aiotelegraph library from pip you should have pip with python (prefer python3.6 or later)

pip install aiotelegraph

Installation from GitHub

To basic installation from GitHub repository you should have git, python3 (prefer python3.6 or later), pip (optionally) in your system

git clone https://github.com/OlegYurchik/aiotelegraph.git
cd aiotelegraph
pip install .

or

git clone https://github.com/OlegYurchik/aiotelegraph.git
cd aiotelegraph
python setup.py install

Quick Start

After installation, you can use the library in your code. Below is a sneak example of using the library.

from asyncio
from aiotelegraph import NodeElement, TelegraphClient


async def main():
    client = TelegraphClient()
    await client.create_account(short_name="ShortName", author_name="AuthorName", author_url="AuthorUrl")

    content = [
        NodeElement(text="Hello"),
        NodeElement(text="Neighbour"),
    ]
    page = await client.create_page(title="Greeting", content=content, return_content=True) 


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Metadata

Release files for aiotelegraph 0.1.0

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

Source distribution (sdist)

Source distribution for aiotelegraph 0.1.0
File Size Uploaded Provenance Actions
aiotelegraph-0.1.0.tar.gz 4.2 kB Without provenance Details for aiotelegraph-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiotelegraph 0.1.0
File Interpreter ABI Platform Actions
aiotelegraph-0.1.0-py3-none-any.whl Python 3 none any Details for aiotelegraph-0.1.0-py3-none-any.whl

Total release size: 10.1 kB

Release files / aiotelegraph-0.1.0.tar.gz

Download URL aiotelegraph-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9afead50889bb9c1a686bff2109b48d749bbb5c2e768935e622e2c69a9afbf7e
BLAKE2b-256 checksum
How to use checksums
f8a726cc720130b65d4916cdff69c2ecd7c2f47ba910d8d7cf1d7b250f7cfc13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / aiotelegraph-0.1.0-py3-none-any.whl

Download URL aiotelegraph-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d55534ec2db70ee3b4d6043689a719db09f9f1e81a2dc5f038eafd00e9d98f5f
BLAKE2b-256 checksum
How to use checksums
ea56d843ab2dc7cba5085dde1394c9de1b86e0fecfd7c7af565788fb7e33bd76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for aiotelegraph 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 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