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.2.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.2.0
File Size Uploaded Provenance Actions
sc_compose-1.2.0.tar.gz 69.1 kB Without provenance Details for sc_compose-1.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sc-compose 1.2.0
File Interpreter ABI Platform Actions
sc_compose-1.2.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for sc_compose-1.2.0-cp311-cp311-win_amd64.whl
sc_compose-1.2.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.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 4.0 MB

Release files / sc_compose-1.2.0.tar.gz

Download URL sc_compose-1.2.0.tar.gz
Size 69.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a483a9eb516796cb57b662e2731bed61f691e734642ccf5977dc55120e5ecf61
BLAKE2b-256 checksum
How to use checksums
eadc6e47af44a06aaca856301ca5280df78c760203712ebc6ea57d0bf64837ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

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

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

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

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

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

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

Security for sc-compose 1.2.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