Skip to main content

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

Metadata

Release files for sc-compose 1.6.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 sc-compose 1.6.0
File Size Uploaded Provenance Actions
sc_compose-1.6.0.tar.gz 204.1 kB Without provenance Details for sc_compose-1.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sc-compose 1.6.0
File Interpreter ABI Platform Actions
sc_compose-1.6.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for sc_compose-1.6.0-cp311-cp311-win_amd64.whl
sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl
sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 5.7 MB

Release files / sc_compose-1.6.0.tar.gz

Download URL sc_compose-1.6.0.tar.gz
Size 204.1 kB
Tags Source
SHA-256 checksum
How to use checksums
389324f84df9b4ed3cbcc08072b20c9a37883ff002b89368ef47ac23712f10eb
BLAKE2b-256 checksum
How to use checksums
9ff09f9efe3a79fccbf0a36c729117786ee2423338b74c2b5810740b55e2b83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_compose-1.6.0-cp311-cp311-win_amd64.whl

Download URL sc_compose-1.6.0-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ec3704eadc3083f2582d2fe5bc783fc129257d4e7622fbdd72216694201312e6
BLAKE2b-256 checksum
How to use checksums
e8eb618d7c16c04c2d9ce4da24a2d2043d9ff5f2c8ae85b57424e191aab4b8e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl
Size 2.0 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
16f8992fd9a6104dda0aceacbe1f3d8738d26a61b1a9320669b1dfadcf00d390
BLAKE2b-256 checksum
How to use checksums
1d8766a919ae1a6459ce64cfa0c4dd87c440ec4de34bd45c469f96d1068e40d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2b55c6d6515ed260a7d9f5872e662e4a779635b634bee7bc258fac01d3d2535d
BLAKE2b-256 checksum
How to use checksums
955f5b47cd08403408526f891b3894a87f9257a583e616512dbef165b6abee05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Security for sc-compose 1.6.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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