Repo Fetcher
The Repo Fetcher is a versatile tool designed to extract the essential contents from GitHub repository.
It seamlessly retrieves files, excluding specified patterns, to offer a concise overview of the repository's key components.
This tool proves invaluable for developers, project managers, and contributors seeking a quick glance at the project structure without the noise of unnecessary files
If you find any noice contents getting printed, please mail me.
Example
from FetchRepo.RepoFetcher import harvest_github_repo
repo_link = "https://your/github-repo/link"
access_token = "your access token" #(requireed if the repository is private)
code = harvest_github_repo(repo_link,branch="branch_name",access_token="access_token")
print(code)
- If you don't know the branch name to be fetched from, you can also leave it empty, {branch="} it will list (display) all the branches from the repo and prompts you to enter the required feature brnach to be fetched.
- If the repo is public let the value for the access_token be empty ;
harvest_github_repo(repo_link,branch="",access_token="")
Metadata
Release files for fetchrepo 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fetchrepo-2.1.2.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fetchrepo-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / fetchrepo-2.1.2.tar.gz
| Download URL | fetchrepo-2.1.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37d1d2f717b6214f48c2597bd94b6379b5c811c7fe0e5eeccd854ed17b532b77
|
|
BLAKE2b-256 checksum How to use checksums |
bf3b23892633fc6ddc20f3bbf1da02864ecbea308acb4ceb046e06084af81548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fetchrepo-2.1.2-py3-none-any.whl
| Download URL | fetchrepo-2.1.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d92925190d2ff85fcb50a3c9bde19482b858721a836ea8d2e987e94cbca12bf3
|
|
BLAKE2b-256 checksum How to use checksums |
92fb81efa2d63b962eb58b9a28e37e55f57161636d0ae9e2d02a0dabc47f6d7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|