Skip to main content

Fetches and returns required content from github repository

Project description

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="")

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

fetchrepo-2.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

fetchrepo-2.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file fetchrepo-2.1.2.tar.gz.

File metadata

  • Download URL: fetchrepo-2.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for fetchrepo-2.1.2.tar.gz
Algorithm Hash digest
SHA256 37d1d2f717b6214f48c2597bd94b6379b5c811c7fe0e5eeccd854ed17b532b77
MD5 186c2412412febbdf805bed249347c7e
BLAKE2b-256 bf3b23892633fc6ddc20f3bbf1da02864ecbea308acb4ceb046e06084af81548

See more details on using hashes here.

File details

Details for the file fetchrepo-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: fetchrepo-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for fetchrepo-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d92925190d2ff85fcb50a3c9bde19482b858721a836ea8d2e987e94cbca12bf3
MD5 54e933612659ec64f6b81a2a8ab64b9e
BLAKE2b-256 92fb81efa2d63b962eb58b9a28e37e55f57161636d0ae9e2d02a0dabc47f6d7b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page