Skip to main content

SPDX file processor for master yocto system information from create-spdx.bbclass

Project description

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:

  1. Full output (-f or --full):
yspdx -f
generate_full_details done!
  1. Binary-focused output (-b or --bin):
yspdx -b
generate_binary_details done!
  1. Minimal output (-m or --min):
yspdx -m
generate_minmal_details done!
  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yspdx-0.1.4.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yspdx-0.1.4-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file yspdx-0.1.4.tar.gz.

File metadata

  • Download URL: yspdx-0.1.4.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yspdx-0.1.4.tar.gz
Algorithm Hash digest
SHA256 320ef1a825d3197ea12bc5a8299a6dd82af1528bdbba1965707bccb888f834d8
MD5 2144d08774c0c68edab4f26a0652bb92
BLAKE2b-256 27ed086daca2cd9ac1720a11843e915743ac75612ad543a273d267ffe208fa11

See more details on using hashes here.

File details

Details for the file yspdx-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: yspdx-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yspdx-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9334b0de12f9f4732cbcc00be076dc1ace75e3b8a95ee6d9f3e483e1fbb8c578
MD5 c0acfcc54203472c6429499e8a23a1ad
BLAKE2b-256 bc6dd86a542c39e2b64f8caf8a69b127ec23f77368e1157ebae1ae783f55b774

See more details on using hashes here.

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