RubigramClient 1.4.9__tar.gz → 1.5.0__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.
Potentially problematic release.
This version of RubigramClient might be problematic. Click here for more details.
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/PKG-INFO +1 -1
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/RubigramClient.egg-info/PKG-INFO +1 -1
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/pyproject.toml +1 -1
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/client.py +7 -1
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/LICENSE +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/README.md +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/RubigramClient.egg-info/SOURCES.txt +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/RubigramClient.egg-info/dependency_links.txt +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/RubigramClient.egg-info/requires.txt +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/RubigramClient.egg-info/top_level.txt +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/__init__.py +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/filters.py +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/method.py +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/network.py +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/rubigram/types.py +0 -0
- {rubigramclient-1.4.9 → rubigramclient-1.5.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
|
|
5
5
|
Author-email: Javad RZ <Javad.Py1385@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
|
|
5
5
|
Author-email: Javad RZ <Javad.Py1385@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "RubigramClient"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.5.0"
|
|
4
4
|
description = "A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.7"
|
|
@@ -109,9 +109,15 @@ class Client(Method):
|
|
|
109
109
|
app = web.Application()
|
|
110
110
|
app.add_routes(self.routes)
|
|
111
111
|
|
|
112
|
-
async def on_startup(
|
|
112
|
+
async def on_startup(app):
|
|
113
113
|
await self.set_endpoints()
|
|
114
|
+
await self.start()
|
|
115
|
+
|
|
116
|
+
async def on_cleanup(app):
|
|
117
|
+
await self.stop()
|
|
118
|
+
|
|
114
119
|
app.on_startup.append(on_startup)
|
|
120
|
+
app.on_cleanup.append(on_cleanup)
|
|
115
121
|
web.run_app(app, host=self.host, port=self.port)
|
|
116
122
|
|
|
117
123
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|