{"id":30855893,"url":"https://github.com/sermetpekin/spclone","last_synced_at":"2026-01-20T17:00:27.379Z","repository":{"id":306541103,"uuid":"1026568204","full_name":"SermetPekin/spclone","owner":"SermetPekin","description":"A lightweight CLI tool that lets you install Python packages directly from GitHub — no need to git clone and manually install.","archived":false,"fork":false,"pushed_at":"2025-07-27T07:23:50.000Z","size":55,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-12T10:29:15.649Z","etag":null,"topics":["clone","github","installer","python","spclone","spinstall"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SermetPekin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-26T06:33:06.000Z","updated_at":"2025-07-27T07:23:54.000Z","dependencies_parsed_at":"2025-07-26T11:04:48.672Z","dependency_job_id":"43b72461-b5d8-49e8-b6f2-928b29154472","html_url":"https://github.com/SermetPekin/spclone","commit_stats":null,"previous_names":["sermetpekin/spclone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SermetPekin/spclone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SermetPekin%2Fspclone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SermetPekin%2Fspclone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SermetPekin%2Fspclone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SermetPekin%2Fspclone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SermetPekin","download_url":"https://codeload.github.com/SermetPekin/spclone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SermetPekin%2Fspclone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clone","github","installer","python","spclone","spinstall"],"created_at":"2025-09-07T11:11:09.544Z","updated_at":"2026-01-20T17:00:27.321Z","avatar_url":"https://github.com/SermetPekin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spclone\n\n[![Python package](https://github.com/SermetPekin/spclone/actions/workflows/python-package.yml/badge.svg?1)](https://github.com/SermetPekin/spclone/actions/workflows/python-package.yml?1)\n[![PyPI](https://img.shields.io/pypi/v/spclone)](https://pypi.org/project/spclone/)\n![PyPI Downloads](https://static.pepy.tech/badge/spclone?2)\n![Status](https://img.shields.io/badge/status-maintained-yellow.svg)\n[![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](https://github.com/SermetPekin/spclone/blob/master/LICENSE)\n[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n\nA lightweight CLI tool that lets you install and clone Python packages directly from GitHub — no need to manually `git clone` and install.\n\n## 🚀 Features\n\n- 📦 **Direct Installation**: Install packages directly from GitHub URLs or shorthand (`user/repo`)\n- 🔧 **Modern Build Support**: Handles complex build systems (Meson, setuptools, wheel)\n- 🐍 **Environment Integration**: Automatically uses `pip` to install in your current environment\n- 🧼 **Clean Workflow**: No cluttered filesystem with temporary clone directories\n- ⚡ **Fast \u0026 Lightweight**: Focused on Python package management\n- 🌿 **Branch Support**: Install from specific branches or tags\n\n## 📦 Installation\n\n```bash\npip install spclone\n```\n\n## 🛠️ Usage\n\n### Package Installation (`spinstall`)\n\nInstall Python packages directly from GitHub:\n\n```bash\n# Install from owner/repo format\nspinstall pandas-dev/pandas\nspinstall microsoft/pylance\n\n# Install from full URLs\nspinstall https://github.com/psf/requests\nspinstall https://github.com/django/django\n\n# Install from specific branch\nspinstall pandas-dev/pandas --branch main\nspinstall scikit-learn/scikit-learn -b develop\n\n# Verbose output for debugging\nspinstall numpy/numpy --verbose\n\n# Force build from source (for complex packages)\nspinstall pandas-dev/pandas --force-build\n```\n\n### Repository Cloning (`spclone`)\n\nClone repositories for development:\n\n```bash\n# Clone to default directory (owner-repo)\nspclone pandas-dev/pandas\nspclone https://github.com/psf/requests\n\n# Clone to specific directory\nspclone django/django --directory my-django-fork\nspclone microsoft/vscode -d vscode-dev\n\n# Clone specific branch\nspclone pytorch/pytorch --branch nightly\nspclone tensorflow/tensorflow -b r2.13\n\n# Verbose output\nspclone fastapi/fastapi --verbose\n```\n\n### Advanced Examples\n\n```bash\n# Install bleeding-edge pandas with verbose output\nspinstall pandas-dev/pandas --branch main --verbose --force-build\n\n# Clone multiple repositories\nspclone numpy/numpy -d numpy-dev\nspclone scipy/scipy -d scipy-dev\nspclone matplotlib/matplotlib -d matplotlib-dev\n\n# Install from .git URLs (automatically handled)\nspinstall https://github.com/psf/requests.git\n```\n\n## 🏗️ Build System Support\n\n`spclone` automatically detects and handles various Python build systems:\n\n- **setuptools** - Traditional `setup.py` packages\n- **PEP 518** - Modern `pyproject.toml` packages  \n- **Meson** - Complex packages like pandas, numpy\n- **Cython** - Packages with compiled extensions\n- **Wheel** - Binary distributions\n\nFor complex packages (pandas, numpy, scipy), build dependencies are automatically installed:\n- `meson-python`, `meson`, `ninja` for Meson-based packages\n- `Cython` for packages with Cython extensions\n- `setuptools`, `wheel` for standard packages\n\n## 📋 Command Reference\n\n### `spinstall` - Install Packages\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--verbose` | `-v` | Enable verbose output |\n| `--branch` | `-b` | Specify branch/tag to install from |\n| `--force-build` | | Force building from source |\n| `--version` | | Show version information |\n\n### `spclone` - Clone Repositories\n\n| Option | Short | Description |\n|--------|-------|-------------|\n| `--verbose` | `-v` | Enable verbose output |\n| `--branch` | `-b` | Specify branch/tag to clone |\n| `--directory` | `-d` | Target directory name |\n| `--version` | | Show version information |\n\n## 🔍 Input Formats\n\nAll commands accept flexible input formats:\n\n```bash\n# All of these work:\nspinstall psf/requests\nspinstall https://github.com/psf/requests\nspinstall github.com/psf/requests\nspinstall psf/requests.git\n```\n\n## 💡 Use Cases\n\n- **Development**: Quickly install development versions of packages\n- **Testing**: Test against latest upstream changes\n- **Contributing**: Install your fork for development\n- **CI/CD**: Install specific versions in automated workflows\n- **Research**: Use cutting-edge features not yet released\n\n## 🐛 Troubleshooting\n\n\n### Installation Issues\n\n```bash\n# For complex packages, try force-build mode\nspinstall pandas-dev/pandas --force-build --verbose\n\n# Check if build dependencies are installed\npip list | grep -E \"(meson|ninja|cython)\"\n```\n\n### Common Solutions\n\n- **Build failures**: Use `--force-build` flag\n- **Missing dependencies**: Enable `--verbose` to see detailed error messages\n- **Network issues**: Check your internet connection and GitHub access\n- **Permission errors**: Ensure you have write access to your Python environment\n\n## 🏗️ Development\n\n### Setup Development Environment\n\n```bash\n# Clone the repository\ngit clone https://github.com/SermetPekin/spclone.git\ncd spclone\n\n# Install in development mode\npip install -e \".[dev]\"\n\n# Run tests\npytest\n\n# Run tests with coverage\npytest --cov=spclone --cov-report=html\n```\n\n### Project Structure\n\n```\nspclone/\n├── spclone/\n│   ├── __init__.py\n│   ├── cli.py          # Command-line interface\n│   └── clone_.py       # Core functionality\n├── tests/              # Test suite\n├── pyproject.toml      # Project configuration\n└── README.md\n```\n\n\n## 🪟 Windows Users\n\n### Build Tools Required\n\nSome Python packages (pandas, numpy, scipy, etc.) require C++ compilation on Windows. If you get errors about `vswhere.exe` or \"Microsoft Visual C++ 14.0 is required\":\n\n```bash\n# Check if build tools are available\nspinstall --check-build-tools\n\n# Get installation instructions\nspinstall --install-build-help\n```\n\n### Quick Fix\n\n**Option 1: Install Visual Studio Build Tools (Recommended)**\n1. Download [Build Tools for Visual Studio](https://visualstudio.microsoft.com/visual-cpp-build-tools/)\n2. Install with \"C++ build tools\" workload\n3. Include \"Windows 10/11 SDK\"\n4. Restart your terminal\n\n**Option 2: Try pre-compiled packages first**\n```bash\n# Install from PyPI first (if available), then try development version\npip install pandas  # Get stable version first\nspinstall pandas-dev/pandas  # Then try development version\n```\n\n### Common Issues\n\n- **Long paths**: Windows has path length limits - temp directories use short names\n- **File permissions**: Admin privileges may be needed for some installations\n- **Antivirus software**: May interfere with compilation - add Python folder to exclusions\n- \n### Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature-name`\n3. Make your changes and add tests\n4. Run the test suite: `pytest`\n5. Submit a pull request\n\n## 📝 License\n\nThis project is licensed under the BSD-3-Clause License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Inspired by the need for simpler Python package installation workflows\n- Built on top of Python's excellent `pip` and `requests` libraries\n- Thanks to the Python packaging community for modern build standards\n\n## 📞 Support\n\n- 🐛 **Issues**: [GitHub Issues](https://github.com/SermetPekin/spclone/issues)\n- 💬 **Discussions**: [GitHub Discussions](https://github.com/SermetPekin/spclone/discussions)\n- 📧 **Contact**: Create an issue for support questions\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsermetpekin%2Fspclone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsermetpekin%2Fspclone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsermetpekin%2Fspclone/lists"}