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.52.1.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.52.1-py3-none-any.whl (259.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken_build-0.52.1.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.52.1.tar.gz
Algorithm Hash digest
SHA256 744ad429eb8ed001d58138fa768f06d72c41a09af9198dfdce526c6d15b21d5a
MD5 5176e9730a3e74b973d709acb37628c3
BLAKE2b-256 a02e729474eabaf6b7062e437d88f903e2b4a75c5f04429e56fea7c2059fc8c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for kraken_build-0.52.1.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.52.1-py3-none-any.whl.

File metadata

  • Download URL: kraken_build-0.52.1-py3-none-any.whl
  • Upload date:
  • Size: 259.0 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.52.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c16d1230ca2a04825fb0372b185b35a8cc1910e34f8a926d1d1de91ff2ba7c
MD5 f459142683b0d88e50effec2450bc34b
BLAKE2b-256 21b8fdc5bf6d9d10a5157ac1b288a0ff0708b7cb5ecd62c80256976bd5e2e1c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for kraken_build-0.52.1-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