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.4-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sentineltoolbox-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f51c86c96b1a88b1985bd23bfb3812d8da0bf13ff7a4007211d1b6b4e91140f3
MD5 14e7069f7c8896d5c156ec54fcc6cd22
BLAKE2b-256 ad55b9f4407e33d3e2a66246de0d024e5da5fa1f556fdd74eea81e3cd6d215cf

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