Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bomlens-example-python

A small Flask REST API used as an example project for SBOM generation.

It declares 14 direct dependencies in requirements.txt — Flask, Pandas, NumPy, Requests, SQLAlchemy, and common tooling — and intentionally ships no lockfile. A real install resolves the full transitive dependency tree, so an SBOM built from this project surfaces far more components than the 14 pinned lines suggest.

Generate an SBOM

Using BomLens — point it straight at this repository, no local checkout required:

docker run --rm \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v "$PWD:/out" \
  ghcr.io/sktelecom/bomlens:latest \
  --git https://github.com/sktelecom/bomlens-example-python \
  --project bomlens-example-python --version 1.0.0 -o /out

Or open the BomLens desktop app / web UI, choose Git URL, and paste the repository address.

Run the app

pip install -r requirements.txt
python app.py

License

Apache-2.0.

About

A no-lockfile Flask example project for SBOM generation demos with BomLens

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages