Simplifies the process of handling multiple clients
Project description
PyPoligram
PyPoligram is a Python package designed to manage multiple pyrogram.Client instances efficiently. It simplifies the process of handling multiple clients.
Features
- Efficiently manage multiple
pyrogram.Clientinstances with ease. - Add or remove clients dynamically during runtime.
- Simplify Telegram account session management and event handling.
- Provide a unified interface for managing multiple Telegram API interactions.
- Streamline the process of registering handlers across multiple clients.
- Facilitate concurrent execution of multiple client sessions.
Installation
Install PyPoligram using pip:
pip install pypoligram
Usage
Here's a quick example to get started:
from pyrogram import Client
from pypoligram import ClientManager
# Example usage
manager = ClientManager([
Client("session1"),
Client("session2"),
Client("session3")
])
manager.add_client(Client("other_session"))
... # register handlers
manager.run()
Documentation
I don't know how to set a documentation page but I will write a DOCUMENTATION.md.
Contributions
Contributions are welcome! I don't have much information about developing the project, and I need help improving the documentation page. If you have any ideas or encounter any issues, please share them on the Issues and Pull Requests page. You can also star this project to motivate me and help me focus on it more.
License
This project is licensed under the GNU Lesser General Public License v3 or later (LGPLv3+).
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 pypoligram-0.2.1.tar.gz.
File metadata
- Download URL: pypoligram-0.2.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a8ceeb195d3c6cdbd495e9a434c1aee993b645672cd0ed93a7f7ccb15afc26
|
|
| MD5 |
839f9688b1023afdd7219f042886ebba
|
|
| BLAKE2b-256 |
4c3f940b447e703e65aad4c829cf173a6a46ca5504a6ed68ce11f45c674671f3
|
File details
Details for the file pypoligram-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pypoligram-0.2.1-py3-none-any.whl
- Upload date:
- Size: 34.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a070f5076b7ec2f7740b20eb73f023c10bc86492704956133af61a4ed44b312c
|
|
| MD5 |
32fbfbb5099272704ba44613aba90484
|
|
| BLAKE2b-256 |
d6450741aec5d29d18f92e82dfd9a2605b0efcaeb1c3497b7c7a757699bd9d13
|