styledbots 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,144 @@
1
+ Metadata-Version: 2.4
2
+ Name: styledbots
3
+ Version: 1.0.0
4
+ Summary: Modern, clean Telegram Bot library - Better than Telebot. Perfect for Pydroid 3
5
+ Author: StyledBots Team
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/styledbots/styledbots
8
+ Project-URL: Documentation, https://github.com/styledbots/styledbots#readme
9
+ Project-URL: Bug Tracker, https://github.com/styledbots/styledbots/issues
10
+ Keywords: telegram,bot,telebot,styledbots,pydroid,telegram-bot
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Communications :: Chat
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Requires-Python: >=3.7
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: requests>=2.28.0
28
+ Dynamic: license-file
29
+
30
+ # StyledBots 🚀
31
+
32
+ **Modern, clean & powerful Telegram Bot library**
33
+ **Better than / equal to Telebot** • Perfect for **Pydroid 3**
34
+
35
+ ---
36
+
37
+ ## Installation
38
+
39
+ ### For everyone (including Pydroid 3):
40
+
41
+ ```bash
42
+ pip install styledbots
43
+ ```
44
+
45
+ That's it!
46
+
47
+ ---
48
+
49
+ ## Quick Start
50
+
51
+ ```python
52
+ from styledbots import Bot, Style, InlineKeyboard
53
+
54
+ bot = Bot("YOUR_BOT_TOKEN")
55
+
56
+ @bot.command("start")
57
+ def start(message):
58
+ kb = InlineKeyboard()
59
+ kb.button("Click me", "btn1")
60
+ kb.button("Google", url="https://google.com")
61
+
62
+ text = f"Hello {Style.bold(message.from_user.first_name)}!"
63
+ bot.reply_to(message, text, reply_markup=kb)
64
+
65
+ @bot.callback_query_handler(func=lambda c: c.data == "btn1")
66
+ def button_handler(call):
67
+ call.answer("You clicked!", show_alert=True)
68
+
69
+ bot.infinity_polling()
70
+ ```
71
+
72
+ ---
73
+
74
+ ## Features
75
+
76
+ - Simple & clean API (Telebot-compatible)
77
+ - Beautiful **Style** helpers (bold, italic, spoiler, code, etc.)
78
+ - Fluent **Inline & Reply Keyboards**
79
+ - Powerful **filters** system
80
+ - Middleware support
81
+ - Simple storage (Memory + File)
82
+ - Lightweight (only `requests`)
83
+ - Fully synchronous → works great on Android / Pydroid 3
84
+ - Type hints & clean structure
85
+
86
+ ---
87
+
88
+ ## Style Helpers
89
+
90
+ ```python
91
+ from styledbots import Style
92
+
93
+ Style.bold("text")
94
+ Style.italic("text")
95
+ Style.underline("text")
96
+ Style.strike("text")
97
+ Style.code("code")
98
+ Style.pre("code block", "python")
99
+ Style.spoiler("hidden")
100
+ Style.link("Click", "https://...")
101
+ Style.mention(user_id, "Name")
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Keyboards
107
+
108
+ ```python
109
+ from styledbots import InlineKeyboard, ReplyKeyboard
110
+
111
+ # Inline
112
+ kb = InlineKeyboard()
113
+ kb.button("Yes", "yes").button("No", "no")
114
+ kb.row()
115
+ kb.button("Cancel", "cancel")
116
+
117
+ # Reply
118
+ rkb = ReplyKeyboard()
119
+ rkb.row("Option 1", "Option 2")
120
+ rkb.row("Back")
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Why StyledBots?
126
+
127
+ | Feature | Telebot | StyledBots |
128
+ |----------------------|-------------|-----------------|
129
+ | Ease of use | Excellent | Excellent |
130
+ | Styling helpers | No | Yes |
131
+ | Fluent keyboards | Manual | Yes |
132
+ | Middleware | Limited | Yes |
133
+ | Storage helpers | No | Yes |
134
+ | Pydroid 3 ready | Yes | Yes |
135
+ | Clean structure | Medium | Excellent |
136
+
137
+ ---
138
+
139
+ ## Links
140
+
141
+ - PyPI: https://pypi.org/project/styledbots/
142
+ - Source: https://github.com/styledbots/styledbots (create your repo)
143
+
144
+ Made with ❤️ for Pydroid 3 users and Telegram bot developers.
@@ -0,0 +1,29 @@
1
+ styledbots/__init__.py,sha256=RVd5ENfds4yByXgKOfO778WEwwNogg8Y6h5BLH6wKdk,876
2
+ styledbots/version.py,sha256=TCnejPMMtBBuhNlqqan0h1VdF1a85uN7SvbGlTI4iMI,122
3
+ styledbots/core/__init__.py,sha256=RH6tzEmcKgDAhFb-uMqgC5V1_hRHmosSC1aQKhFR7kk,96
4
+ styledbots/core/api.py,sha256=Zo0fsF6siWUAlXjfWCkJ9-KWKD3VRFd9K3nYZrvgaJs,5940
5
+ styledbots/core/bot.py,sha256=Ml-QxZuHQ6phvwq3SPaf8rB15txmvsVhFdQ2T2-sN9s,9830
6
+ styledbots/core/exceptions.py,sha256=0xnu2wOJabvhoybveUyHHfn3MfNLZPe3zJtFu_iEBHA,677
7
+ styledbots/core/types.py,sha256=3vpXMWEqaSpIEw-qZuY14S8IxpU5Zp49DBfoK79DYHY,3972
8
+ styledbots/filters/__init__.py,sha256=5-hFpSUrKoGl0ih8xNhYcWZa9NLEhmAnKw-dLo6SOIU,28
9
+ styledbots/filters/filters.py,sha256=eyGgSNnQhCmljxoGdxQb2Df_Sxnm451x4-4Bc6HGPBI,2479
10
+ styledbots/handlers/__init__.py,sha256=ZzCK96alxEoztfES4nmgfLBVqyWbS1SFsBvH3unMyPs,117
11
+ styledbots/keyboards/__init__.py,sha256=-arDfUjjvgbIwWvL4N13TIJrB-M5nX2wJsUilsYqJLE,131
12
+ styledbots/keyboards/builder.py,sha256=tCJwtU7WZgYDrVacZZ8Vbfrew7C8XH6tSlux9KpDtQE,881
13
+ styledbots/keyboards/inline.py,sha256=LuXN7GUIZOgOqdjdYJhgjY9KxURYBQsDBOO9kOMXVng,3421
14
+ styledbots/keyboards/reply.py,sha256=cwV1otHiEEVOxTFmN-BuAJ0OpKRe4qLSeYh41aFZpgM,2441
15
+ styledbots/storage/__init__.py,sha256=UbxLtGKFsK5_oaEy4CGWJ9BXpSYwyXagAOP0SGlmMqw,93
16
+ styledbots/storage/base.py,sha256=PNPjQZZRH588uTQTsP1nfwaVfpVSSPHO2XWtfJt05Do,458
17
+ styledbots/storage/file.py,sha256=4jdIj6TBSn4LoKKLKqA6CdB9fud0n71zhqL54_WdiZY,1236
18
+ styledbots/storage/memory.py,sha256=u1YV5nojg3hCjjHIoM3l3DgG06wciTOfUxtVMNkz2Ng,679
19
+ styledbots/styles/__init__.py,sha256=FQRRS_TYwIOw6BRo4aei3EOyfAUKATtfd7c18dGenfE,105
20
+ styledbots/styles/formatter.py,sha256=xYXYAav0XUS3fJlHH5tkNpz828J_RMU3jswpdAtfCUM,889
21
+ styledbots/styles/style.py,sha256=FC37ciIakEwEPDpBOluEn8eIpth-z6f_vbJ3GwgQU2g,1335
22
+ styledbots/styles/templates.py,sha256=u0Af6nwPfHqbwjW6I-0oOGKqAoqtEWIyFFlwWpGP278,1002
23
+ styledbots/utils/__init__.py,sha256=D0biZ8jluo1RMV6_2qKFfl5vHnXasg1p9gRI9wNMs44,22
24
+ styledbots/utils/helpers.py,sha256=AjGaMEOGctpAmWvsV4mUlXjqvw30y2gxuDMja6pmyAg,674
25
+ styledbots-1.0.0.dist-info/licenses/LICENSE,sha256=hPpBwc4KFeafcOJjOKfSQ9NlFTmP25Shdm0J5Y6TpmE,1071
26
+ styledbots-1.0.0.dist-info/METADATA,sha256=6YbsLZLG6LESGc3Xvkv8mQ0PnRxH7mce0MrvdGeGFzo,3748
27
+ styledbots-1.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
28
+ styledbots-1.0.0.dist-info/top_level.txt,sha256=gWeQiCEaj2CG6GwzljF6Vx8yBcdsFSV5Z3IaQkeK-vk,11
29
+ styledbots-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 StyledBots Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ styledbots