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

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.2
File Size Uploaded
typst_pkg_sync-0.2.2.tar.gz 8.2 kB Details

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / typst_pkg_sync-0.2.2.tar.gz

Download URL typst_pkg_sync-0.2.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d538c2b689c3f3cbb61887792022334639476fe418ad35fd890917a6d8caadf5
BLAKE2b-256 checksum
How to use checksums
5056ef5b78d84a461c8e37963bbaa7a81986f97a1bcb561f902a9cca42e553e8
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.2-py3-none-any.whl

Download URL typst_pkg_sync-0.2.2-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7557ac80671cdd65198843eae739c42c08b7042c6d7703337082cbdcaf72a344
BLAKE2b-256 checksum
How to use checksums
ff65716e01941555c0a46448db08407ab76f2312b4c511991458d7a16fe6f388
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

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

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