A package to fetch single files from Github repos instead of cloning the whole thing
Project description
Code Fetch
Code fetch is a command line tool for fetching code from a single file on GitHub instead of cloning the whole repository.
Installation
Install the package from PyPi:
pip install code_fetch
or pip3 install code_fetch
Install the package from source:
git clone https://github.com/mordy-python/code-fetch.git
cd code-fetch
python setup.py install
Usage
python -m code_fetch [OPTIONS] USER REPO FILE
Options:
--save Save the file to disk
--save-file TEXT The output file
--help Show this message and exit.
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
code_fetch-1.0.5.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file code_fetch-1.0.5.tar.gz
.
File metadata
- Download URL: code_fetch-1.0.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a4fecadaae54974b98828789d1cde07fa3e14bc48001787b55f3078be2e48f |
|
MD5 | 542e2fda28a83feb51718f67b24a87b7 |
|
BLAKE2b-256 | fdaab81de55593a48218f9a9475043597e315704fc75e7983df68e33585053fc |
File details
Details for the file code_fetch-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: code_fetch-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52cf1ccbc42b59f46140172cab4bf195e3e6fc8dbbe9f55435083d2e1bc83be |
|
MD5 | e23f927e91725b3d2123a976b2a3cd84 |
|
BLAKE2b-256 | d6cdce10ba8ee2dd27c8302383d86d00e67b619704e9440d42aae8b25b0e1722 |