yspdx
A Python package for processing several SPDX (Software Package Data Exchange) files generated from create-spdx.bbclass with different output formats.
Installation
pip install yspdx
Usage
The package provides a command-line interface with three different output modes:
- Full output (-f or --full):
yspdx -f
generate_full_details done!
- Binary-focused output (-b or --bin):
yspdx -b
generate_binary_details done!
- Minimal output (-m or --min):
yspdx -m
generate_minmal_details done!
- If you dont specify any of above it'll produce all 3 of the above outputs (-f,-b and-m):
> yspdx
generate_minmal_details done!
generate_binary_details done!
generate_full_details done!
You can also mix and match options for ex: -fb or -fm or -bm or even -fbm
By default, the tool looks for a file named system_extra.spdx.tar.zst in the current directory. You can specify a different archive path using the --archive option:
yspdx -f --archive /path/to/your/archive.spdx.tar.zst
Output Files
The tool generates different output files based on the selected mode:
- Minimal mode:
1non_build_recipes_only.txt - Binary mode:
2non_build_binaries_only.txt - Full mode:
3with_build_deps_full.txt
Author
Dinesh Ravi
License
Copyright (c) 2025 Dinesh Ravi GPL-3.0+ License
Metadata
Release files for yspdx 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yspdx-0.1.4.tar.gz | 31.1 kB | Without provenance | Details for yspdx-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yspdx-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for yspdx-0.1.4-py3-none-any.whl |
Total release size: 55.4 kB
Release files / yspdx-0.1.4.tar.gz
| Download URL | yspdx-0.1.4.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
320ef1a825d3197ea12bc5a8299a6dd82af1528bdbba1965707bccb888f834d8
|
|
BLAKE2b-256 checksum How to use checksums |
27ed086daca2cd9ac1720a11843e915743ac75612ad543a273d267ffe208fa11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.2
|
Release files / yspdx-0.1.4-py3-none-any.whl
| Download URL | yspdx-0.1.4-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9334b0de12f9f4732cbcc00be076dc1ace75e3b8a95ee6d9f3e483e1fbb8c578
|
|
BLAKE2b-256 checksum How to use checksums |
bc6dd86a542c39e2b64f8caf8a69b127ec23f77368e1157ebae1ae783f55b774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.2
|
Security for yspdx 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.