swarmauri_toolkit_github 0.7.0.dev11__tar.gz → 0.7.1.dev1__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.
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/PKG-INFO +15 -10
- swarmauri_toolkit_github-0.7.1.dev1/README.md +66 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/pyproject.toml +3 -3
- swarmauri_toolkit_github-0.7.0.dev11/README.md +0 -61
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/LICENSE +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubBranchTool.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubCommitTool.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubIssueTool.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubPRTool.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubRepoTool.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/GithubToolkit.py +0 -0
- {swarmauri_toolkit_github-0.7.0.dev11 → swarmauri_toolkit_github-0.7.1.dev1}/swarmauri_toolkit_github/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_toolkit_github
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1.dev1
|
|
4
4
|
Summary: Github Toolkit
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Jacob Stewart
|
|
@@ -16,20 +16,25 @@ Requires-Dist: swarmauri_core
|
|
|
16
16
|
Requires-Dist: swarmauri_standard
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
|
-

|
|
20
19
|
|
|
21
|
-
|
|
20
|
+

|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
24
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_toolkit_github" alt="PyPI - Downloads"/></a>
|
|
25
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_toolkit_github/README.md">
|
|
26
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_toolkit_github/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
27
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
28
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_toolkit_github" alt="PyPI - Python Version"/></a>
|
|
29
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
30
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_toolkit_github" alt="PyPI - License"/></a>
|
|
31
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
32
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_toolkit_github?label=swarmauri_toolkit_github&color=green" alt="PyPI - swarmauri_toolkit_github"/></a>
|
|
33
|
+
</p>
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|
|
32
|
-
#
|
|
37
|
+
# Swarmauri Toolkit Github
|
|
33
38
|
|
|
34
39
|
A collection of GitHub tools for repository, issue, pull request, branch, and commit management using PyGithub.
|
|
35
40
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
6
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_toolkit_github" alt="PyPI - Downloads"/></a>
|
|
7
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_toolkit_github/README.md">
|
|
8
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_toolkit_github/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
9
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
10
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_toolkit_github" alt="PyPI - Python Version"/></a>
|
|
11
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
12
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_toolkit_github" alt="PyPI - License"/></a>
|
|
13
|
+
<a href="https://pypi.org/project/swarmauri_toolkit_github/">
|
|
14
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_toolkit_github?label=swarmauri_toolkit_github&color=green" alt="PyPI - swarmauri_toolkit_github"/></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Swarmauri Toolkit Github
|
|
20
|
+
|
|
21
|
+
A collection of GitHub tools for repository, issue, pull request, branch, and commit management using PyGithub.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install swarmauri_toolkit_github
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
Here's a basic example using the GitHub toolkit:
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from swarmauri.toolkits.GithubToolkit import GithubToolkit
|
|
35
|
+
|
|
36
|
+
# Initialize the toolkit with your GitHub token
|
|
37
|
+
toolkit = GithubToolkit(token="your_github_token")
|
|
38
|
+
|
|
39
|
+
# Create a repository
|
|
40
|
+
result = toolkit.github_repo_tool(
|
|
41
|
+
action="create_repo",
|
|
42
|
+
repo_name="my-new-repo"
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
# Create an issue
|
|
46
|
+
result = toolkit.github_issue_tool(
|
|
47
|
+
action="create_issue",
|
|
48
|
+
repo_name="owner/repository",
|
|
49
|
+
title="Bug Report",
|
|
50
|
+
body="Description of the issue"
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
# Create a pull request
|
|
54
|
+
result = toolkit.github_pr_tool(
|
|
55
|
+
action="create_pull",
|
|
56
|
+
repo_name="owner/repository",
|
|
57
|
+
title="New Feature",
|
|
58
|
+
head="feature-branch",
|
|
59
|
+
base="main"
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Want to help?
|
|
64
|
+
|
|
65
|
+
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
66
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_toolkit_github"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1.dev1"
|
|
4
4
|
description = "Github Toolkit"
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
@@ -44,14 +44,14 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
|
44
44
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
45
45
|
asyncio_default_fixture_loop_scope = "function"
|
|
46
46
|
|
|
47
|
-
[
|
|
47
|
+
[project.entry-points.'swarmauri.tools']
|
|
48
48
|
GithubBranchTool = "swarmauri_toolkit_github.GithubBranchTool:GithubBranchTool"
|
|
49
49
|
GithubCommitTool = "swarmauri_toolkit_github.GithubCommitTool:GithubCommitTool"
|
|
50
50
|
GithubIssueTool = "swarmauri_toolkit_github.GithubIssueTool:GithubIssueTool"
|
|
51
51
|
GithubPRTool = "swarmauri_toolkit_github.GithubPRTool:GithubPRTool"
|
|
52
52
|
GithubRepoTool = "swarmauri_toolkit_github.GithubRepoTool:GithubRepoTool"
|
|
53
53
|
|
|
54
|
-
[
|
|
54
|
+
[project.entry-points.'swarmauri.toolkits']
|
|
55
55
|
GithubToolkit = "swarmauri_toolkit_github.GithubToolkit:GithubToolkit"
|
|
56
56
|
|
|
57
57
|
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# GitHub Tools Package
|
|
15
|
-
|
|
16
|
-
A collection of GitHub tools for repository, issue, pull request, branch, and commit management using PyGithub.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install swarmauri_toolkit_github
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
Here's a basic example using the GitHub toolkit:
|
|
27
|
-
|
|
28
|
-
```python
|
|
29
|
-
from swarmauri.toolkits.GithubToolkit import GithubToolkit
|
|
30
|
-
|
|
31
|
-
# Initialize the toolkit with your GitHub token
|
|
32
|
-
toolkit = GithubToolkit(token="your_github_token")
|
|
33
|
-
|
|
34
|
-
# Create a repository
|
|
35
|
-
result = toolkit.github_repo_tool(
|
|
36
|
-
action="create_repo",
|
|
37
|
-
repo_name="my-new-repo"
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
# Create an issue
|
|
41
|
-
result = toolkit.github_issue_tool(
|
|
42
|
-
action="create_issue",
|
|
43
|
-
repo_name="owner/repository",
|
|
44
|
-
title="Bug Report",
|
|
45
|
-
body="Description of the issue"
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
# Create a pull request
|
|
49
|
-
result = toolkit.github_pr_tool(
|
|
50
|
-
action="create_pull",
|
|
51
|
-
repo_name="owner/repository",
|
|
52
|
-
title="New Feature",
|
|
53
|
-
head="feature-branch",
|
|
54
|
-
base="main"
|
|
55
|
-
)
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Want to help?
|
|
59
|
-
|
|
60
|
-
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
61
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|