Skip to main content

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)

Source distribution for yoix-pi 1.0.0
File Size Uploaded
yoix_pi-1.0.0.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yoix-pi 1.0.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page