{"id":13638445,"url":"https://github.com/KyleJamesWalker/telebot","last_synced_at":"2025-04-19T17:33:57.333Z","repository":{"id":34917188,"uuid":"38969252","full_name":"KyleJamesWalker/telebot","owner":"KyleJamesWalker","description":"Small Telegram Bot Framework","archived":false,"fork":false,"pushed_at":"2023-04-26T04:34:43.000Z","size":19,"stargazers_count":47,"open_issues_count":1,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-27T02:44:03.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KyleJamesWalker.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-07-12T16:41:05.000Z","updated_at":"2024-04-19T06:26:37.000Z","dependencies_parsed_at":"2024-01-14T08:58:44.593Z","dependency_job_id":"a32bf01b-8b2a-4e7b-8c4c-94dce20cfbcf","html_url":"https://github.com/KyleJamesWalker/telebot","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.4375,"last_synced_commit":"8f6379dec2b62b00b9a832d5cc36af5e4c52298c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleJamesWalker%2Ftelebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleJamesWalker%2Ftelebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleJamesWalker%2Ftelebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleJamesWalker%2Ftelebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyleJamesWalker","download_url":"https://codeload.github.com/KyleJamesWalker/telebot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223805233,"owners_count":17205873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:00:45.983Z","updated_at":"2024-11-09T08:31:08.698Z","avatar_url":"https://github.com/KyleJamesWalker.png","language":"Python","readme":"Telebot\n-------\n\nNote: This is not `pyTelegramBotAPI \u003chttps://github.com/eternnoir/pyTelegramBotAPI\u003e`_, but do to often confusion I have included\nit within this package.  So if you accidentally install this instead of `pyTelegramBotAPI \u003chttps://github.com/eternnoir/pyTelegramBotAPI\u003e`_\nthe examples, etc will still work.\n\nThis originally was telegram bot library, with simple route decorators, and will now\nbe imported as telebot_router, to separate `pyTelegramBotAPI \u003chttps://github.com/eternnoir/pyTelegramBotAPI\u003e`_ and this package from\ncollision.\n\nCurrently a work in progress, doesn't do much now, but will register and send messages.\n\nExample Setup\n^^^^^^^^^^^^^\n::\n\n from telebot_router import TeleBot\n\n app = TeleBot(__name__)\n\n\n @app.route('/command ?(.*)')\n def example_command(message, cmd):\n     chat_dest = message['chat']['id']\n     msg = \"Command Recieved: {}\".format(cmd)\n\n     app.send_message(chat_dest, msg)\n\n\n @app.route('(?!/).+')\n def parrot(message):\n    chat_dest = message['chat']['id']\n    user_msg = message['text']\n\n    msg = \"Parrot Says: {}\".format(user_msg)\n    app.send_message(chat_dest, msg)\n\n\n if __name__ == '__main__':\n     app.config['api_key'] = 'xxxxxxxx:enterYourBotKeyHereToTest'\n     app.poll(debug=True)\n","funding_links":[],"categories":["Career Path"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyleJamesWalker%2Ftelebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKyleJamesWalker%2Ftelebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyleJamesWalker%2Ftelebot/lists"}