PyRubikaBotAPI 0.0.1__tar.gz

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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alireza Sadeghian
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,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: PyRubikaBotAPI
3
+ Version: 0.0.1
4
+ Summary: A Python library to send messages and files via Eitaa API
5
+ Home-page: https://github.com/alireza-sadeghian/EitaaSender
6
+ Author: Alireza Sadeghian
7
+ Author-email: alireza.amid110@gmail.com
8
+ License: MIT
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.10
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENCE
15
+ Requires-Dist: requests
16
+
17
+ # PyRubikaBotAPI
18
+
19
+ یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون
20
+
21
+ ## نصب
22
+ ```bash
23
+ pip install PyRubikaBotAPI
24
+
25
+ ```
26
+
27
+ ## مثال ساده
28
+
29
+ ```python
30
+ from rubibot import RubiBot
31
+
32
+ bot = RubiBot("YOUR_TOKEN")
33
+
34
+ @bot.message_handler(commands=["start"])
35
+ def start(message):
36
+ bot.send_message(message.chat_id, "سلام! خوش آمدید!")
37
+
38
+ bot.polling()
39
+ ```
40
+
41
+ ## مثال پیشرفته تر
42
+ ```py
43
+ @bot.message_handler(content_types=['file'])
44
+ def handle(msg):
45
+ file_id = msg.file.id
46
+ file_url = bot.get_file(file_id)
47
+ file = bot.download_file(file_url)
48
+ with open('file.format', 'wb') as f
49
+ f.write(file)
50
+ # استفاده از فایل ارسالی
51
+ ```
52
+
53
+ ## مستندات:
54
+
55
+ Rubika: https://rubika.ir/pyrubikabotapi
56
+ GitHub: https://github.com/alireza-sadeghian/PyRubikaBotAPI
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: PyRubikaBotAPI
3
+ Version: 0.0.1
4
+ Summary: A Python library to send messages and files via Eitaa API
5
+ Home-page: https://github.com/alireza-sadeghian/EitaaSender
6
+ Author: Alireza Sadeghian
7
+ Author-email: alireza.amid110@gmail.com
8
+ License: MIT
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.10
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENCE
15
+ Requires-Dist: requests
16
+
17
+ # PyRubikaBotAPI
18
+
19
+ یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون
20
+
21
+ ## نصب
22
+ ```bash
23
+ pip install PyRubikaBotAPI
24
+
25
+ ```
26
+
27
+ ## مثال ساده
28
+
29
+ ```python
30
+ from rubibot import RubiBot
31
+
32
+ bot = RubiBot("YOUR_TOKEN")
33
+
34
+ @bot.message_handler(commands=["start"])
35
+ def start(message):
36
+ bot.send_message(message.chat_id, "سلام! خوش آمدید!")
37
+
38
+ bot.polling()
39
+ ```
40
+
41
+ ## مثال پیشرفته تر
42
+ ```py
43
+ @bot.message_handler(content_types=['file'])
44
+ def handle(msg):
45
+ file_id = msg.file.id
46
+ file_url = bot.get_file(file_id)
47
+ file = bot.download_file(file_url)
48
+ with open('file.format', 'wb') as f
49
+ f.write(file)
50
+ # استفاده از فایل ارسالی
51
+ ```
52
+
53
+ ## مستندات:
54
+
55
+ Rubika: https://rubika.ir/pyrubikabotapi
56
+ GitHub: https://github.com/alireza-sadeghian/PyRubikaBotAPI
@@ -0,0 +1,12 @@
1
+ LICENCE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ PyRubikaBotAPI.egg-info/PKG-INFO
6
+ PyRubikaBotAPI.egg-info/SOURCES.txt
7
+ PyRubikaBotAPI.egg-info/dependency_links.txt
8
+ PyRubikaBotAPI.egg-info/requires.txt
9
+ PyRubikaBotAPI.egg-info/top_level.txt
10
+ rubibot/__init__.py
11
+ rubibot/helper.py
12
+ rubibot/types.py
@@ -0,0 +1,40 @@
1
+ # PyRubikaBotAPI
2
+
3
+ یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون
4
+
5
+ ## نصب
6
+ ```bash
7
+ pip install PyRubikaBotAPI
8
+
9
+ ```
10
+
11
+ ## مثال ساده
12
+
13
+ ```python
14
+ from rubibot import RubiBot
15
+
16
+ bot = RubiBot("YOUR_TOKEN")
17
+
18
+ @bot.message_handler(commands=["start"])
19
+ def start(message):
20
+ bot.send_message(message.chat_id, "سلام! خوش آمدید!")
21
+
22
+ bot.polling()
23
+ ```
24
+
25
+ ## مثال پیشرفته تر
26
+ ```py
27
+ @bot.message_handler(content_types=['file'])
28
+ def handle(msg):
29
+ file_id = msg.file.id
30
+ file_url = bot.get_file(file_id)
31
+ file = bot.download_file(file_url)
32
+ with open('file.format', 'wb') as f
33
+ f.write(file)
34
+ # استفاده از فایل ارسالی
35
+ ```
36
+
37
+ ## مستندات:
38
+
39
+ Rubika: https://rubika.ir/pyrubikabotapi
40
+ GitHub: https://github.com/alireza-sadeghian/PyRubikaBotAPI
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"