bauson 1.7.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.
- bauson-1.7.0/PKG-INFO +56 -0
- bauson-1.7.0/README.md +27 -0
- bauson-1.7.0/pyproject.toml +47 -0
- bauson-1.7.0/setup.cfg +4 -0
- bauson-1.7.0/src/bauson/__init__.py +8 -0
- bauson-1.7.0/src/bauson/bot.py +1746 -0
- bauson-1.7.0/src/bauson/enums.py +18 -0
- bauson-1.7.0/src/bauson/errors.py +127 -0
- bauson-1.7.0/src/bauson/filters.py +631 -0
- bauson-1.7.0/src/bauson/keyboards.py +302 -0
- bauson-1.7.0/src/bauson/limiter.py +92 -0
- bauson-1.7.0/src/bauson/models.py +1328 -0
- bauson-1.7.0/src/bauson/state.py +105 -0
- bauson-1.7.0/src/bauson.egg-info/PKG-INFO +56 -0
- bauson-1.7.0/src/bauson.egg-info/SOURCES.txt +16 -0
- bauson-1.7.0/src/bauson.egg-info/dependency_links.txt +1 -0
- bauson-1.7.0/src/bauson.egg-info/requires.txt +3 -0
- bauson-1.7.0/src/bauson.egg-info/top_level.txt +1 -0
bauson-1.7.0/PKG-INFO
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bauson
|
|
3
|
+
Version: 1.7.0
|
|
4
|
+
Summary: An asynchronous Python library for building bots for the Bale messenger.
|
|
5
|
+
Author-email: SAUMS <BausonSupport@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/saums-1391/balthon
|
|
8
|
+
Project-URL: Repository, https://github.com/saums-1391/bauson
|
|
9
|
+
Project-URL: Issues, https://github.com/saums-1391/bauson/issues
|
|
10
|
+
Keywords: bale,bale-messenger,bot,bot-api,async,asyncio
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Framework :: AsyncIO
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
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.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
Requires-Dist: httpx>=0.24.0
|
|
27
|
+
Requires-Dist: fastapi>=0.100.0
|
|
28
|
+
Requires-Dist: uvicorn>=0.23.0
|
|
29
|
+
|
|
30
|
+
# **Balthon**
|
|
31
|
+
|
|
32
|
+
An asynchronous Python library for building bots on the Bale messenger.
|
|
33
|
+
|
|
34
|
+
## Quick Start
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from balthon import BotClient
|
|
38
|
+
|
|
39
|
+
bot = BotClient("TOKEN")
|
|
40
|
+
|
|
41
|
+
@bot.on_update()
|
|
42
|
+
async def main(update):
|
|
43
|
+
await bot.send_message("Hello World")
|
|
44
|
+
|
|
45
|
+
bot.run()
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## [Documentions](https://balthon.readthedocs.io/)
|
|
49
|
+
|
|
50
|
+
## [Support](mailto:BalthonSupport@gmail.com)
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install balthon
|
|
56
|
+
```
|
bauson-1.7.0/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# **Balthon**
|
|
2
|
+
|
|
3
|
+
An asynchronous Python library for building bots on the Bale messenger.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```python
|
|
8
|
+
from balthon import BotClient
|
|
9
|
+
|
|
10
|
+
bot = BotClient("TOKEN")
|
|
11
|
+
|
|
12
|
+
@bot.on_update()
|
|
13
|
+
async def main(update):
|
|
14
|
+
await bot.send_message("Hello World")
|
|
15
|
+
|
|
16
|
+
bot.run()
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## [Documentions](https://balthon.readthedocs.io/)
|
|
20
|
+
|
|
21
|
+
## [Support](mailto:BalthonSupport@gmail.com)
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install balthon
|
|
27
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "bauson"
|
|
7
|
+
version = '1.7.0'
|
|
8
|
+
description = "An asynchronous Python library for building bots for the Bale messenger."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "SAUMS", email = "BausonSupport@gmail.com" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["bale", "bale-messenger", "bot", "bot-api", "async", "asyncio"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Framework :: AsyncIO",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Topic :: Communications :: Chat",
|
|
29
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
30
|
+
]
|
|
31
|
+
dependencies = [
|
|
32
|
+
"httpx>=0.24.0",
|
|
33
|
+
"fastapi>=0.100.0",
|
|
34
|
+
"uvicorn>=0.23.0",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[project.urls]
|
|
38
|
+
Homepage = "https://github.com/saums-1391/balthon"
|
|
39
|
+
Repository = "https://github.com/saums-1391/bauson"
|
|
40
|
+
Issues = "https://github.com/saums-1391/bauson/issues"
|
|
41
|
+
|
|
42
|
+
[tool.setuptools]
|
|
43
|
+
include-package-data = true
|
|
44
|
+
|
|
45
|
+
[tool.setuptools.packages.find]
|
|
46
|
+
where = ["src"]
|
|
47
|
+
include = ["bauson*"]
|
bauson-1.7.0/setup.cfg
ADDED