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:
docscontains the source of thesentineltoolboxdocumentation.sentineltoolboxcontains the source code of the project's main Python package.testscontains the unit and integration tests of thesentineltoolboxproject.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentineltoolbox-0.1.6-py3-none-any.whl.
File metadata
- Download URL: sentineltoolbox-0.1.6-py3-none-any.whl
- Upload date:
- Size: 118.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4983f0cc370c46ea2240821829b7fd3d7c9694c99bf5a0384687a832b84e2fc6
|
|
| MD5 |
8ad25aeab97987a507f60f69aed33365
|
|
| BLAKE2b-256 |
663043f882a09b4cb46aaeb088c73280e1b09a6115a6c5b69458853240c09f46
|