Skip to main content

pyGitConnect

Python module for more convenient work with GitHub.

Downloads Downloads Downloads Supported Versions PyPI PyPi GitHub top language GitHub last commit
GitHub Release Date

GitHub Repo stars

Example of use

import pyGitConnect

# Creating User-object
userGitHub = pyGitConnect.User(
    token="YOUR_TOKEN",
    username="YOUR_USERNAME_ON_GITHUB",
    email="YOUR_EMAIL_ON_GITHUB"
)

# conneting to file on GitHub
file = pyGitConnect.File(userGitHub, "repositoryName/branchName/path/to/your/file.txt")
# getting readable text from file on GitHub
print(file.get().decode("UTF-8"))

# reading file from your drive
newFile = pyGitConnect.NewFile(userGitHub, "B:\\GITHUB\\path\\to\\script.py")
# pushing new file to your repository on GitHub
print(newFile.push("repositoryName/branchName/path/to/your/script/"))

# connecting to uploaded file
uploadedFile = pyGitConnect.File(userGitHub, "repositoryName/branchName/path/to/your/script/script.py")
# printing readable content from uploaded file
print(uploadedFile.get().decode("UTF-8"))

Metadata

Release files for pygitconnect 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygitconnect 0.1.2
File Size Uploaded Provenance Actions
pyGitConnect-0.1.2.tar.gz 4.2 kB Without provenance Details for pyGitConnect-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygitconnect 0.1.2
File Interpreter ABI Platform Actions
pyGitConnect-0.1.2-py3-none-any.whl Python 3 none any Details for pyGitConnect-0.1.2-py3-none-any.whl

Total release size: 8.5 kB

Release files / pyGitConnect-0.1.2.tar.gz

Download URL pyGitConnect-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1a5ce345d5d99d8b1ff5afb46a155ffc1585fcdd04ca66633a0e817781686094
BLAKE2b-256 checksum
How to use checksums
3c89e12acd795953d0787015f68c49499c5da0e46f45e233cd361e697e081139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.10.5 Windows/10

Release files / pyGitConnect-0.1.2-py3-none-any.whl

Download URL pyGitConnect-0.1.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c02b04aaf567e3fd12bb0da5c100f59f1afd614b5ae78765bac2f95a1c19089c
BLAKE2b-256 checksum
How to use checksums
8eccef7a29a28392db98e55dd3cd39ce7e4e3bc83cc0ab15801f4a831f89e3b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.10.5 Windows/10

Security for pygitconnect 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page