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.5.tar.gz (77.0 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.5-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypoligram-0.3.5.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypoligram-0.3.5.tar.gz
Algorithm Hash digest
SHA256 5675f484a4b7e02e315ff0d28eabfe9fbeaac1111f69ef97b4f37466103f143e
MD5 b16089f434d87c440a3a5dc26d6693b0
BLAKE2b-256 1a0babf6f5d460a7ca83e522c0aec01cb7211d90c32e6c2358f131687818f743

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypoligram-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypoligram-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6d7e02bb1748e14ebb1bf1aae7708dbe5c92c28e3b289f035f791325a83cef9c
MD5 62a6c41502cba8eaf4a1f58bfcbf8d18
BLAKE2b-256 21f93e67f7acf3b7dbc072a242de5f389c0efaae20af0a2b2ef23dc4d8bf0f10

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