Skip to main content

Download any subdirectory or file from GitHub repository

Project description

DownGit

🔴WARNING🔴:

There may occur some bugs, if you find any, please report them to me.

Description:

DownGit is a simple and convenient command-line tool that allows users to download exact folders from GitHub repositories without the need to use the web interface or 3-rd party websites that provide this feature. This program provides access to GitHub repositories through commands, simplifying and speeding up the download process. It also enables users to set their own token to increase the rate limits for API requests to GitHub.

Installation:

pip install downgit

Commands:

downgit get
downgit set-token
downgit remove-token
downgit help
  • get <url> <ignore-files> - The get command allows you to download a GitHub repository by specifying the repository's URL. Optionally, you can specify ignored files, separated by ';'. This feature allows users to choose which files they want to download.

    Example of use:

      downgit get https://github.com/Propsi4/emotions-recognition/tree/main/client "src/App.tsx;src/index.tsx"
    
  • set-token <token> - The set-token command lets you set a personal GitHub token to increase the rate limits for API requests. This is especially useful for users who frequently use this program and want more capabilities for downloading data from GitHub.

  • remove-token - The remove-token command allows you to remove a previously set GitHub token if you no longer wish to use it for API access.

  • help - The help command displays the command menu to familiarize users with the available options and correct command syntax.

DownGit is an excellent tool for working with GitHub repositories through the command line, simplifying the download process and making it more efficient.

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

downgit-2.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

downgit-2.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

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