Skip to main content

tgup

PyPI - Python Version PyPI - Status PyPI - Version

Upload files to Telegram using your account.

This project is partially based on telegram-upload by Nekmo, it was recreated because the original project seems abandoned.

PyPI page

Installation

With uv:

uvx tgup

With pipx:

pipx install tgup

With pip:

pip install tgup

Usage

To use this program you need an Telegram account and your App api_id & api_hash (get it in my.telegram.org). The first time you use tgup it requests your telephone number, api_id and api_hash. Bot tokens can not be used with this program (bot uploads are limited to 50MB).

To send files:

tgup dir1/ file1 dir2/abc/

It will send the files to your personal chat by default.

To send files to a specific channel, chat or user:

tgup --to <channel_username> dir1/ file1
tgup --to <chat_id> dir1/ file1
tgup --to <user_username> dir1/ file1

To see all the options, run: tgup --help

Acknowledgements

License

This project is released under the GPL 3.0 or later license.

Release files for tgup 0.2.4

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

Source distribution (sdist)

Source distribution for tgup 0.2.4
File Size Uploaded
tgup-0.2.4.tar.gz 26.3 kB Details

Built distribution (wheel)

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

Total release size: 51.8 kB

Release files / tgup-0.2.4.tar.gz

Download URL tgup-0.2.4.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ba22936c9125f5f327aa371b899ba9d854bed7280782a0d08e7d78ea2412d4a5
BLAKE2b-256 checksum
How to use checksums
ff12f46304c430dbc205335be3ad9383aa6b761c301610807c2e83cd5fec615b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Release files / tgup-0.2.4-py3-none-any.whl

Download URL tgup-0.2.4-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8130fefbb6af7862c7d4fd684d865aea84242f8eb4b677f780d87b0fb7f31f6
BLAKE2b-256 checksum
How to use checksums
1170875f947b4db6819d87b16a0951d5b5e335972e2f85b25f1807eebd196854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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