Skip to main content

Package implements TelegramAccount class, which keeps your telegram session persistent with proxy

Project description

proxytg

This package implements TelegramAccount class, which can be used for automating tasks on telegram with proxy(uses https://mobileproxy.space api).

Usage

from proxytg.telegram import TelegramAccount

proxy_data = {
    "key": "proxy_key_from_mobile_proxy",
    "authorization": "mobile_proxy_api_authorization"
}
obj = TelegramAccount("account_name", proxy_data, "path_to_sessions_dir")

if object with given account_name already exist in sessions directory, then cookies and local storage would be loaded(to keep telegram session persistent)

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

proxytg-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

proxytg-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file proxytg-0.2.0.tar.gz.

File metadata

  • Download URL: proxytg-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for proxytg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a9c4f918720480b2244e5cfa352ce677c80794e1c403624666f5ef007b461b15
MD5 6b63e43094fcbe50bdcb1fea1d512de4
BLAKE2b-256 bd0dbfa80c343a097790c7a7bf86076f7325e5c3bb9ecf7a0818cb6aa18c8682

See more details on using hashes here.

File details

Details for the file proxytg-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: proxytg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for proxytg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08e95d3ca6fd84bf8f64c277c04d31d893017fa0f294418407b87281956c0c8d
MD5 0b633431a1fb3113337f47c51e3041b3
BLAKE2b-256 f8528932c4802f4578195c7430f0f3c4928ddf51d63d19328bb9b0555d757855

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