Python binding to typst
Project description
typst-py
Python binding to typst, a new markup-based typesetting system that is powerful and easy to learn.
Installation
pip install typst
Usage
import typst
# Compile `hello.typ` to PDF and save as `hello.pdf`
typst.compile("hello.typ", output="hello.pdf")
# Or return PDF content as bytes
pdf_bytes = typst.compile("hello.typ")
License
This work is released under the Apache-2.0 license. A copy of the license is provided in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typst-0.9.0.tar.gz
(5.2 MB
view hashes)
Built Distributions
typst-0.9.0-cp37-abi3-win32.whl
(13.7 MB
view hashes)
Close
Hashes for typst-0.9.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fabe56de34d72007d3f08fc796fc0a44820cdb108c0ac694fa0e457ac8b3c697 |
|
MD5 | 26213a657ec8e37e78f5efbd822d583c |
|
BLAKE2b-256 | 0168cb2b43ab3d45400aa1c03c0d5e028dc339d9198870f6452a2d9fedf0c044 |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c209632cb32e612bbc9443c412255d62454a7e9de05eb91b4c1162dd877a31ae |
|
MD5 | 4dd43e9bff15cf21a07e6450958086d0 |
|
BLAKE2b-256 | aba41b45f5e9155bdbdc33f23b3db20caa4011162c35eb9590d2115c400a86e2 |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d6f81efe73236d85e7cfad549b1d9c0766e346ad2dcb18772c0ae3baaf58c39 |
|
MD5 | a60796c9923bc65e38c6b18b3f960eed |
|
BLAKE2b-256 | 66d9806b7a2375c52efacb8467ec0f015acc43b9d4c0c17ee5267e019608df71 |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb17b46f2c6d8504d51c14243674513b72e489460eed551a4d53dc7f155c009 |
|
MD5 | 03947095032f03d0ae95428471db6264 |
|
BLAKE2b-256 | ee7257e2d82c1877c7a7341ccae97c32864a429eaf049050e615bb90e3fbd192 |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27e4a9022dfde6b39644bd59a3e98eb9e55f2cfa2c296d5022a945477c6fff3 |
|
MD5 | 0fa42408dc767dbb7aea9478b400b3b0 |
|
BLAKE2b-256 | a1b2c07aa776a063a6cceca558c8861dea4ad88be33cab341689083bde491aac |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a60d538a8e53ab0ebeab440ea5d8170dc8812956bab526d98b2cf9d4d7a00c1 |
|
MD5 | 44d840aa6093bc5af236ebc13ee9767d |
|
BLAKE2b-256 | 9a6fad740ac9843b6f7c6af5033e19c1f77052ecefc4559855d294110fe48641 |
Close
Hashes for typst-0.9.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038a16dca1c63a1662c327e16465548b2616eae0a5bba61074651e33cc2d63b4 |
|
MD5 | 91bf3ce8b8e242438e54139ea6117245 |
|
BLAKE2b-256 | b91c8d8806187e76877812a553e16f30718d5ee085866465deb0f835d0d52ee9 |
Close
Hashes for typst-0.9.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 052ca6f22f35a25dc72c0361fdbd4f5fd5d3226ed341aa04229804ab6e8e7363 |
|
MD5 | 37d582261cf34feb5c05511fd2bbada1 |
|
BLAKE2b-256 | 91897a248192572f83711af25eb3acc3e79fef6c18c603278e71109c7e88b174 |
Close
Hashes for typst-0.9.0-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b0e10e4930faa0d67cc9786b7c5caf3f195879d9158720e043f1e857dc1ef5 |
|
MD5 | 74de5c49588e4b318b013bbf1a753ff3 |
|
BLAKE2b-256 | 56c6b4da040257134b6cf716b60ab758ce4b5ec9ed18a30115fed594078e16d3 |