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 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


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.1.2.tar.gz (20.3 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.1.2-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypoligram-0.1.2.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pypoligram-0.1.2.tar.gz
Algorithm Hash digest
SHA256 62ed781cbcfe20efbed625725556db94b4e42b648cf6f59de7203f80432dd2fb
MD5 af4756a91910ca6da061d5fc1baa6745
BLAKE2b-256 36da06be5eb4103f431b4c98174841248b4403185fde7674b408479c8099d159

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypoligram-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pypoligram-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 918ee512831dbb7acbd55af8a6805f2a12ed7a284da1dc6f220a6a2be1ef35e4
MD5 7ff7b3f1e115c21fd7864c3e64bb928d
BLAKE2b-256 225af5cf5e8d28a04a0d30dd4aedaed2b4340ada23021cdfd6db57ec415b842d

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