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.4.0.tar.gz (184.2 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.4.0-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

sc_compose-1.4.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.4.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.4.0.tar.gz.

File metadata

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

File hashes

Hashes for sc_compose-1.4.0.tar.gz
Algorithm Hash digest
SHA256 e828b8fd98fe4ed5fe2b7e72a6f0011109a0e990244662bfebd1b0d72423fa33
MD5 09ea940a29f470fb33d34e1671a4b69e
BLAKE2b-256 b8b2564ced93dae897a81647057b2759b62721dc7a08c77df30bd711ff31febf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9f7329f2a856ca22f9b56adef249452b60b69fc839b22f6989b04fc79030ad1f
MD5 186b3961ecec38b9277c02cc263735d6
BLAKE2b-256 127021f83c4e7db3ab061983d4553c704acb54e57cc52b56d9f9c040bea3a4f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f8f0ca915ba6f0693de408305cb45f85e7a36621167d9a0031129c199aaa5fe7
MD5 9c91915298205cd6973c6de67b2fbc31
BLAKE2b-256 d852a10700e7a2e3e892d6b4324db303ccc74ed40d59ca93a1e4ef764030ad28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1cbc03001110486e05629ce8e33bb98038dd3f82a9935fcc7a4a4d5877ed78a1
MD5 d44333a82b86ca8ac9d3272ee2e6fbc6
BLAKE2b-256 c928dad1a755b4012535354a81de25689da8d31447cfd0aa2d9be46dd7effb4f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.1

5 files

1.6.0

4 files

1.5.0

4 files

1.4.1

4 files

This release

1.4.0 This release

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