8000 GitHub - kianmeng/typst-py: Python binding to typst
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kianmeng/typst-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typst-py

CI PyPI

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.

About

Python binding to typst

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.6%
  • Python 4.4%
0