A simple tool to upload files to GitHub repositories
Project description
EZGitUp
A simple command-line tool to upload files to GitHub repositories.
Installation
pip install ezgitup
Features
- Upload single or multiple files to GitHub repositories
- Support for wildcard patterns (e.g.,
*.json,test_*.py) - Flexible repository specification:
- Command-line option (
--repo/-r) - Simple owner/repo format
- GitHub SSH URLs
- GitHub HTTPS URLs
- Command-line option (
- Target directory support (
--dir/-d) - UUID support for unique filenames (
--uuid/-u) - Environment variable configuration
- Interactive mode for user input
- Progress tracking for multiple file uploads
- Version checking
Configuration
Environment Variables
GITHUB_TOKEN: Your GitHub personal access tokenEZGITUP_DEPO: Default repository (format: owner/repo or full URL)
Command-line Usage
# Basic usage
ezgitup file.txt
# Upload multiple files
ezgitup file1.txt file2.txt
# Use wildcards
ezgitup *.txt
# Specify repository
ezgitup -r owner/repo file.txt
# or
ezgitup --repo owner/repo file.txt
# Specify target directory
ezgitup -d docs file.txt
# or
ezgitup --dir docs file.txt
# Add UUID to filenames
ezgitup -u file.txt
# or
ezgitup --uuid file.txt
# Check version
ezgitup --version
# Combined options
ezgitup -r owner/repo -d docs -u *.txt
The tool will use the following priority for repository information:
- Command-line argument (
--repo/-r) - Environment variable (
EZGITUP_DEPO) - Interactive prompt
If no files are specified, the tool will prompt you to enter file paths interactively. Wildcards are also supported in interactive mode.
Interactive Mode
If you don't specify any files or the EZGITUP_DEPO environment variable, the tool will guide you through the process:
ezgitup
Requirements
- Python 3.6 or higher
requestslibrary
License
Apache-2.0 License
Project details
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 ezgitup-0.2.2.tar.gz.
File metadata
- Download URL: ezgitup-0.2.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da921419949a7c9793288fe49465475a35f72c2d27f5a14b5c13f59ddd1bfd07
|
|
| MD5 |
c2d8c4de9a45bfe9d6e7d9b3990fa627
|
|
| BLAKE2b-256 |
b54ceaebefb6943a4d0a714029c75f068f40fe58f12e1ecc130b920f1193cb5e
|
Provenance
The following attestation bundles were made for ezgitup-0.2.2.tar.gz:
Publisher:
pypi.yml on keceli/EzGitUp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezgitup-0.2.2.tar.gz -
Subject digest:
da921419949a7c9793288fe49465475a35f72c2d27f5a14b5c13f59ddd1bfd07 - Sigstore transparency entry: 236608635
- Sigstore integration time:
-
Permalink:
keceli/EzGitUp@fff89f80896ca2592308aa067ece3c571349aa66 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/keceli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@fff89f80896ca2592308aa067ece3c571349aa66 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ezgitup-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ezgitup-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5721ae4d1e9262c3dc5de4cac0b2c2091c27d60c5eaa68918231c9859b63acc4
|
|
| MD5 |
144c22015007d90f435db72d6c99756a
|
|
| BLAKE2b-256 |
36792b3dc1878a5a1e2afdc2ae810bc55f51edbec5d83f1b9a107d1bc50e1126
|
Provenance
The following attestation bundles were made for ezgitup-0.2.2-py3-none-any.whl:
Publisher:
pypi.yml on keceli/EzGitUp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezgitup-0.2.2-py3-none-any.whl -
Subject digest:
5721ae4d1e9262c3dc5de4cac0b2c2091c27d60c5eaa68918231c9859b63acc4 - Sigstore transparency entry: 236608640
- Sigstore integration time:
-
Permalink:
keceli/EzGitUp@fff89f80896ca2592308aa067ece3c571349aa66 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/keceli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@fff89f80896ca2592308aa067ece3c571349aa66 -
Trigger Event:
release
-
Statement type: