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.10.0.tar.gz
(4.7 MB
view hashes)
Built Distributions
typst-0.10.0-cp37-abi3-win32.whl
(13.6 MB
view hashes)
Close
Hashes for typst-0.10.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 389364556a58fc470a1290eb12aa75e7f5e6f8137f3f3b558d7aa1f57ce5ad68 |
|
MD5 | 91e838efe6b3ed65e680bc337a35bf3f |
|
BLAKE2b-256 | 13c6c2da70252e7d0f6f2e17ae6e0e3834fe3b958108aed70e679dd7e61747e5 |
Close
Hashes for typst-0.10.0-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa407ff98d9f367c3ca7850d3fb4cd2e1dd43aeec3b6a174249074f2619b4fb |
|
MD5 | 7b1c0772b79dfe5c6c70da4e615ed228 |
|
BLAKE2b-256 | 1ce4abd18341cad526cb7311f875a1726b0c145c8bd42ec7c5922dd5e2cac61a |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd991c41ff512b3c6d079f94888f549d1e4c145e7336f327c055b67627998e0e |
|
MD5 | d2fbf90a2bfc3786613dc4b3e23687ec |
|
BLAKE2b-256 | bdeb9d37539b6d2555bf9ea6514ff1b8802aa3871c9008dde7db520ffa54fa4c |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f7dbe569e2c94cd253426a21cee55cca8e35f85071dd9a8ae3981baa4d560c7 |
|
MD5 | d3c48f3bf5771ffa5b8585194d73e1a1 |
|
BLAKE2b-256 | 4da03ef102a10bc0d4fd7aa0514c2014e725bbe830dc00e137ebae94a679ea5a |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8573736bad80b5ce3e57c9bfeeb1e71760a25b66daf0d3f18a9a5da6278b6c95 |
|
MD5 | 3bd1ae347a0175450f4b63755938e56f |
|
BLAKE2b-256 | 04a9f2b518976839ba7692c9b5b106cdc362764e7aa937b6751d1aa26f1c2279 |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36eb489f68e647be8f17352ba4b967ccc3f6736d3723b50ec88a7bf055e1e475 |
|
MD5 | 807a59176dcc226c9c97c563aeb4ac48 |
|
BLAKE2b-256 | 23369fb05454b05e58de6cd65b037ac0a4d93889081fed385c3dd1dfd50f58b6 |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77cdcb1b792d37ffd8a85e4f3232feeb39e90e9e63090ffeda4a516033c81530 |
|
MD5 | e9840ae94ec35179c8f1def76d9fff4e |
|
BLAKE2b-256 | 4a92bd6487c41337414516bea666d844b08f00dd9d89b512e56d713465fbb6de |
Close
Hashes for typst-0.10.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2021b36ff65ca744b0f35f2e8a1280602fb41a4a5fc50d473dc8a06ac7852218 |
|
MD5 | a8860d283f71978529cc82894c3cf4fb |
|
BLAKE2b-256 | a6ae791b50604cc5a14e62cb8cb5fbb58d83aeb04dcd4173604b04fe194f9430 |
Close
Hashes for typst-0.10.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b325e25bcf29a6329c0482358e900210c54773097094f52ece80df230f9e2b0d |
|
MD5 | 6f5b0985fd04d4a29660a34371ca6d4d |
|
BLAKE2b-256 | cd4308ed01e0fdd1f28e1a7361047b8191ea7fe93d54659ebe6f4a318fc91c1d |
Close
Hashes for typst-0.10.0-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d76e159df9500b3302bff5d0a65a0761c599693a9ae27d29115f74843ed935 |
|
MD5 | ecc91d51fe4fd2911e04d3d7c726e13a |
|
BLAKE2b-256 | 76cbc130e4ff9d4596db5fe51710864d75650bfc66c0260b076c0b5cf234f72a |