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
Metadata
Release files for ezgitup 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ezgitup-0.2.4.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezgitup-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / ezgitup-0.2.4.tar.gz
| Download URL | ezgitup-0.2.4.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
944aa627eccb66f9adab1a7fb82862533b4759342b3ec6498c820eba4134f1cd
|
|
BLAKE2b-256 checksum How to use checksums |
5eae74c1027f7ffd97a83a2dbaa1b922217b9132f3140efc845b8c0c03f111be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2025.
Transparency logRelease files / ezgitup-0.2.4-py3-none-any.whl
| Download URL | ezgitup-0.2.4-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c75670f91af77c16fbd25ce54e48fec30674164d97c76d5f3ad9c00fcb6f17b
|
|
BLAKE2b-256 checksum How to use checksums |
08adfc7f94f9996a9cbb865c4ed58fd3979e1694bf66482d680dff107492b8c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2025.
Transparency log