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/typst-pkg-sync/config.toml and exits. 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.

To release a new version run the recipes publish and tag. See what they do before running them.

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

Metadata

Release files for typst-pkg-sync 0.2.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.2.0
File Size Uploaded
typst_pkg_sync-0.2.0.tar.gz 7.5 kB Details

Built distribution (wheel)

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

Total release size: 16.7 kB

Release files / typst_pkg_sync-0.2.0.tar.gz

Download URL typst_pkg_sync-0.2.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5cfc7fec8f453d9b0173376cda6806f57813bb12d6fd64cdb8acd9299ee856c
BLAKE2b-256 checksum
How to use checksums
b0b15b367ac21ece12ad0ba7100368a25c09658ea2ae9f95c6dc24b9472dd99c
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.2.0-py3-none-any.whl

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

This release

0.2.0 This release

2 release files

0.1.1

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