Skip to main content

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.Client instances 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 a 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypoligram-0.3.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypoligram-0.3.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file pypoligram-0.3.0.tar.gz.

File metadata

  • Download URL: pypoligram-0.3.0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for pypoligram-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5d964268f944e6167faef9ef35cbecb5a48a7e74ba39d3793fce2329210bb791
MD5 bd64e3269801951cbafb27c075f5e77e
BLAKE2b-256 9036e8e851a0361a1b26217b098583121adaf77c6828ae0c0462cf7868455ceb

See more details on using hashes here.

File details

Details for the file pypoligram-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pypoligram-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for pypoligram-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0766e7ea130a2738b532ad9240880c990d8a429fd9829bd2445b20f089ab8fae
MD5 24f435710e9e8c00e15290ce9858767c
BLAKE2b-256 dbe784988477934d7c1693018bcc38131c1cee141b6689f2a17150e2d14b1e11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page