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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typst_pkg_sync-0.2.1.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typst_pkg_sync-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / typst_pkg_sync-0.2.1.tar.gz
| Download URL | typst_pkg_sync-0.2.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15ff938e1ba42ba2dfcaf23704bc1a543ce1c8117356b4b043554ee7bd0ed498
|
|
BLAKE2b-256 checksum How to use checksums |
f6ecadd5973db4b46a3ede1de184cbddcf0da734e4547bb845e93ab4e451561f
|
| 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.1-py3-none-any.whl
| Download URL | typst_pkg_sync-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
081f258d9f45084c128ed7d9ca79e5fab4fb8e878452c06314f0b4ab0f026aa2
|
|
BLAKE2b-256 checksum How to use checksums |
2bdb5abe283cccdc241eeaafc3a79110ec8029f504cf21dd8390306a8aa8758b
|
| 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}
|