Skip to main content

devhubsesion

Telegram account manager with session strings. No Telethon code needed.

install

pip install devhubsesion

usage

from devhubsesion import DevHubSession

with DevHubSession(session_string="...", api_id=123, api_hash="abc") as tg:
    for c in tg.list_private_chats():
        print(c["name"], c["id"])

or from .env:

from devhubsesion import DevHubSession

with DevHubSession.from_env() as tg:
    print(tg.list_private_chats())

methods

  • list_private_chats
  • list_groups_channels
  • dump_history(user, limit, save)
  • last_message(user)
  • backup_voices(user=None)
  • backup_photos(user=None)
  • backup_full()
  • watch(user=None, callback=None)
  • list_contacts()
  • extract_numbers(limit_per_chat, save)
  • list_active_sessions()
  • change_bio(text)
  • change_name(first, last)
  • send_message(user, text)

license

Apache-2.0

Metadata

Release files for devhubsesion 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for devhubsesion 0.1.0
File Size Uploaded Provenance Actions
devhubsesion-0.1.0.tar.gz 5.9 kB Without provenance Details for devhubsesion-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for devhubsesion 0.1.0
File Interpreter ABI Platform Actions
devhubsesion-0.1.0-py3-none-any.whl Python 3 none any Details for devhubsesion-0.1.0-py3-none-any.whl

Total release size: 13.9 kB

Release files / devhubsesion-0.1.0.tar.gz

Download URL devhubsesion-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e292433840f851f0070633e0ebe1dd545d72ddccbed067a83b43ddc09fc94fb
BLAKE2b-256 checksum
How to use checksums
4fed9530cf014065f709bb6a2a61ff8c2fd1c8defc1c5b554ce93d9fde0c1edc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / devhubsesion-0.1.0-py3-none-any.whl

Download URL devhubsesion-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f698c03c8dd1490a8c5325069bcdd677b3bb01a23842e492c60b4ff5a8f42a1d
BLAKE2b-256 checksum
How to use checksums
be59cc59316e3293ddb56ecc09833ed29d1c60650e8140547927739888eadece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for devhubsesion 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page