{ "info": { "author": "Eray Erdin", "author_email": "eraygezer.94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Communications :: Chat" ], "description": "# tgcli\n\n[![PyPI](https://img.shields.io/pypi/v/tgcli.svg?style=flat-square&logo=python&logoColor=white)][pypi_url]\n[![PyPI](https://img.shields.io/pypi/dm/tgcli.svg?style=flat-square&logo=python&logoColor=white)][pypi_url]\n[![PyPI](https://img.shields.io/pypi/pyversions/tgcli.svg?style=flat-square&logo=python&logoColor=white)][pypi_url]\n[![PyPI](https://img.shields.io/pypi/l/tgcli.svg?style=flat-square)][pypi_url]\n[![](https://img.shields.io/readthedocs/tgcli.svg?style=flat-square)](https://tgcli.readthedocs.io/en/latest/)\n[![Telegram](https://img.shields.io/badge/telegram-%40erayerdin-%2332afed.svg?style=flat-square&logo=telegram&logoColor=white)](https://t.me/erayerdin)\n[![Code Style](https://img.shields.io/badge/style-black-000000.svg?style=flat-square)](https://github.com/ambv/black)\n\n![](resources/recording.gif)\n\n`tgcli` is a Python cli app for Telegram.\n\n[pypi_url]: https://pypi.org/project/tgcli/\n\n| | Build | Coverage |\n|--------------|-------|----------|\n| **Master** | [![Travis (.com) master](https://img.shields.io/travis/com/erayerdin/tgcli/master.svg?style=flat-square&logo=travis&logoColor=white)][travis_url] | [![](https://img.shields.io/coveralls/github/erayerdin/tgcli/master.svg?logo=star&logoColor=white&style=flat-square)][coveralls_url] |\n| **Development** | [![Travis (.com) development](https://img.shields.io/travis/com/erayerdin/tgcli/development.svg?style=flat-square&logo=travis&logoColor=white)][travis_url] | [![](https://img.shields.io/coveralls/github/erayerdin/tgcli/development.svg?logo=star&logoColor=white&style=flat-square)][coveralls_url] |\n\n[travis_url]: https://travis-ci.com/erayerdin/tgcli\n[coveralls_url]: https://coveralls.io/github/erayerdin/tgcli\n\n## Installing\n\nInstall via `pip`:\n\n```bash\npip install tgcli\n```\n\n## Rationale\n\n[A similar project](https://github.com/vysheng/tg), built on Python, was created by [@vysheng](https://github.com/vysheng), but it has not been updated since 2016 and considered abandoned. This tool *is not a fork* of the mentioned project, it is built from ground up.\n\n## Example\n\nFor now, the use case is pretty simple. To send a message:\n\n```python\ntgcli bot --token \"BotToken\" send --receiver \"UserID\" message \"Your message\"\n```\n\nYou don't need to expose your token as flag. If you set\n`TELEGRAM_BOT_TOKEN` environment variable, you do not need to set\n`--token` flag. Just set it before using `tgcli`:\n\n```bash\nexport TELEGRAM_BOT_TOKEN=\"BotToken\"\n```\n\nYou can get more information by doing:\n\n```bash\ntgcli bot send --help\n```\n\nAlso, this repository uses notification from a private bot, you can see the\nexample Travis configuration [here](.travis.yml). Private `TELEGRAM_BOT_TOKEN`\nand `TELEGRAM_RECEIVER` environment variables were set.\n\nThis application serves a really small purpose for now. It might face\nbreaking changes in the future.\n\n## Documentation\n\nDocumentation has an intensive amount of information about how to\nuse `tgcli`. Refer to the\n[documentation](https://tgcli.readthedocs.io/en/latest/).\n\n## Donations\n\n`tgcli` is a free (as in beer and speech) software that I have \nbuilt in my leisure time and been maintaining it. If you like to\nuse it, please consider a small donation.\n\n### How do I donate?\n\nI accept donations in:\n\n - MiliBitcoin (mBTC)\n - Monero (XMR)\n\nYou can donate predefined (*almost* $1) or custom donation by \nclicking or scanning below.\n\n| | Predefined (*Almost* $1) | How Much You Wish |\n|-|--------------------------|-------------------|\n| MiliBitcoin (mBTC) | [![mBTC predefined][mbtc_d1_qr]][mbtc_d1] | [![mBTC custom][mbtc_custom_qr]][mbtc_custom] |\n| Monero (XMR) | [![XMR predefined][xmr_d1_qr]][xmr_d1] | [![XMR custom][xmr_custom_qr]][xmr_custom]\n\n[mbtc_d1]: bitcoin:bc1qpjqftgzvr2cstrn7lkfl7q84h0uq6k806cv9md?amount=0.00009732&message=For%20%22tgcli%22%20as%20my%20gratitude.&time=1568582579\n[mbtc_d1_qr]: docs/img/mbtc_d1_qr.png\n\n[mbtc_custom]: bitcoin:bc1qcywffxwa0rxsszgm07cyvsksxm3jxqj8z80ezh?message=For%20%22tgcli%22%20as%20my%20gratitude.&time=1568746229\n[mbtc_custom_qr]: docs/img/mbtc_custom_qr.png\n\n[xmr_d1]: monero://44Fs67hkoVxA9xrcLHTS4zfcYehBtzxo8LLcNWWaJ1HHT6SA6FN6aqai4QKfY7gU6TL65Pp46ov1aBy4E6jpV7ohRyfFbBr?tx_amount=0.015&tx_message=For%20%22tgcli%22%20as%20my%20gratitude.\n[xmr_d1_qr]: docs/img/xmr_d1_qr.png\n\n[xmr_custom]: monero://44Fs67hkoVxA9xrcLHTS4zfcYehBtzxo8LLcNWWaJ1HHT6SA6FN6aqai4QKfY7gU6TL65Pp46ov1aBy4E6jpV7ohRyfFbBr?tx_message=For%20%22tgcli%22%20as%20my%20gratitude.\n[xmr_custom_qr]: docs/img/xmr_custom_qr.png", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/erayerdin/tgcli/archive/v0.3.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/erayerdin/tgcli", "keywords": "telegram messaging communication terminal tool cli", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "tgcli", "package_url": "https://pypi.org/project/tgcli/", "platform": "", "project_url": "https://pypi.org/project/tgcli/", "project_urls": { "Download": "https://github.com/erayerdin/tgcli/archive/v0.3.1.tar.gz", "Homepage": "https://github.com/erayerdin/tgcli" }, "release_url": "https://pypi.org/project/tgcli/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "tgcli is a client tool for Telegram.", "version": "0.3.1" }, "last_serial": 5868732, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "ecb6a00a489cade9ae86f3799f3ef947", "sha256": "1f128790f32ec0b338589bd4d0e09e26cc20e1523b72616a1c5756d90a8908d3" }, "downloads": -1, "filename": "tgcli-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "ecb6a00a489cade9ae86f3799f3ef947", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3852, "upload_time": "2019-01-15T12:10:23", "url": "https://files.pythonhosted.org/packages/84/68/53edb7a40955eecb8ec3aae377f6ddc53b7b685a51988bf89940323e5987/tgcli-0.1.0a1.tar.gz" } ], "0.1.0a2": [ { "comment_text": "", "digests": { "md5": "08ab0093726596cf70a3bf0aed70e078", "sha256": "f0299a9b55d4f8ec3498fc95cea676732dbc4b369e1a17d181e34e5846485e8d" }, "downloads": -1, "filename": "tgcli-0.1.0a2.tar.gz", "has_sig": false, "md5_digest": "08ab0093726596cf70a3bf0aed70e078", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3908, "upload_time": "2019-01-15T14:41:50", "url": "https://files.pythonhosted.org/packages/52/1e/c168ce5b154b9098d190aeb3e5a743adaf28838b6b7def0a8f675e095572/tgcli-0.1.0a2.tar.gz" } ], "0.1.0a3": [ { "comment_text": "", "digests": { "md5": "177c42fcb8590e718249c9fd52a67b45", "sha256": "0b86afe196159a04de79140fda7aeaaafd8e267c6435fe21d4a451d6939e76ce" }, "downloads": -1, "filename": "tgcli-0.1.0a3.tar.gz", "has_sig": false, "md5_digest": "177c42fcb8590e718249c9fd52a67b45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4128, "upload_time": "2019-01-18T14:55:34", "url": "https://files.pythonhosted.org/packages/a4/35/269e3b8a33eeb0096706736514e67b5500e49d740d3801482a04daaf8896/tgcli-0.1.0a3.tar.gz" } ], "0.1.0a4": [ { "comment_text": "", "digests": { "md5": "c6f9e117591058c0e6dcc189089f3666", "sha256": "770fbc077246ac93dc55c2ddf34a58bdffc207fb46fd3e33ff9f193a72a556f3" }, "downloads": -1, "filename": "tgcli-0.1.0a4.tar.gz", "has_sig": false, "md5_digest": "c6f9e117591058c0e6dcc189089f3666", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4201, "upload_time": "2019-01-18T20:30:08", "url": "https://files.pythonhosted.org/packages/37/74/ee9bde27d2882b1093faa5f8fc9233f57e39f8763f0f832ebaa580131dab/tgcli-0.1.0a4.tar.gz" } ], "0.1.0b1": [ { "comment_text": "", "digests": { "md5": "4e05fb6dcb95ae38c84dd56da52ffca9", "sha256": "5a4c427daa39015f87bf7fefdaf27b132f021ce2e766dc4f32192c4801428a33" }, "downloads": -1, "filename": "tgcli-0.1.0b1.tar.gz", "has_sig": false, "md5_digest": "4e05fb6dcb95ae38c84dd56da52ffca9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4343, "upload_time": "2019-01-19T16:33:37", "url": "https://files.pythonhosted.org/packages/d2/f8/916dd4d7597efa23ce111d62dc98648408261788027e981623f10e2fd16f/tgcli-0.1.0b1.tar.gz" } ], "0.1.0b2": [ { "comment_text": "", "digests": { "md5": "64a2e43b78f434449aa2f9491f3ef689", "sha256": "36c81912ad8e4c14191da6c10b1eb74bf69084af8e3ba92b71ddc41f6a14e1dd" }, "downloads": -1, "filename": "tgcli-0.1.0b2.tar.gz", "has_sig": false, "md5_digest": "64a2e43b78f434449aa2f9491f3ef689", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4421, "upload_time": "2019-01-20T20:51:10", "url": "https://files.pythonhosted.org/packages/4a/c5/fcd993426009b9c36e7f9cd48217a4a19b43a2dfb781545727700bc2e9c8/tgcli-0.1.0b2.tar.gz" } ], "0.1.0b3": [ { "comment_text": "", "digests": { "md5": "49b264952dab6cd59aed447e5744bb53", "sha256": "9897c85ce89e73a7852c28aa298721284380c5a0d6cef0a9012b55ce13a7354e" }, "downloads": -1, "filename": "tgcli-0.1.0b3.tar.gz", "has_sig": false, "md5_digest": "49b264952dab6cd59aed447e5744bb53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4559, "upload_time": "2019-01-21T22:57:08", "url": "https://files.pythonhosted.org/packages/36/b4/c55c344c647044aa14ee3eb77c5273a75c5919d68824ebb3d20fdf635334/tgcli-0.1.0b3.tar.gz" } ], "0.1.0b4": [ { "comment_text": "", "digests": { "md5": "9253c40f72241e2558ec4f2aa7092490", "sha256": "de245023c337410dca86d1ef7b775bbe8a93e182f727d36383d6dd13ba1611e9" }, "downloads": -1, "filename": "tgcli-0.1.0b4.tar.gz", "has_sig": false, "md5_digest": "9253c40f72241e2558ec4f2aa7092490", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4786, "upload_time": "2019-01-22T14:55:27", "url": "https://files.pythonhosted.org/packages/b6/bb/8034ffac004cfc122ef1da7934cabddda1b96905132d8118e8af3d0f8039/tgcli-0.1.0b4.tar.gz" } ], "0.1.0b5": [ { "comment_text": "", "digests": { "md5": "a38079b375d3321a904373f1ad0693d6", "sha256": "8d7d16c123860c6fd7663e2bcc312f0b52d084395e310c8f7d392f4ab2d9f95b" }, "downloads": -1, "filename": "tgcli-0.1.0b5.tar.gz", "has_sig": false, "md5_digest": "a38079b375d3321a904373f1ad0693d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4768, "upload_time": "2019-03-14T20:28:52", "url": "https://files.pythonhosted.org/packages/6e/c5/355fb582252c20ed86c611e291c27fd31bb8e22614e6ca2e5c93352a6c58/tgcli-0.1.0b5.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "afe3f6cdbdef68bc4cc9ee6b910d7b9d", "sha256": "39a8b62d3b305c514f3a138faa992d98a9a79800a193ff4c83ac71e6a5483576" }, "downloads": -1, "filename": "tgcli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "afe3f6cdbdef68bc4cc9ee6b910d7b9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4768, "upload_time": "2019-04-12T23:01:53", "url": "https://files.pythonhosted.org/packages/e9/9b/0c783acf9c16c2f8cb886c72a461df2ef730caff7a46e0887c8ca09d312b/tgcli-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e1460f57235efa2dacaac927f4afea16", "sha256": "9a726327ee7363185d0c46ca62f6723d5b58d3f441ca8dfc0a9b0a91e3b8684e" }, "downloads": -1, "filename": "tgcli-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e1460f57235efa2dacaac927f4afea16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4776, "upload_time": "2019-04-18T22:51:33", "url": "https://files.pythonhosted.org/packages/ad/75/6e99eb985edb240db5a83e061e30cbc74f66e4733994afc7890ed932029a/tgcli-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2d3d71975dcc5f094c12cccf8fdfe081", "sha256": "31a66339c8a5f91978c634342a14b6dad27bf2c046f5dd8e38b5a2919409f18c" }, "downloads": -1, "filename": "tgcli-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d3d71975dcc5f094c12cccf8fdfe081", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5259, "upload_time": "2019-04-19T20:18:34", "url": "https://files.pythonhosted.org/packages/38/ed/6882d73c17a3d5e84ca482e85598cf2bfde2e5614d9ceec067885e8ffa17/tgcli-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "831105e4a4c99356c24dcb0ed464c55a", "sha256": "bfe365d9eac4377d9d6c9c75077efc3c128f98f2e1ee9e4786ab0d65ba6cde67" }, "downloads": -1, "filename": "tgcli-0.2.1.tar.gz", "has_sig": false, "md5_digest": "831105e4a4c99356c24dcb0ed464c55a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5429, "upload_time": "2019-04-19T21:49:26", "url": "https://files.pythonhosted.org/packages/ed/db/3faa9e9fee244de3e4c0aec4f5954a44eb8a1070e836377af76ec1a59cd2/tgcli-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "12485342023c23484d89854adb5a471a", "sha256": "98d63ee41cac2385272369e99df4c32e34deac7e79713a7f8ad177b03ddb155f" }, "downloads": -1, "filename": "tgcli-0.3.0.tar.gz", "has_sig": false, "md5_digest": "12485342023c23484d89854adb5a471a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6414, "upload_time": "2019-04-27T22:43:05", "url": "https://files.pythonhosted.org/packages/66/e1/7eec94f6a52ec34ea66a5d1004ab6e0b7f780292493a868a856b4aad1bcb/tgcli-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "95bfed9c16e031adf4ef0c4c5a01c8fd", "sha256": "217acf2badff3d9fafbf6bc8de69306d6dfdf08bdbaa7ccb39eeeb345cac3c73" }, "downloads": -1, "filename": "tgcli-0.3.1.tar.gz", "has_sig": false, "md5_digest": "95bfed9c16e031adf4ef0c4c5a01c8fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8693, "upload_time": "2019-09-22T11:06:00", "url": "https://files.pythonhosted.org/packages/4d/b2/d508e4a7f3d4ccd77cc070c908bc440dc1a9a1705e309e292fff0a412668/tgcli-0.3.1.tar.gz" } ], "0.4.0rc1": [ { "comment_text": "", "digests": { "md5": "bac49fb555ae722cc6b9d38a91a107ed", "sha256": "576f255b165cd2dbcb9e68926b26cebb1d38888af81fb9eb0803984f7bf905a5" }, "downloads": -1, "filename": "tgcli-0.4.0rc1.tar.gz", "has_sig": false, "md5_digest": "bac49fb555ae722cc6b9d38a91a107ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666, "upload_time": "2019-09-18T18:52:43", "url": "https://files.pythonhosted.org/packages/fa/8b/fbeb0d2cfba4029065d80d6851a05a4cb7f78e964f4e53a4f9e3b63fb67f/tgcli-0.4.0rc1.tar.gz" } ], "0.4.0rc2": [ { "comment_text": "", "digests": { "md5": "0c070cf71bb4324178f057a0e556c92f", "sha256": "34ce2ef87365e841f92eac4a2720b399a9aa5eee1f1ef088f47611ac7bb7eb5e" }, "downloads": -1, "filename": "tgcli-0.4.0rc2.tar.gz", "has_sig": false, "md5_digest": "0c070cf71bb4324178f057a0e556c92f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8696, "upload_time": "2019-09-19T12:38:15", "url": "https://files.pythonhosted.org/packages/21/a7/89a538546ba7f79203db1279d0891c585fc7288bdc90d986ba82025019e9/tgcli-0.4.0rc2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "95bfed9c16e031adf4ef0c4c5a01c8fd", "sha256": "217acf2badff3d9fafbf6bc8de69306d6dfdf08bdbaa7ccb39eeeb345cac3c73" }, "downloads": -1, "filename": "tgcli-0.3.1.tar.gz", "has_sig": false, "md5_digest": "95bfed9c16e031adf4ef0c4c5a01c8fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8693, "upload_time": "2019-09-22T11:06:00", "url": "https://files.pythonhosted.org/packages/4d/b2/d508e4a7f3d4ccd77cc070c908bc440dc1a9a1705e309e292fff0a412668/tgcli-0.3.1.tar.gz" } ] }