Skip to main content

Kraken is an extensible build orchestration system.

Project description

The Kraken build system

kraken-logo

Python
PyPI version
Documentation
Release

Kraken is a build system, but not in the traditional sense. It's focus is on the orchestration of high-level tasks, such as organization of your repository configuration, code generation, invoking other build systems, etc. It is not a replacement for tools like Uv, Cargo or CMake.

Requirements

  • CPython 3.10+

Getting started

Currently, Kraken's OSS components are not very well documented and do not provide a convenient way to get started. However, if you really want to try it, you can use the following steps:

Install kraken-wrapper (e.g. with Uv) to get access to the krakenw command-line tool.

Create a .kraken.py script in your project's root directory.

Run krakenw lock to install kraken-build for your project in build/.kraken/venv and generate a kraken.lock file.

Run krakenw run lint to run the linters.

Note that you can also use the kraken CLI (instead of krakenw), however this will disregard the buildscript() function, will not use the lock file and will use the version of Kraken that was installed globally.

Development

This repository uses Uv, but not currently a Uv-workspace because Kraken does not support that, yet. You may want to use a released version of krakenw instead of the live version in kraken-wrapper/ to interact with this repository. You can use Mise to install all the tools you need.

$ mise install
$ eval "$(mise activate)"
$ krakenw run fmt lint test

Release process

A release must be created by a maintainer that has write access to the develop branch.

$ ./scripts/bump.py X.Y.Z --release

The packages are published to PyPI from CI.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kraken_build-0.51.0.tar.gz (335.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kraken_build-0.51.0-py3-none-any.whl (259.1 kB view details)

Uploaded Python 3

File details

Details for the file kraken_build-0.51.0.tar.gz.

File metadata

  • Download URL: kraken_build-0.51.0.tar.gz
  • Upload date:
  • Size: 335.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kraken_build-0.51.0.tar.gz
Algorithm Hash digest
SHA256 8f504be563767afefec0ece7d50cb49d85faca947fa0f9e44d91c897e985eec7
MD5 62460e5590476cb02b8f01704adb39e9
BLAKE2b-256 f44b3bbee7f89126b9582068e7abedeb5706cba9b0c715a7284408179f78729e

See more details on using hashes here.

Provenance

The following attestation bundles were made for kraken_build-0.51.0.tar.gz:

Publisher: python.yaml on kraken-build/kraken

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kraken_build-0.51.0-py3-none-any.whl.

File metadata

  • Download URL: kraken_build-0.51.0-py3-none-any.whl
  • Upload date:
  • Size: 259.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kraken_build-0.51.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ca0d97d3b4687baee06012700cd69883e78e63c848d3d030a95cfcb2253cc6e
MD5 5163d08ac748c3e045897de3558c9ac1
BLAKE2b-256 8303fd58fd8261fcb53dad6513d3a01c91c70d561f034d0eb2ca5127af77d4b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for kraken_build-0.51.0-py3-none-any.whl:

Publisher: python.yaml on kraken-build/kraken

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page