github-bot-api 0.6.0__tar.gz → 0.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.
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/PKG-INFO +9 -12
- github_bot_api-0.7.0/pyproject.toml +69 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/__init__.py +1 -1
- github_bot_api-0.6.0/pyproject.toml +0 -82
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/LICENSE +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/README.md +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/app.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/app_test.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/event.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/flask.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/py.typed +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/signature.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/tests/test_import.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/token.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/utils/__init__.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/utils/functions.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/utils/mime.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/utils/types.py +0 -0
- {github_bot_api-0.6.0 → github_bot_api-0.7.0}/src/github_bot_api/webhook.py +0 -0
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: github-bot-api
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: API for creating GitHub bots and webhooks in Python.
|
|
5
|
+
Author-Email: Niklas Rosenstein <rosensteinniklas@gmail.com>
|
|
5
6
|
License: MIT
|
|
6
|
-
Author: Niklas Rosenstein
|
|
7
|
-
Author-email: rosensteinniklas@gmail.com
|
|
8
|
-
Requires-Python: >=3.8,<4.0
|
|
9
7
|
Classifier: Intended Audience :: Developers
|
|
10
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
9
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
10
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
|
|
18
|
-
Requires-Dist: PyJWT (>=2.6.0,<3.0.0)
|
|
19
|
-
Requires-Dist: cryptography (>=42.0.5,<43.0.0)
|
|
20
|
-
Requires-Dist: flask
|
|
21
|
-
Requires-Dist: requests (>=2.28.2,<3.0.0)
|
|
22
|
-
Requires-Dist: urllib3 (>=1.26.15,<2.0.0)
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
15
|
Project-URL: Bug Tracker, https://github.com/NiklasRosenstein/python-github-bot-api/issues
|
|
24
16
|
Project-URL: Documentation, https://niklasrosenstein.github.io/python-github-bot-api/
|
|
25
17
|
Project-URL: Repository, https://github.com/NiklasRosenstein/python-github-bot-api
|
|
18
|
+
Requires-Python: <4.0,>=3.9
|
|
19
|
+
Requires-Dist: cryptography<44.0.1,>=44.0.0
|
|
20
|
+
Requires-Dist: pygithub>=2.5.0
|
|
21
|
+
Requires-Dist: PyJWT<3.0.0,>=2.6.0
|
|
22
|
+
Requires-Dist: requests<3.0.0,>=2.28.2
|
|
23
|
+
Requires-Dist: urllib3<2.4.0,>=2.3.0
|
|
26
24
|
Description-Content-Type: text/markdown
|
|
27
25
|
|
|
28
26
|
<p align="center"><img src="https://i.imgur.com/5SiDsz8.png"></p>
|
|
@@ -49,4 +47,3 @@ client: Github = app.installation_client(12345)
|
|
|
49
47
|
```
|
|
50
48
|
|
|
51
49
|
For more examples, check out the [documentation](https://niklasrosenstein.github.io/python-github-bot-api/).
|
|
52
|
-
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"pdm-backend",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "pdm.backend"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "Niklas Rosenstein", email = "rosensteinniklas@gmail.com" },
|
|
10
|
+
]
|
|
11
|
+
requires-python = "<4.0,>=3.9"
|
|
12
|
+
dependencies = [
|
|
13
|
+
"cryptography<44.0.1,>=44.0.0",
|
|
14
|
+
"pygithub>=2.5.0",
|
|
15
|
+
"PyJWT<3.0.0,>=2.6.0",
|
|
16
|
+
"requests<3.0.0,>=2.28.2",
|
|
17
|
+
"urllib3<2.4.0,>=2.3.0",
|
|
18
|
+
]
|
|
19
|
+
name = "github-bot-api"
|
|
20
|
+
version = "0.7.0"
|
|
21
|
+
description = "API for creating GitHub bots and webhooks in Python."
|
|
22
|
+
readme = "README.md"
|
|
23
|
+
classifiers = [
|
|
24
|
+
"Intended Audience :: Developers",
|
|
25
|
+
"License :: OSI Approved :: MIT License",
|
|
26
|
+
"Programming Language :: Python :: 3",
|
|
27
|
+
"Programming Language :: Python :: 3.9",
|
|
28
|
+
"Programming Language :: Python :: 3.10",
|
|
29
|
+
"Programming Language :: Python :: 3.11",
|
|
30
|
+
"Programming Language :: Python :: 3.12",
|
|
31
|
+
"Programming Language :: Python :: 3.13",
|
|
32
|
+
]
|
|
33
|
+
keywords = []
|
|
34
|
+
|
|
35
|
+
[project.license]
|
|
36
|
+
text = "MIT"
|
|
37
|
+
|
|
38
|
+
[project.urls]
|
|
39
|
+
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-github-bot-api/issues"
|
|
40
|
+
Documentation = "https://niklasrosenstein.github.io/python-github-bot-api/"
|
|
41
|
+
Repository = "https://github.com/NiklasRosenstein/python-github-bot-api"
|
|
42
|
+
|
|
43
|
+
[tool.mypy]
|
|
44
|
+
python_version = "3.8"
|
|
45
|
+
explicit_package_bases = true
|
|
46
|
+
mypy_path = [
|
|
47
|
+
"src",
|
|
48
|
+
]
|
|
49
|
+
namespace_packages = true
|
|
50
|
+
pretty = true
|
|
51
|
+
show_error_codes = true
|
|
52
|
+
show_error_context = true
|
|
53
|
+
warn_no_return = true
|
|
54
|
+
warn_redundant_casts = true
|
|
55
|
+
warn_unreachable = true
|
|
56
|
+
warn_unused_ignores = true
|
|
57
|
+
check_untyped_defs = true
|
|
58
|
+
|
|
59
|
+
[tool.ruff]
|
|
60
|
+
line-length = 120
|
|
61
|
+
|
|
62
|
+
[tool.uv]
|
|
63
|
+
dev-dependencies = [
|
|
64
|
+
"mypy",
|
|
65
|
+
"pytest",
|
|
66
|
+
"ruff>=0.8.5",
|
|
67
|
+
"types-flask",
|
|
68
|
+
"types-requests",
|
|
69
|
+
]
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["poetry-core"]
|
|
3
|
-
build-backend = "poetry.core.masonry.api"
|
|
4
|
-
|
|
5
|
-
[tool.poetry]
|
|
6
|
-
name = "github-bot-api"
|
|
7
|
-
version = "0.6.0"
|
|
8
|
-
description = "API for creating GitHub bots and webhooks in Python."
|
|
9
|
-
authors = ["Niklas Rosenstein <rosensteinniklas@gmail.com>"]
|
|
10
|
-
license = "MIT"
|
|
11
|
-
readme = "README.md"
|
|
12
|
-
packages = [{ include = "github_bot_api", from = "src" }]
|
|
13
|
-
classifiers = [
|
|
14
|
-
"Intended Audience :: Developers",
|
|
15
|
-
"License :: OSI Approved :: MIT License",
|
|
16
|
-
"Programming Language :: Python :: 3",
|
|
17
|
-
"Programming Language :: Python :: 3.8",
|
|
18
|
-
"Programming Language :: Python :: 3.9",
|
|
19
|
-
"Programming Language :: Python :: 3.10",
|
|
20
|
-
"Programming Language :: Python :: 3.11"
|
|
21
|
-
]
|
|
22
|
-
keywords = []
|
|
23
|
-
|
|
24
|
-
[tool.poetry.urls]
|
|
25
|
-
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-github-bot-api/issues"
|
|
26
|
-
Documentation = "https://niklasrosenstein.github.io/python-github-bot-api/"
|
|
27
|
-
Repository = "https://github.com/NiklasRosenstein/python-github-bot-api"
|
|
28
|
-
|
|
29
|
-
[tool.poetry.dependencies]
|
|
30
|
-
python = "^3.8"
|
|
31
|
-
cryptography = "^42.0.5"
|
|
32
|
-
flask = { version = "*", optional = true }
|
|
33
|
-
PyGithub = { version = "^1.58", optional = true }
|
|
34
|
-
PyJWT = "^2.6.0"
|
|
35
|
-
requests = "^2.28.2"
|
|
36
|
-
urllib3 = "^1.26.15"
|
|
37
|
-
|
|
38
|
-
[tool.poetry.dev-dependencies]
|
|
39
|
-
black = "*"
|
|
40
|
-
flake8 = "*"
|
|
41
|
-
isort = "*"
|
|
42
|
-
mypy = "*"
|
|
43
|
-
pytest = "*"
|
|
44
|
-
types-flask = "*"
|
|
45
|
-
types-requests = "*"
|
|
46
|
-
|
|
47
|
-
[tool.slap]
|
|
48
|
-
typed = true
|
|
49
|
-
|
|
50
|
-
[tool.slap.test]
|
|
51
|
-
check = "slap check"
|
|
52
|
-
mypy = "dmypy run src"
|
|
53
|
-
pytest = "pytest -vv"
|
|
54
|
-
black = "black --check src"
|
|
55
|
-
isort = "isort --check-only src"
|
|
56
|
-
flake8 = "flake8 src"
|
|
57
|
-
|
|
58
|
-
[tool.slap.run]
|
|
59
|
-
fmt = "black src && isort src"
|
|
60
|
-
|
|
61
|
-
[tool.mypy]
|
|
62
|
-
python_version = "3.8"
|
|
63
|
-
explicit_package_bases = true
|
|
64
|
-
mypy_path = ["src"]
|
|
65
|
-
namespace_packages = true
|
|
66
|
-
pretty = true
|
|
67
|
-
show_error_codes = true
|
|
68
|
-
show_error_context = true
|
|
69
|
-
# strict = true
|
|
70
|
-
warn_no_return = true
|
|
71
|
-
warn_redundant_casts = true
|
|
72
|
-
warn_unreachable = true
|
|
73
|
-
warn_unused_ignores = true
|
|
74
|
-
check_untyped_defs = true
|
|
75
|
-
|
|
76
|
-
[tool.isort]
|
|
77
|
-
profile = "black"
|
|
78
|
-
line_length = 120
|
|
79
|
-
combine_as_imports = true
|
|
80
|
-
|
|
81
|
-
[tool.black]
|
|
82
|
-
line-length = 120
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|