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.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

downgit-2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file downgit-2.0.tar.gz.

File metadata

  • Download URL: downgit-2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for downgit-2.0.tar.gz
Algorithm Hash digest
SHA256 5333ad69cb5c6bf85e41ca952777f8d19762d079e44ebe1d1a8b387cddf42c08
MD5 aeec45925f79f0936413e9559fb55ff2
BLAKE2b-256 b23cc89012afa3a329b9475a112dcc986ede22c4286530f763933d3c272c6c7a

See more details on using hashes here.

File details

Details for the file downgit-2.0-py3-none-any.whl.

File metadata

  • Download URL: downgit-2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for downgit-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8a5f068f0cab33d919c0ccab32771e92026ad60da2bbd0bfdd1f9d99838d457
MD5 d90439e71b61af0246411c68f29c5b7e
BLAKE2b-256 77f891a27b614d00518162921d0f7ba88697648c1167449190d3e5812a812835

See more details on using hashes here.

Supported by

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