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

Uploaded CPython 3.11Windows x86-64

sc_compose-1.4.1-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.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for sc_compose-1.4.1.tar.gz
Algorithm Hash digest
SHA256 8bf7b35ebca6f1d0fb717e8c9ab4a54925686a233ee587d2a42257e18d276286
MD5 be849bde5ca58116410b5adcdd5bf592
BLAKE2b-256 3933094bb3d8c811e3b623a752827ee3d10205eff68a50434737ae2b30dd7332

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 90c174fb8623fe71d762a684e3259e3cb008798ebcc2af1ba191a69ce252bb87
MD5 539ffb229dc724b20c3204be375ab373
BLAKE2b-256 992ca53129c2e819f7c9859e4b637f80c58e0a24bb7fd29f5586a0feb2c7a8b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9780ca1b2685b5f716ceab039626d079dbbc961009961e4bc4ad033cede0fffb
MD5 c4cf47f8a7cbe78664e7f24b65355849
BLAKE2b-256 c18843c99f0db4d0ec68a28ccb3007da29e66b035f462655991d1d89a3073c7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 257f3f62eaba25070099d0dddcdb28ff287bfcc47eed4db1006f504803b50332
MD5 a03582616aa46b6763352a6b5e681096
BLAKE2b-256 9501e00722a7673255908dbb316b6e0480fa596bb4a8039db49228079fb3caf4

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

This release

1.4.1 This release

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