README.md
Introduction
This library simplifies the setup of Telethon clients for Telegram bots by handling configuration loading and client creation in a centralized way. It aims to streamline the process of creating Telegram bots, allowing developers to focus on bot logic rather than boilerplate code.
Installation
pip install telethon-client-wrapper
Configuration
Create a config.json file with the following fields:
{
"device_model": "YourDeviceModel",
"system_version": "YourSystemVersion",
"app_version": "YourAppVersion",
"lang_code": "en",
"system_lang_code": "en-US",
"api_id": "YOUR_API_ID",
"api_hash": "YOUR_API_HASH"
}
Usage
Import and use the create_client function:
from telethon_client_wrapper import create_client
client = create_client('config.json', 'my_session')
Contribution Guidelines
Contributions are welcome
Support
For support or inquiries, please contact @Rerowros or open an issue on GitHub.
Roadmap
- Enhance error handling and logging.
Links
Metadata
Release files for telethon-client-wrapper 0.9.9
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 | |
|---|---|---|---|---|
| telethon_client_wrapper-0.9.9.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| telethon_client_wrapper-0.9.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / telethon_client_wrapper-0.9.9.tar.gz
| Download URL | telethon_client_wrapper-0.9.9.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d7061177c3591c53534be37bcf0e6150093b9bdf471c44f9771ebf473550834
|
|
BLAKE2b-256 checksum How to use checksums |
3f3453935113d162b5ec240f0993e55b36978fb59b76522d3ef83946e7972ae9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / telethon_client_wrapper-0.9.9-py3-none-any.whl
| Download URL | telethon_client_wrapper-0.9.9-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afd3cfd5d84e61cdc911dd1334cdb19972baf082a095a4ece6e4a0faede510b7
|
|
BLAKE2b-256 checksum How to use checksums |
962a595095b42a272209cf5487df2c6bc90dc83f02cdb5d02707d23dafdcb548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for telethon-client-wrapper 0.9.9
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.