Skip to main content

No project description provided

Project description

sentineltoolbox

This repository contains the sentineltoolbox project.

Common implementations for all the processors.

Project Structure

This project is organized as follows:

  • docs contains the source of the sentineltoolbox documentation.
  • sentineltoolbox contains the source code of the project's main Python package.
  • tests contains the unit and integration tests of the sentineltoolbox project.

Tools

The following tools are used by this project:

  • .gitlab-ci.yml: GitLab CI pipeline including the following tools:
    • mypy: Static type checker.
    • isort: Import formatter.
    • black: Python code formatter.
    • bandit: Common security issuer.
    • flake8: Python code linter.
    • xenon: Complexity monitor.
    • Sonarqube: Quality check.
    • trivy: Scanner for vulnerabilities.
    • sphinx: Document generation.
  • pre-commit-config.yaml: Pre-commit hooks executed on commits.
  • pyproject.toml: Build system requirements for Python.
  • docs/conf.py: Sphinx documentation generator configuration.

Documentation

The sentineltoolbox documentation is available online at https://DPR-ACR.pages.eopf.copernicus.eu/sentineltoolbox.

Build

To build the Python module of the sentineltoolbox project using wheel, run:

pip wheel -w dist --no-deps .

The GitLab CI pipeline will also automatically build the package.

Run tests

To execute the tests locally using pytests, run:

python -m pytest tests/

The GitLab CI pipeline will also automatically run the unit and integration tests of the project.

Packaging

The project's Python package can be uploaded into GitLab's package registry using twine. Please see GitLab's project settings for the TWINE credentials and the other environment variables:

TWINE_PASSWORD=${CI_REGISTRY_PASSWORD}
TWINE_USERNAME=${CI_REGISTRY_USER}
python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*

The GitLab CI pipeline will also automatically publish the package to GitLab's package registry when the pipeline is run for a tag.

Documentation generation

The project's documentation can be generated using Sphinx. The GitLab CI pipeline will generate and deploy the documentation when run for the default branch. It will generate the documentation accessible through Gitlab Pages from project's docs folder.

The generation of the API documentation from the Python docstrings included in the source code is included in the documentation generation process.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sentineltoolbox-0.1.6-py3-none-any.whl (118.5 kB view details)

Uploaded Python 3

File details

Details for the file sentineltoolbox-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for sentineltoolbox-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4983f0cc370c46ea2240821829b7fd3d7c9694c99bf5a0384687a832b84e2fc6
MD5 8ad25aeab97987a507f60f69aed33365
BLAKE2b-256 663043f882a09b4cb46aaeb088c73280e1b09a6115a6c5b69458853240c09f46

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