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.1

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.1
File Size Uploaded
typst_pkg_sync-0.1.1.tar.gz 7.5 kB Details

Built distribution (wheel)

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

Total release size: 16.7 kB

Release files / typst_pkg_sync-0.1.1.tar.gz

Download URL typst_pkg_sync-0.1.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ae03d43ea8e1c8048beb4d126c5acde7ffc86d7466e695a3738812b7eb8590d5
BLAKE2b-256 checksum
How to use checksums
63956f855c92277fb40abaaece3d93826ea01031687a634b66decb3a35931a75
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.1-py3-none-any.whl

Download URL typst_pkg_sync-0.1.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa8f672b31e2185ad3b6b01ddb77548ab44cc1e01515f3f5a12a5fc743c59313
BLAKE2b-256 checksum
How to use checksums
b07961e4295800f2139a6b97228730724a3d2d7e2a7008fe4fc1a60a3919966c
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

This release

0.1.1 This release

2 release files

0.1.0

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