Skip to main content

Add your description here

Project description

clone-subdir

Clone only a specific subfolder from a GitHub repository.

Installation

pip install clone-subdir

Usage

After installation, you can use the clone-subdir command directly:

clone-subdir https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a-mcp-without-framework

This will create a local directory:

./a2a-mcp-without-framework

If you want a custom name:

clone-subdir https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a-mcp-without-framework my-agent-example

How it works

The tool uses Git's sparse-checkout feature to efficiently clone only the specified subfolder without downloading the entire repository.

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

clone_subdir-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

clone_subdir-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file clone_subdir-0.1.2.tar.gz.

File metadata

  • Download URL: clone_subdir-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for clone_subdir-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2081abd2afdef5c9fc1a1b437f1f0b3b6f07da83c599db801335db0fa29110f6
MD5 8440b4f3b2ea750d0bedc78158367c4b
BLAKE2b-256 182a1be653bc4495dbaae3a2146876e8bdd0c22275c662e3834fbb809bf306c9

See more details on using hashes here.

File details

Details for the file clone_subdir-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for clone_subdir-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 823db16167ed78dd33f08131c960837c2a888335f49ee5a363ff917ecd12f43d
MD5 b313576b26475a176dd21a31427131e9
BLAKE2b-256 ffc38e97c5df10014df4ead08c01eade41d61a45837795d5602866e7db01db49

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