KCIDB = Linux Kernel CI reporting - I/O data library
Project description
kcidb-io
kcidb-io is a Python 3 library for validating and manipulating Linux Kernel
CI reports in JSON format. This library is used by kcidb - a
package for maintaining a service storing and serving that data.
Installation
kcidb-io requires Python v3.10 or later.
To install the latest version from PyPI:
pip3 install kcidb-io
To install from the git repository:
pip3 install git+https://github.com/kernelci/kcidb-io.git
To install from a local directory:
pip3 install .
Using
Here's an example creating an empty report and then validating it:
# Import the kcidb-io package
import kcidb_io
# Create an empty report using the latest schema version
json = kcidb_io.new()
# Validate the report
kcidb_io.schema.validate(json)
Hacking
If you want to hack on the source code, install the package in the editable
mode with the -e/--editable option, and with "dev" extra included. E.g.:
pip3 install --user --editable '.[dev]'
The latter installs the kcidb-io package using the modules from the source
directory, and changes to them will be reflected immediately without the need
to reinstall. It also installs extra development tools, such as flake8 and
pylint.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kcidb_io-139.tar.gz.
File metadata
- Download URL: kcidb_io-139.tar.gz
- Upload date:
- Size: 114.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da7cf38d3478f72cc0941f302aaa4a94c933221b12a535c5889e36d8c2355a48
|
|
| MD5 |
d4e801014f7849a076ff651cff7b6491
|
|
| BLAKE2b-256 |
c1f769fc15a51f209067fccca05e99eb30f7901b15218326412de39e4e69d154
|
Provenance
The following attestation bundles were made for kcidb_io-139.tar.gz:
Publisher:
main.yml on kernelci/kcidb-io
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kcidb_io-139.tar.gz -
Subject digest:
da7cf38d3478f72cc0941f302aaa4a94c933221b12a535c5889e36d8c2355a48 - Sigstore transparency entry: 804592026
- Sigstore integration time:
-
Permalink:
kernelci/kcidb-io@77c692238d58fe15d6f82791442daf814ccade28 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kernelci
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@77c692238d58fe15d6f82791442daf814ccade28 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kcidb_io-139-py3-none-any.whl.
File metadata
- Download URL: kcidb_io-139-py3-none-any.whl
- Upload date:
- Size: 141.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9680584df1eeaaaab1b5877620108b17b9e461d1d227a535439bac362789b142
|
|
| MD5 |
715181ac43a32e7a466961fde8e14b32
|
|
| BLAKE2b-256 |
2cde6160bb1b3ed33b992ffc7374e11692b1da4cac3c214b83629cad2c2d9201
|
Provenance
The following attestation bundles were made for kcidb_io-139-py3-none-any.whl:
Publisher:
main.yml on kernelci/kcidb-io
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kcidb_io-139-py3-none-any.whl -
Subject digest:
9680584df1eeaaaab1b5877620108b17b9e461d1d227a535439bac362789b142 - Sigstore transparency entry: 804592027
- Sigstore integration time:
-
Permalink:
kernelci/kcidb-io@77c692238d58fe15d6f82791442daf814ccade28 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kernelci
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@77c692238d58fe15d6f82791442daf814ccade28 -
Trigger Event:
push
-
Statement type: