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

Uploaded CPython 3.11Windows x86-64

sc_compose-1.5.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.5.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.5.0.tar.gz.

File metadata

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

File hashes

Hashes for sc_compose-1.5.0.tar.gz
Algorithm Hash digest
SHA256 1134494ea6a429ddd13f096692073ac5636af6b031254c1613a4303452766ea7
MD5 081a2698e80d98410c8f9d410d91cecc
BLAKE2b-256 fa69194f8e14553d77e74c234ecb59a4a4f8d297f88baa4f31317325a78adca0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4b871a463ca6833b7b803f2202ff088401fda3aaab29134794ce79a843db5b0c
MD5 9a61d90afee6c8609a4a28d65b6f023b
BLAKE2b-256 af626057ee4d897f6ba3dfa6693b0fab91c253d283ebb169d24579dbf8591f35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.5.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e901e6b428dc8403e1c467b855938fd54da82737cd2884bef92dc7e1d66f11de
MD5 27b5129e6325f1360f90f7f9f1470dfa
BLAKE2b-256 7a7878bfc07238fd2b2a6e6a69b1c02d8e66d172085f5407f499dbbd330ecb93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d32d1f2baa5e4cb8cc5f7ac0873256726289ba3883ea15a184c87a7f590c55e9
MD5 65d9ffa49190269a34c2ccc721c473c8
BLAKE2b-256 c49d9dffcd08fd8ecfc181853534ef5874fd388b985367617abab910b9fb1928

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.1

5 files

1.6.0

4 files

This release

1.5.0 This release

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