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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2081abd2afdef5c9fc1a1b437f1f0b3b6f07da83c599db801335db0fa29110f6
|
|
| MD5 |
8440b4f3b2ea750d0bedc78158367c4b
|
|
| BLAKE2b-256 |
182a1be653bc4495dbaae3a2146876e8bdd0c22275c662e3834fbb809bf306c9
|
File details
Details for the file clone_subdir-0.1.2-py3-none-any.whl.
File metadata
- Download URL: clone_subdir-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
823db16167ed78dd33f08131c960837c2a888335f49ee5a363ff917ecd12f43d
|
|
| MD5 |
b313576b26475a176dd21a31427131e9
|
|
| BLAKE2b-256 |
ffc38e97c5df10014df4ead08c01eade41d61a45837795d5602866e7db01db49
|