{"id":25657438,"url":"https://github.com/rscr1/telegram_bot","last_synced_at":"2026-05-07T01:09:27.408Z","repository":{"id":191886015,"uuid":"685588527","full_name":"rscr1/telegram_bot","owner":"rscr1","description":"The bot is created to simplify the process of buying and selling items on the trading platform. Stores all purchased items and sales, counts business metrics at different time intervals.","archived":false,"fork":false,"pushed_at":"2024-03-14T15:46:28.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-14T17:11:54.826Z","etag":null,"topics":["aiogram","docker","postgresql","python"],"latest_commit_sha":null,"homepage":"https://t.me/poison_resale_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rscr1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-08-31T15:08:10.000Z","updated_at":"2024-03-14T15:54:34.000Z","dependencies_parsed_at":"2024-01-27T15:52:03.429Z","dependency_job_id":null,"html_url":"https://github.com/rscr1/telegram_bot","commit_stats":null,"previous_names":["rscr1/telegrambot","rscr1/telegram_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscr1%2Ftelegram_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscr1%2Ftelegram_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscr1%2Ftelegram_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscr1%2Ftelegram_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rscr1","download_url":"https://codeload.github.com/rscr1/telegram_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240390998,"owners_count":19793826,"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":["aiogram","docker","postgresql","python"],"created_at":"2025-02-23T23:18:38.899Z","updated_at":"2026-05-07T01:09:27.372Z","avatar_url":"https://github.com/rscr1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## https://t.me/poison_resale_bot\n## Python TelegramBot Aiogram + Postgresql + Docker\n***\nThe bot is created to simplify the process of buying and selling items on the trading platform.\nAmong the features:\n\u003e- Calculation of order total\n\u003e- Checking the margin and markup on products to make purchasing decisions\n\u003e- Getting currency exchange rates\n\u003e- Storage of data on products and sales\n\u003e- Displaying data on products and sales\n\u003e- Editing data\n***\n## Includes:\n\u003e- Parsing\n\u003e- OOP\n\u003e- Functional programming\n\u003e- Decorators\n\u003e- FSM\n***\n## Folders\n\u003e- config.py - Initialization of data from the .env file\n\u003e- connection.py - Operations with the Postgresql database\n\u003e- function.py - All functions used in the bot\n\u003e- handlers - Folder containing files for working with FSM when clicking on a button on the main keyboard\n\u003e- keyboards.py - All keyboards used in the project\n\u003e- lexicon.py - All bot dialogs and auxiliary phrases for working with the database\n\u003e- value.py - File for parsing a website with information about the current currency exchange rate\n\u003e- .env - All personal data of the bot (see example below)\n\u003e- .gitignore - Instruction for ignoring secret files\n\u003e- bot.py - Bot's entry point\n\nE.G  `.env`:\n```\nBOT_TOKEN=your_bot_api_token\nADMINS_IDS=your_admins_ids\nDB_HOST=localhost\nDB_NAME=your_database_name\nDB_USER=your_database_user\nDB_PASSWORD=your_database_password\n```\n***\n## Install libraries(check file requirements):\n``` pip install -r requirements.txt ```\n## Version:\n\u003e- Python 3.10.11\n\u003e- Aiogram 3.0.0b7\n\u003e- Environs 9.5.0\n\u003e- Requests 2.31.0\n\u003e- Jsonschema 4.17.3\n\u003e- Psycopg2 2.9.7\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frscr1%2Ftelegram_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frscr1%2Ftelegram_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frscr1%2Ftelegram_bot/lists"}