some tools for working with GitHub
Project description
Githubtoolkit
Usage
Uploading a file
You can upload a file using
githubtoolkit.upload_file_to_github(file, repo, token, branch, alias, comment)
, where
Required
file
specifies the path to the file you want to load uprepo
specifies the repository you want to upload totoken
is your login methodNot required
branch
specifies the branch uploaded to (standard: "main"
)alias
specifies the path the file is uploaded in (standard: file
)comment
adds a comment to your changes (standard: "Update "+filename_
)Other methods
Also, you can call the main()
method to get a uploading agent.
The about()
method returns information about your specific release.
More coming soon...
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
githubtoolkit-1.0.1.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file githubtoolkit-1.0.1.tar.gz
.
File metadata
- Download URL: githubtoolkit-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003143ccb3b6cf8e468134d1e6a4950af9118737ca22b54ccec695d5aa63516f |
|
MD5 | 3d5ccc7c3d73f6ac9b6c8e93bdffd072 |
|
BLAKE2b-256 | 57ac206521ae294911f3dd3f2f4ce855535a5cea5c10e90596338f6c3c9c57ac |
File details
Details for the file githubtoolkit-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: githubtoolkit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59483a447cca416c5011359fa8efdba0afc1c612ac37b62eb8b0be32f665e73d |
|
MD5 | 1468907bb39f76cec40f6a41963193fb |
|
BLAKE2b-256 | 4ceb6606498f289cbe2003fcfa87dcd4f9cca62f2a759109aa65afbb965e3256 |