Skip to content

sonatype/fig-python2

Repository files navigation

fig-python2

Flask 3.x dependency explorer for Sonatype training labs.

Quick start

make up
# App runs at http://localhost:8087

Endpoints

Path Description
/ Home — search bar + dependency grid
/dep/<name>/<version> Dependency detail with Sonatype link
/info Build / app info (JSON)
/health Health check (JSON)
/api/search?q=... Search API (JSON)

Development

# Run locally
pip install -r requirements-dev.txt
python app.py

# Run tests
pytest --tb=short -q

# Docker
make up      # start
make logs    # tail logs
make down    # stop
make test    # run tests in container

Sonatype scan

export IQ_SERVER_URL=https://your-iq-server
export IQ_USERNAME=admin
export IQ_TOKEN=your-token
make scan

About

Sonatype sample app — dependency explorer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors