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.3.0.tar.gz (144.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.3.0-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

sc_compose-1.3.0-cp311-cp311-manylinux_2_34_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

sc_compose-1.3.0-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for sc_compose-1.3.0.tar.gz
Algorithm Hash digest
SHA256 17ca134e39b1e67ceb4be8022511113ea258f14aa0a3e6f2cdb09ef8894ec176
MD5 d08e0fae28ece3c0ff71d1a3acfc857f
BLAKE2b-256 3e24790fdd36bbc0ab6038ad8c8535f0dd4c32a0f926d65a9d60f5b0b62faf66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 afd710cb9f15ec9b889c721ae175c8b74cb59c516b7a8054e738e478b6612d18
MD5 875b0b47c4880d7e494e62b7d3036869
BLAKE2b-256 a6b7f2fd3bc0f17f1ad9f390ad8eb0a7071a50ab22aa2b514c81aa9efe06c8ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.3.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c9c0f06b3c6eed6013f06ab688cc73bc8350cba49467f0ecf9fbc48e5da39869
MD5 3101002f226866cd70354ab0c1294842
BLAKE2b-256 b6b8a72b9ba08ce48425303ced4baabec9ba06c740005aae64c53ce29903937d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 980fcf2fe37b15b4c3b405895f974e8672a2b4c14288318e5b2ae57e71dd399f
MD5 fa6206fa85f813027751d1f85cf39fc2
BLAKE2b-256 528fe22e7e05389a10a5a849af4919bccca4c543baa12012c956cd57bba9e7c1

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

1.4.0

4 files

This release

1.3.0 This release

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