Skip to main content

Python bindings for sc-compose composition APIs

Project description

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

Project details


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.2.0.tar.gz (69.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.2.0-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

sc_compose-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for sc_compose-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a483a9eb516796cb57b662e2731bed61f691e734642ccf5977dc55120e5ecf61
MD5 c70ff56d3697d4edde34ee71bb762819
BLAKE2b-256 eadc6e47af44a06aaca856301ca5280df78c760203712ebc6ea57d0bf64837ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8a2d00903379829f283696e38f295c5d2ffb09ce0175e4560e23e20b8a194ff3
MD5 faea780654b14cdefd9746e9531d72e4
BLAKE2b-256 c7cbe258a3cf0bec1ef53eb00d30c8e77a17f68bfe88b2b6aca4bf67ba95bf25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5c922272dee1358ab51f474b3472c84d9df3455057fb4df6abb9862cda31006b
MD5 ba151ed6ee8372f739a42714c148bdad
BLAKE2b-256 1d8f7403c71c9f97dff7f38b5fbd30ffb29ec50e8da908c6ad560ddb17c4eb56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sc_compose-1.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec517a956bb553808ce13037d40c2e1cd85deade32f2d1622fa7f1db29d45b64
MD5 dccfd830b7872ec8793904956edc28a6
BLAKE2b-256 2da359e15d026fc9af6bf83e8bf4935a1208f687c7028cd88e938c96b501c568

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page