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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken_build-0.52.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.52.0.tar.gz
Algorithm Hash digest
SHA256 29fdc5f5006320066e62f0e5a78ed3d3bcc7d144ebfb3720a6ff228fe42ae274
MD5 209acf9c5935774ab2cc85e5c2d4cda7
BLAKE2b-256 3a9223d32a39787c039ec4cbb915d580beff164faf6a7588e14f6871dce1dba0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: kraken_build-0.52.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.52.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d00f6b3e2f47869a48dfe6a119bdc4cac80143629a6a3e093a7fe7281001250
MD5 592d42f13309c884a4df4a1e8b88a27c
BLAKE2b-256 81dd4901cdee27d51f6fc5cb27bf372c96868f39d3d67e8b0e3209f6fb0a4e40

See more details on using hashes here.

Provenance

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