Skip to main content

byk · PyPI CI Coverage

English · 简体中文

An alias runner. Commands live in *.byk.json, you call them by short names.

byk does two things — find an alias, run it. One binary, one config format.

Use

byk scans every *.byk.json in the current directory and in the global ~/.byk/alias/ — each key in those files is a command you can run.

Write a run.byk.json in your project by hand:

// run.byk.json
{
  "dev": "pnpm dev",
  "build": "pnpm build",
  "deploy": {
    "$cmd": "deploy --env {env}",
    "$mode": "interactive"
  }
}
byk dev             # pnpm dev
byk build           # pnpm build
byk deploy          # asks for {env}, confirms, then runs

{env} is a placeholder — byk deploy asks what to put there, then splices it in; $mode: "interactive" means it confirms before running; commands run in the directory you invoke byk from. For the other fields see Alias Configuration.

To use it from any directory, put the file in ~/.byk/alias/. Opening an editor there is awkward, so let byk edit it (global@ targets the global directory):

byk global@ops init                          # create ~/.byk/alias/ops.byk.json
byk global@ops set clean --cmd "cargo clean" # add one entry
byk global@ops json                          # look at what is there now

Already have one in a project? byk global@run clone work@run copies it over.

CLI

Five invocation forms:

  • byk <alias> [args...] — look it up across the current and global directories, then run it
  • byk work@file.key / global@file.key — route straight to one exact file
  • byk work@file command — file commands: init, set, remove, json, path, rename, clone, link, deps, destroy, clear; byk work@file -h lists them all
  • byk special@file command — special files, non-alias files that each have their own commands: special@config (settings), special@tap (tap repositories), special@shell (your shell's startup file); byk special@config -h lists them
  • byk __api__ — read-only interface for shell completion and editor plugins (hidden)

Options: --paths lists the alias files byk scans, --check validates them, -h shows help and every alias, -v shows the version. Downloads follow BYK_USE_PROXY / BYK_PROXY, existing proxy variables, and the Windows system proxy. Full descriptions live in Options & Commands, File Commands and Special Files.

Installation

pip install byk

Or via shell script (no Python needed):

curl -fsSL https://cli.fcbyk.com/install.sh | bash

Windows:

powershell -c "irm https://cli.fcbyk.com/install.ps1 | iex"

Docs

License

MIT

Metadata

Release files for byk 0.9.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 byk 0.9.0
File Size Uploaded Provenance Actions
byk-0.9.0.tar.gz 261.6 kB With provenance Details for byk-0.9.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for byk 0.9.0
File Actions
byk-0.9.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for byk-0.9.0-py3-none-win_amd64.whl
byk-0.9.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for byk-0.9.0-py3-none-manylinux_2_34_x86_64.whl
byk-0.9.0-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for byk-0.9.0-py3-none-manylinux_2_34_aarch64.whl
byk-0.9.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for byk-0.9.0-py3-none-macosx_11_0_arm64.whl
byk-0.9.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for byk-0.9.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 3.9 MB

Release files / byk-0.9.0.tar.gz

Download URL byk-0.9.0.tar.gz
Size 261.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d0fb4d4d7cb503fcff408ff36363c0772de0e75eb86eb58c161865e8cb458164
BLAKE2b-256 checksum
How to use checksums
187f1c2aba21b1e1a7899348026114bf4560d8cbe18c4cd2f034bd982d163183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / byk-0.9.0-py3-none-win_amd64.whl

Download URL byk-0.9.0-py3-none-win_amd64.whl
Size 712.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7f31cd6f1fe074c73e763fee1dd9ad99cf130f7a587ede245acc49db3117d870
BLAKE2b-256 checksum
How to use checksums
bb9d999c4fd1f18e42df4eb6857452980a8bc8d9092c99fecd771f953525c1dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / byk-0.9.0-py3-none-manylinux_2_34_x86_64.whl

Download URL byk-0.9.0-py3-none-manylinux_2_34_x86_64.whl
Size 766.5 kB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
714c862ef202e7e5ab4911e017297bf7f4a463a03b008be24f271b638bee4108
BLAKE2b-256 checksum
How to use checksums
693e4d3b1ed249f1104b25f49f92139557cc1bb6f67e8e0088593e2826220b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / byk-0.9.0-py3-none-manylinux_2_34_aarch64.whl

Download URL byk-0.9.0-py3-none-manylinux_2_34_aarch64.whl
Size 762.2 kB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c7e052a99d00fcc46c106b1b84e425249cf41fca7bc59ad018bcc1de739aead2
BLAKE2b-256 checksum
How to use checksums
7dc8a17fba020fcb83c3d724076f27ac8c01b468ff6429b4fe7e0700d41f29dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / byk-0.9.0-py3-none-macosx_11_0_arm64.whl

Download URL byk-0.9.0-py3-none-macosx_11_0_arm64.whl
Size 695.2 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
42ba7d02c7b16042b2b154157c35ea34794d698fd1d5c1f9dba7bd249f6c699e
BLAKE2b-256 checksum
How to use checksums
12cca176a45a12300c55c00d866b2f6cc12618c7e4739201b44801f87789e92f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / byk-0.9.0-py3-none-macosx_10_12_x86_64.whl

Download URL byk-0.9.0-py3-none-macosx_10_12_x86_64.whl
Size 721.0 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
eebaf41af1d266258df3662272cb92504045549af280fea237a1bcb448f65e77
BLAKE2b-256 checksum
How to use checksums
00e07f902ba26dea869cb790c0a7b004c52117796a4eddcc55d24cc098a41198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for byk 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for byk-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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