kraken-build 0.44.0
pip install kraken-build
Released:
No project description provided
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Niklas Rosenstein
- Requires: Python <3.14, >=3.10
Classifiers
- License
- Programming Language
Project description
The Kraken build system
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 Poetry, 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 Pipx) to get access to thekrakenw
command-line tool. -
Create a
.kraken.py
script in your project's root directory.from kraken.common import buildscript buildscript(requirements=["kraken-build==0.32.3"]) from kraken.std.python import mypy, black, isort mypy() black() isort()
-
Run
krakenw lock
to installkraken-build
for your project inbuild/.kraken/venv
and generate akraken.lock
file. -
Run
krakenw run lint
to run the linters.
Note that you can also use the
kraken
CLI (instead ofkrakenw
), however this will disregard thebuildscript()
function, will not use the lock file and will use the version of Kraken that was installed globally.
How-to's
Upgrade a project's lock file
To upgrade a project's lock file, run krakenw lock --upgrade
. This will upgrade all dependencies to the latest
available version. If you want to upgrade based on updated constraints in .kraken.py
without installing from scratch,
add the --incremental
flag or set KRAKENW_INCREMENTAL=1
.
Development
This repository uses Slap to manage the Python project. After installing Slap with Pipx, run the following to install Kraken for development.
$ slap venv -c --python python3.10
$ slap install --link
# If you have the Slap shell magic installed, it will activate the Venv in your shell.
$ slap venv -a
You may want to use a released version of krakenw
to interact in the repository however:
$ krakenw run python.install
$ krakenw run fmt lint test
Releases
A release must be created by a maintainer that has write access to the develop
branch. The release process
is automated using Slap.
$ slap release -tp <patch|minor|major|x.y.z>
$ slap publish
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Niklas Rosenstein
- Requires: Python <3.14, >=3.10
Classifiers
- License
- Programming Language
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
Built Distribution
File details
Details for the file kraken_build-0.44.0.tar.gz
.
File metadata
- Download URL: kraken_build-0.44.0.tar.gz
- Upload date:
- Size: 174.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d78e54eca1cb2feda853dbdb683179f1dd12d13483d698e8fd7dad8f0c390e |
|
MD5 | f3a316b05b254c5217351fddc1fce965 |
|
BLAKE2b-256 | 924a493dc2a10a540409b6c966bde8c2c26c5b6f295dd5341fc3f9edb719e1cf |
Provenance
The following attestation bundles were made for kraken_build-0.44.0.tar.gz
:
Publisher:
on-commit.yaml
on kraken-build/kraken
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
kraken_build-0.44.0.tar.gz
- Subject digest:
28d78e54eca1cb2feda853dbdb683179f1dd12d13483d698e8fd7dad8f0c390e
- Sigstore transparency entry: 178473445
- Sigstore integration time:
- Permalink:
kraken-build/kraken@3f1c3d0e8bd50461feb97cf11a2b61830ad4a004
- Branch / Tag:
refs/tags/0.44.0
- Owner: https://github.com/kraken-build
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
on-commit.yaml@3f1c3d0e8bd50461feb97cf11a2b61830ad4a004
- Trigger Event:
push
- Statement type:
File details
Details for the file kraken_build-0.44.0-py3-none-any.whl
.
File metadata
- Download URL: kraken_build-0.44.0-py3-none-any.whl
- Upload date:
- Size: 252.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce289c48baa5ac678da3d18e95b69c601ca9adbc0c0f0c11d6b9b27e12e77e3 |
|
MD5 | dceba9bb46f25555f873b3df109ddd35 |
|
BLAKE2b-256 | 65c57b2a84c81eeda9249723608070fabf970df5914e2e4d0793b939233cc9ef |
Provenance
The following attestation bundles were made for kraken_build-0.44.0-py3-none-any.whl
:
Publisher:
on-commit.yaml
on kraken-build/kraken
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
kraken_build-0.44.0-py3-none-any.whl
- Subject digest:
1ce289c48baa5ac678da3d18e95b69c601ca9adbc0c0f0c11d6b9b27e12e77e3
- Sigstore transparency entry: 178473454
- Sigstore integration time:
- Permalink:
kraken-build/kraken@3f1c3d0e8bd50461feb97cf11a2b61830ad4a004
- Branch / Tag:
refs/tags/0.44.0
- Owner: https://github.com/kraken-build
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
on-commit.yaml@3f1c3d0e8bd50461feb97cf11a2b61830ad4a004
- Trigger Event:
push
- Statement type: