git-extract
Extract files or directories from a git repository
Installation
$ pip install git-extract --upgrade
Usage
Extract files with multiple patterns:
$ git-extract file https://github.com/mfdeux/git-extract --pattern "*.md" --pattern "*.py" --dest ~/Downloads/test --recursive
Extract directory with pattern:
$ git-extract dir https://github.com/mfdeux/git-extract --pattern "tests" --dest ~/Downloads/test
Patterns
Multiple patterns are acceptable -- as many as you want!
You can think of patterns as filters. When git-extract is looking throughout the git repository, it will match files or directories based on the patterns supplied.
All patterns are based on standard Python glob patterns.
You can read more about how to construct the patterns at: https://docs.python.org/3/library/glob.html
Metadata
Release files for git-extract 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git_extract-1.1.5.tar.gz | 3.8 kB | Without provenance | Details for git_extract-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_extract-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for git_extract-1.1.5-py3-none-any.whl |
Total release size: 8.1 kB
Release files / git_extract-1.1.5.tar.gz
| Download URL | git_extract-1.1.5.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fca114f29481ad8a5162d629711c607a9ed72e84a02983a3deef0e4b2e1787f5
|
|
BLAKE2b-256 checksum How to use checksums |
0f8fc3170aeccdef88ec200be4925d8a9a7b2aaa180932b250aaa0f270b691b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1032-azure
|
Release files / git_extract-1.1.5-py3-none-any.whl
| Download URL | git_extract-1.1.5-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f21bbe331a93e0e053ace5218ccdf34be375569c4b79aa7ef20478668d9de6bd
|
|
BLAKE2b-256 checksum How to use checksums |
9b3be776fb30c0ad239e98722069f556484b91751ac588bdd4fecfbd408ba240
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1032-azure
|
Security for git-extract 1.1.5
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.