PyRubikaBotAPI 0.0.1__tar.gz → 1.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.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
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
3
+ Version: 1.0.1
4
+ Summary: A Python library with a simple and familiar interface for working with the official Rubika bot API
5
+ Home-page: https://github.com/alireza-sadeghian/PyRubikaBotAPI
6
6
  Author: Alireza Sadeghian
7
7
  Author-email: alireza.amid110@gmail.com
8
8
  License: MIT
@@ -16,7 +16,7 @@ Requires-Dist: requests
16
16
 
17
17
  # PyRubikaBotAPI
18
18
 
19
- یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون
19
+ کتابخانه قدرتمند و آشنا برای ساخت ربات های تخصصی روبیکا
20
20
 
21
21
  ## نصب
22
22
  ```bash
@@ -38,17 +38,8 @@ def start(message):
38
38
  bot.polling()
39
39
  ```
40
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
- ```
41
+ برای استفاده دقیقتر حتما مستندات رو مطالعه بفرمایید و یا برای دریافت سورس کد ها
42
+ و مثال ها به کانال روبیکای ما سر بزنید
52
43
 
53
44
  ## مستندات:
54
45
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
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
3
+ Version: 1.0.1
4
+ Summary: A Python library with a simple and familiar interface for working with the official Rubika bot API
5
+ Home-page: https://github.com/alireza-sadeghian/PyRubikaBotAPI
6
6
  Author: Alireza Sadeghian
7
7
  Author-email: alireza.amid110@gmail.com
8
8
  License: MIT
@@ -16,7 +16,7 @@ Requires-Dist: requests
16
16
 
17
17
  # PyRubikaBotAPI
18
18
 
19
- یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون
19
+ کتابخانه قدرتمند و آشنا برای ساخت ربات های تخصصی روبیکا
20
20
 
21
21
  ## نصب
22
22
  ```bash
@@ -38,17 +38,8 @@ def start(message):
38
38
  bot.polling()
39
39
  ```
40
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
- ```
41
+ برای استفاده دقیقتر حتما مستندات رو مطالعه بفرمایید و یا برای دریافت سورس کد ها
42
+ و مثال ها به کانال روبیکای ما سر بزنید
52
43
 
53
44
  ## مستندات:
54
45
 
@@ -8,5 +8,9 @@ PyRubikaBotAPI.egg-info/dependency_links.txt
8
8
  PyRubikaBotAPI.egg-info/requires.txt
9
9
  PyRubikaBotAPI.egg-info/top_level.txt
10
10
  rubibot/__init__.py
11
- rubibot/helper.py
12
- rubibot/types.py
11
+ rubibot/exceptions.py
12
+ rubibot/metadata.py
13
+ rubibot/parse.py
14
+ rubibot/rubika_api.py
15
+ rubibot/types.py
16
+ rubibot/updates.py
@@ -0,0 +1,31 @@
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
+ و مثال ها به کانال روبیکای ما سر بزنید
27
+
28
+ ## مستندات:
29
+
30
+ Rubika: https://rubika.ir/pyrubikabotapi
31
+ GitHub: https://github.com/alireza-sadeghian/PyRubikaBotAPI