Skip to main content

typst-pkg-sync

typst-pkg-sync downloads tagged Typst packages from GitHub, GitLab (including self-hosted instances), and Codeberg, then installs them in the local Typst package directory.

Requires Python 3.14 or newer. typst-pkg-sync has no runtime third-party dependencies.

Install

After typst-pkg-sync is published to PyPI, install it as a user tool with:

uv tool install typst-pkg-sync

To install from a local checkout while developing typst-pkg-sync:

uv tool install .

Configure

On its first run, typst-pkg-sync creates ~/.config/lpmt/config.toml and exits. The lpmt config directory is retained for compatibility. Edit the file to add repositories, then run typst-pkg-sync again. Alternatively, select a config file explicitly:

typst-pkg-sync --config /path/to/config.toml

See the example configuration for examples, including a self-hosted GitLab repository. GitLab entries can set base_url and an optional token_env per repository.

Packages are installed under:

<base_dir>/<namespace>/<package-name>/<version>/

The package name is read from typst.toml in the downloaded archive. A v prefix on a tag is removed from the installed version directory.

Development

Run the sample configuration with just run and the code-quality checks with just check.

typst-pkg-sync is licensed under MIT; see LICENSE.

Metadata

Release files for typst-pkg-sync 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typst-pkg-sync 0.1.0
File Size Uploaded
typst_pkg_sync-0.1.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typst-pkg-sync 0.1.0
File Interpreter ABI Platform
typst_pkg_sync-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / typst_pkg_sync-0.1.0.tar.gz

Download URL typst_pkg_sync-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3a66bc6236b8381e0157a2b0153990045be21f0e0c2b1a2415de3be2effab189
BLAKE2b-256 checksum
How to use checksums
4160a98671f3d2d7d337e555c0539e80c8deb22ceb9a715ace7bd70f448d58fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / typst_pkg_sync-0.1.0-py3-none-any.whl

Download URL typst_pkg_sync-0.1.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
990d463f48cba9429bd53fce54d3996e48b15a5a67dbfa38114a191317105ef3
BLAKE2b-256 checksum
How to use checksums
39b14cc48d25afa09595d8db317663b5ff4c3c427e1718ee0a8f61cae99a4071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release 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