Skip to main content

BBEdit-style persistent includes for Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yoix_pi-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yoix_pi-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file yoix_pi-1.0.0.tar.gz.

File metadata

  • Download URL: yoix_pi-1.0.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yoix_pi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 81ece03fc1b1c758821310bf49a57ba1e998dda27d79f54803a3cc2eeea0c623
MD5 e81d1690c4859cdbeddd76c0b1431c9b
BLAKE2b-256 542e6adb3d36cee60afb439e0cbb2ea806f762317cc0aebf6914d1f3d2a7acbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for yoix_pi-1.0.0.tar.gz:

Publisher: python-publish.yml on crock/yoix-pi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yoix_pi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: yoix_pi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yoix_pi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a54d03157c8782ccc5883e4ee24b374948aa0ae2ef0c5876693d6551be832217
MD5 0218075ef19ce25c1df8e948be4338c4
BLAKE2b-256 d51a3dde71db87a88b865f4d3e814a36efd70e5ff2c29478342260ff79598c24

See more details on using hashes here.

Provenance

The following attestation bundles were made for yoix_pi-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on crock/yoix-pi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page