Skip to main content

No project description provided

Project description

ESA PDS4 Packager

PyPI PyPI - Python Version PyPI - License Coookiecutter - Wolt


Documentation: https://luca-penasa.github.io/esa-pds4-packager

Source Code: https://github.com/luca-penasa/esa-pds4-packager

PyPI: https://pypi.org/project/esa-pds4-packager/


Installation

pip install esa-pds4-packager

Development

  • Clone this repository
  • Requirements:
    • uv
    • Python 3.10+
  • Create a virtual environment and install the dependencies
uv sync

Testing

uv run pytest

Documentation

The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github Pages page automatically as part each release.

Releasing

Manual release

Releases are done with the command, e.g. incrementing patch:

uv run just bump patch
# also push, of course:
git push origin main --tags

this will update the changelog, commit it, and make a corresponding tag.

as the CI is not yet configured for publish on pypi it can be done by hand:

uv build
uv publish --build path/to/wheel

Automatic release - to be fixed

Trigger the Draft release workflow (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.

Find the draft release from the GitHub releases and publish it. When a release is published, it'll trigger release workflow which creates PyPI release and deploys updated documentation.

Updating with copier

To update the skeleton of the project using copier:

uvx copier update --defaults

Pre-commit

Pre-commit hooks run all the auto-formatting (ruff format), linters (e.g. ruff and mypy), and other quality checks to make sure the changeset is in good shape before a commit/push happens.

You can install the hooks with (runs for each commit):

pre-commit install

Or if you want them to run only for each push:

pre-commit install -t pre-push

Or if you want e.g. want to run all checks manually for all files:

pre-commit run --all-files

This project was generated using a fork of the wolt-python-package-cookiecutter template.

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

esa_pds4_packager-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

esa_pds4_packager-0.0.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file esa_pds4_packager-0.0.1.tar.gz.

File metadata

  • Download URL: esa_pds4_packager-0.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for esa_pds4_packager-0.0.1.tar.gz
Algorithm Hash digest
SHA256 84b6e1d362a8ff6f0ed165956f7eee19d864bcd24febc33923fed9c8aa6fcc20
MD5 9dcf8e330778312086751e73ebed7991
BLAKE2b-256 af13219435c85424dcfbc2d04b1101b2b2b0a953bd7793f374510ba6a71bb8c0

See more details on using hashes here.

File details

Details for the file esa_pds4_packager-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for esa_pds4_packager-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44dbba6d4734e62f5068a14c15e8045845af3333376ef2539243500ee65a7c52
MD5 a480fe680b980b8fa6e1ab74232f6460
BLAKE2b-256 6498062ae07db0a5b86698a966087feaaa86cf987860a0c11d458f894c19d67a

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