Python bindings for sc-compose composition APIs
Project description
sc-compose Python bindings
sc-compose provides Python bindings for the standalone template-composition
engine from the sc-compose project.
The package targets Python 3.11+ and exposes the composition APIs as a native
extension built with maturin and pyo3.
Install
pip install sc-compose
For release rehearsals, pre-release artifacts are published to TestPyPI:
pip install -i https://test.pypi.org/simple/ sc-compose
Example
from sc_compose import render_template
result = render_template("Hello {{ name }}", {"name": "world"})
print(result.output)
Project
- Repository: https://github.com/randlee/sc-compose
- Documentation: see the repository
README.mdanddocs/
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
Built Distributions
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 sc_compose-1.2.0.tar.gz.
File metadata
- Download URL: sc_compose-1.2.0.tar.gz
- Upload date:
- Size: 69.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a483a9eb516796cb57b662e2731bed61f691e734642ccf5977dc55120e5ecf61
|
|
| MD5 |
c70ff56d3697d4edde34ee71bb762819
|
|
| BLAKE2b-256 |
eadc6e47af44a06aaca856301ca5280df78c760203712ebc6ea57d0bf64837ea
|
File details
Details for the file sc_compose-1.2.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: sc_compose-1.2.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a2d00903379829f283696e38f295c5d2ffb09ce0175e4560e23e20b8a194ff3
|
|
| MD5 |
faea780654b14cdefd9746e9531d72e4
|
|
| BLAKE2b-256 |
c7cbe258a3cf0bec1ef53eb00d30c8e77a17f68bfe88b2b6aca4bf67ba95bf25
|
File details
Details for the file sc_compose-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: sc_compose-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c922272dee1358ab51f474b3472c84d9df3455057fb4df6abb9862cda31006b
|
|
| MD5 |
ba151ed6ee8372f739a42714c148bdad
|
|
| BLAKE2b-256 |
1d8f7403c71c9f97dff7f38b5fbd30ffb29ec50e8da908c6ad560ddb17c4eb56
|
File details
Details for the file sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec517a956bb553808ce13037d40c2e1cd85deade32f2d1622fa7f1db29d45b64
|
|
| MD5 |
dccfd830b7872ec8793904956edc28a6
|
|
| BLAKE2b-256 |
2da359e15d026fc9af6bf83e8bf4935a1208f687c7028cd88e938c96b501c568
|