Skip to main content

Send text and files to the Teleput Telegram Bot

Project description

Teleput CLI Tool

This is a command-line script to send messages and files to yourself with the Teleput Bot. Install it like this:

pip3 install --user teleput

Then get a key from the bot (click the link above) and pass it to the tool:

teleput -k YOUR_KEY

Now sending messages to yourself is simple:

teleput "Message"
pbpaste | teleput -

And even files:

teleput review.docx
teleput image.jpg

Note that it tries to detect the file format, so images and sounds will be compressed. To send files without compression, use --raw switch:

teleput -r image.jpg

Only one file can be sent. But you also can add a comment with a second argument:

teleput image.jpg "Look at this image!"

Author and License

Written by Ilya Zverev, published under the ISC license.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teleput-0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

teleput-0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file teleput-0.1.tar.gz.

File metadata

  • Download URL: teleput-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for teleput-0.1.tar.gz
Algorithm Hash digest
SHA256 9379a06ab455fda8f304315830bd80d3a5d7307058772baf8140f7b20d288e6d
MD5 68b76bd31c0f9dcb3866e4464629a570
BLAKE2b-256 7563cafbf7e28723c3eba17403d755ac9be1738e9b9ab6177f81d3d51ed55a12

See more details on using hashes here.

File details

Details for the file teleput-0.1-py3-none-any.whl.

File metadata

  • Download URL: teleput-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for teleput-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aadcd52075db661527e9dbc328052cb2ecb4a5a2a2df8e4c23d4336cfdd82cb2
MD5 d7e803cc69d6eb9558bec6eaea6cde9a
BLAKE2b-256 09ed2c0406565570cb382a6f9ef3b9ce01c7b3cad24bfffe6010fe624d987548

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page