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
Release history Release notifications | RSS feed
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-0.1.0.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yoix_pi-0.1.0.tar.gz.
File metadata
- Download URL: yoix_pi-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
174e19217e59e5d7f48441665d02127a6d6ee251aa6e7c02bb43e75ccbdb98e3
|
|
| MD5 |
7dceda392a29fa82504ad7326fb75faa
|
|
| BLAKE2b-256 |
9d5cae80b86fbc0132989689c16493424e15216edb590475aee982bcefbd6661
|
File details
Details for the file yoix_pi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yoix_pi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0b55d358312372850d4295acf7dccdc8bb7575c4069d0c9f0d6acdce3e9187
|
|
| MD5 |
fe1852627c840f11b7ee09684e18f946
|
|
| BLAKE2b-256 |
ad9032ea21f7cdaeae78c1b674595c526cd3a9fd0d5308d4a89f2d1634b15f18
|