capture-pkg
Python package for capture functionality integrated with hyfetch and x-ray system.
🚀 Installation & Usage Guide
1. Installation from PyPI
Once published to PyPI, install directly using pip:
pip install capture-pkg
2. Local Development Setup
To work on this package locally in editable mode:
# Clone repository or navigate to directory
cd capture_pkg
# Install in editable mode with development dependencies
pip install -e .[dev]
3. Building Package for PyPI
Before uploading to PyPI, build the distribution archives (.whl and .tar.gz):
# Install build tools if not available
pip install build twine
# Build distribution packages
python -m build
4. Uploading to PyPI
Upload the generated build artifacts from the dist/ directory to PyPI using twine:
# Test upload (optional, using TestPyPI)
python -m twine upload --repository testpypi dist/*
# Production upload to PyPI
python -m twine upload dist/*
5. Integration with x-ray Application
To integrate capture-pkg into the x-ray application:
-
Add
capture-pkgtox-ray/requirements.txt:capture-pkg>=0.1.0
-
Install dependencies in your
x-rayenvironment:pip install -r requirements.txt
✨ Features
- HyFetch Integration: Custom fetch output and terminal branding.
- X-Ray Compatible: Designed specifically for capture workflows in the
x-rayapplication backend.
Metadata
Release files for capture-pkg 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| capture_pkg-0.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| capture_pkg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / capture_pkg-0.1.0.tar.gz
| Download URL | capture_pkg-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
941de400d0d409a0e00f84bfcb1156de09328f3c130e6589889cdaa64ee3a60b
|
|
BLAKE2b-256 checksum How to use checksums |
bf4929e99b7e3795491deaaddef0783e5f5c7056e9868d90b6be8fd7e2f6019d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / capture_pkg-0.1.0-py3-none-any.whl
| Download URL | capture_pkg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47a3ebf1e793c41b1c889b6d5a28ef845b98bd6bc07ba1af88375a7200f48e40
|
|
BLAKE2b-256 checksum How to use checksums |
ee767d3800308efba3f1d008738af7888278939c8007269a03ba2a6df827d307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|