Github Toolkit
Project description
Swarmauri Toolkit Github
A collection of GitHub tools for repository, issue, pull request, branch, and commit management using PyGithub.
Installation
pip install swarmauri_toolkit_github
Usage
Here's a basic example using the GitHub toolkit:
from swarmauri.toolkits.GithubToolkit import GithubToolkit
# Initialize the toolkit with your GitHub token
toolkit = GithubToolkit(token="your_github_token")
# Create a repository
result = toolkit.github_repo_tool(
action="create_repo",
repo_name="my-new-repo"
)
# Create an issue
result = toolkit.github_issue_tool(
action="create_issue",
repo_name="owner/repository",
title="Bug Report",
body="Description of the issue"
)
# Create a pull request
result = toolkit.github_pr_tool(
action="create_pull",
repo_name="owner/repository",
title="New Feature",
head="feature-branch",
base="main"
)
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_toolkit_github-0.7.2.tar.gz.
File metadata
- Download URL: swarmauri_toolkit_github-0.7.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77957eb7ca1def368b4949176f63ab26396ff043eb57a1294d16bacdbde13082
|
|
| MD5 |
3782fec6fdb71d23766a5fbbc8358012
|
|
| BLAKE2b-256 |
f777e576256820af08f7cd4aa7785b05f1dbd8095c6970185cf282da787c9ea9
|
File details
Details for the file swarmauri_toolkit_github-0.7.2-py3-none-any.whl.
File metadata
- Download URL: swarmauri_toolkit_github-0.7.2-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5921d1e15490dff5c47d5e1d98b898dd875a7b33000cf468d019c92f01d682d2
|
|
| MD5 |
c93da904986dcaf26442c4ba67a2577e
|
|
| BLAKE2b-256 |
0c26b5c451dadcce4b7dc04226082587ee0239a955a71598af12ad0e1bb659f3
|