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

Download files

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

Source Distribution

sc_compose-1.6.0.tar.gz (204.1 kB view details)

Uploaded Source

Built Distributions

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

sc_compose-1.6.0-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file sc_compose-1.6.0.tar.gz.

File metadata

  • Download URL: sc_compose-1.6.0.tar.gz
  • Upload date:
  • Size: 204.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.4

File hashes

Hashes for sc_compose-1.6.0.tar.gz
Algorithm Hash digest
SHA256 389324f84df9b4ed3cbcc08072b20c9a37883ff002b89368ef47ac23712f10eb
MD5 9fff84204ff6d9d175750ed43785efed
BLAKE2b-256 9ff09f9efe3a79fccbf0a36c729117786ee2423338b74c2b5810740b55e2b83c

See more details on using hashes here.

File details

Details for the file sc_compose-1.6.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sc_compose-1.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ec3704eadc3083f2582d2fe5bc783fc129257d4e7622fbdd72216694201312e6
MD5 8d82567deb8f8406037de2c52446778e
BLAKE2b-256 e8eb618d7c16c04c2d9ce4da24a2d2043d9ff5f2c8ae85b57424e191aab4b8e6

See more details on using hashes here.

File details

Details for the file sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for sc_compose-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 16f8992fd9a6104dda0aceacbe1f3d8738d26a61b1a9320669b1dfadcf00d390
MD5 6ea4e8f1ecf4f18b7d22b68ac9aa581b
BLAKE2b-256 1d8766a919ae1a6459ce64cfa0c4dd87c440ec4de34bd45c469f96d1068e40d2

See more details on using hashes here.

File details

Details for the file sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sc_compose-1.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b55c6d6515ed260a7d9f5872e662e4a779635b634bee7bc258fac01d3d2535d
MD5 a4d4f9cfc175cf6e1f8c07c30d5ac8bc
BLAKE2b-256 955f5b47cd08403408526f891b3894a87f9257a583e616512dbef165b6abee05

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.1

5 files

This release

1.6.0 This release

4 files

1.5.0

4 files

1.4.1

4 files

1.4.0

4 files

1.3.0

4 files

1.2.0

4 files

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