Skip to content

Add deliverable packaging and QGIS interoperability#64

Closed
chrislyonsKY wants to merge 13 commits intomainfrom
feature/packaging-qgis
Closed

Add deliverable packaging and QGIS interoperability#64
chrislyonsKY wants to merge 13 commits intomainfrom
feature/packaging-qgis

Conversation

@chrislyonsKY
Copy link
Copy Markdown
Owner

Summary

  • Add SearchResult.package() for turnkey deliverable packaging (search → download → package in one call)
  • New abovepy package CLI command with full pipeline support
  • QGIS project generation (PyQGIS when available, XML template fallback)
  • Package output includes: data tiles, footprints.gpkg, manifest.json, provenance.json, preview.png, DISCLAIMER.txt, .qgs project, .qml styles
  • SHA-256 checksums for all data files (parallel computation)
  • Preview image generation (TiTiler first, matplotlib fallback)
  • New PackageError exception and Package dataclass

New modules

  • package.py — packaging pipeline, checksums, manifest, preview, DISCLAIMER
  • qgis.py — QGIS project generation, footprints GeoPackage builder
  • templates/ — QGIS XML skeleton, QML styles, DISCLAIMER template

Test plan

  • 27 new unit tests (20 in test_package.py, 7 in test_qgis.py)
  • Full suite: 481 passed, 80% coverage
  • Lint clean (ruff check + format)
  • Integration test with live STAC API (next scheduled CI run)

🤖 Generated with Claude Code

@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 69 high · 2 medium

Alerts:
⚠ 71 issues (≤ 0 issues of at least minor severity)

Results:
71 new issues

Category Results
ErrorProne 5 high
Security 2 medium
64 high

View in Codacy

🟢 Metrics 90 complexity · 6 duplication

Metric Results
Complexity 90
Duplication 6

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@chrislyonsKY
Copy link
Copy Markdown
Owner Author

Replaced by PR from feature/packaging-qgis-v2 (code scanning rule blocked pushes to original branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant