Yoix Persistent Includes
BBEdit-style persistent includes for Python.
Installation
You can install Yoix Persistent Includes using pip:
pip install yoix-pi
Usage
Python API
from yoix_pi.processor import process_persistent_includes
config = {
'partials_dir': 'path/to/partials',
'public_dir': 'path/to/public'
}
process_persistent_includes(config)
Command Line
You can also use the command-line interface:
# Using default directories (includes/partials and public)
yoixpi
# Specify custom directories
yoixpi --partials path/to/partials --public path/to/public
# Using short options
yoixpi -p path/to/partials -b path/to/public
# Show help
yoixpi --help
Development
To set up for development:
# Clone the repository
git clone https://github.com/crock/yoix-pi
cd yoix-pi
# Install in development mode with test dependencies
pip install -e ".[dev]"
# Run tests
pytest
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for yoix-pi 1.0.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 | |
|---|---|---|---|
| yoix_pi-1.0.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yoix_pi-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / yoix_pi-1.0.0.tar.gz
| Download URL | yoix_pi-1.0.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81ece03fc1b1c758821310bf49a57ba1e998dda27d79f54803a3cc2eeea0c623
|
|
BLAKE2b-256 checksum How to use checksums |
542e6adb3d36cee60afb439e0cbb2ea806f762317cc0aebf6914d1f3d2a7acbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency logRelease files / yoix_pi-1.0.0-py3-none-any.whl
| Download URL | yoix_pi-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a54d03157c8782ccc5883e4ee24b374948aa0ae2ef0c5876693d6551be832217
|
|
BLAKE2b-256 checksum How to use checksums |
d51a3dde71db87a88b865f4d3e814a36efd70e5ff2c29478342260ff79598c24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency log