eo_products 0.0.0.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,196 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm-project.org/#use-with-ide
110
+ .pdm.toml
111
+ .pdm-python
112
+ .pdm-build/
113
+
114
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
115
+ __pypackages__/
116
+
117
+ # Celery stuff
118
+ celerybeat-schedule
119
+ celerybeat.pid
120
+
121
+ # SageMath parsed files
122
+ *.sage.py
123
+
124
+ # Environments
125
+ .env
126
+ .venv
127
+ env/
128
+ venv/
129
+ ENV/
130
+ env.bak/
131
+ venv.bak/
132
+
133
+ # Spyder project settings
134
+ .spyderproject
135
+ .spyproject
136
+
137
+ # Rope project settings
138
+ .ropeproject
139
+
140
+ # mkdocs documentation
141
+ /site
142
+
143
+ # mypy
144
+ .mypy_cache/
145
+ .dmypy.json
146
+ dmypy.json
147
+
148
+ # Pyre type checker
149
+ .pyre/
150
+
151
+ # pytype static type analyzer
152
+ .pytype/
153
+
154
+ # Cython debug symbols
155
+ cython_debug/
156
+
157
+ # PyCharm
158
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
159
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
161
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
162
+ #.idea/
163
+
164
+ # Distribution / packaging
165
+ build/
166
+ _build/
167
+ dist/
168
+ *.egg-info/
169
+ .ipynb_checkpoints/
170
+ .nox
171
+
172
+ # Pyenv
173
+ .python-version
174
+
175
+ # VS Code project settings
176
+ .vscode
177
+
178
+ # PyCharm project settings
179
+ .idea
180
+
181
+ # Spyder project settings
182
+ .spyproject
183
+
184
+ # Environments
185
+ venv*
186
+
187
+ # Docker
188
+ docker-compose.yml
189
+ Dockerfile
190
+ .devcontainer
191
+
192
+ # Other
193
+ *.bak
194
+ .coverage
195
+ htmlcov
196
+ *.svg
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (C) Aresys S.r.l. <info@aresys.it>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,84 @@
1
+ Metadata-Version: 2.4
2
+ Name: eo_products
3
+ Version: 0.0.0.dev0
4
+ Summary: Collection of SAR Earth Observation L1 Product Formats readers.
5
+ Author-email: "Aresys S.R.L." <info@aresys.it>
6
+ License: MIT License
7
+
8
+ Copyright (C) Aresys S.r.l. <info@aresys.it>
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ License-File: LICENSE.txt
28
+ Classifier: Development Status :: 5 - Production/Stable
29
+ Classifier: Intended Audience :: Developers
30
+ Classifier: Intended Audience :: Education
31
+ Classifier: Intended Audience :: Science/Research
32
+ Classifier: License :: OSI Approved :: MIT License
33
+ Classifier: Natural Language :: English
34
+ Classifier: Operating System :: OS Independent
35
+ Classifier: Programming Language :: Python
36
+ Classifier: Programming Language :: Python :: 3
37
+ Classifier: Programming Language :: Python :: 3 :: Only
38
+ Classifier: Programming Language :: Python :: 3.11
39
+ Classifier: Programming Language :: Python :: 3.12
40
+ Classifier: Programming Language :: Python :: 3.13
41
+ Classifier: Programming Language :: Python :: 3.14
42
+ Classifier: Topic :: Scientific/Engineering
43
+ Classifier: Topic :: Utilities
44
+ Classifier: Typing :: Typed
45
+ Requires-Python: >=3.11
46
+ Requires-Dist: h5py
47
+ Requires-Dist: imagecodecs
48
+ Requires-Dist: lxml
49
+ Requires-Dist: numpy>2
50
+ Requires-Dist: perseo-core>=1.0.0
51
+ Requires-Dist: sarpy
52
+ Requires-Dist: tifffile
53
+ Requires-Dist: zarr
54
+ Provides-Extra: dev
55
+ Requires-Dist: pylint; extra == 'dev'
56
+ Requires-Dist: ruff; extra == 'dev'
57
+ Provides-Extra: docs
58
+ Requires-Dist: mkdocstrings-python; extra == 'docs'
59
+ Requires-Dist: zensical; extra == 'docs'
60
+ Provides-Extra: test
61
+ Requires-Dist: coverage; extra == 'test'
62
+ Requires-Dist: unittest-xml-reporting; extra == 'test'
63
+ Description-Content-Type: text/markdown
64
+
65
+ # EO Products
66
+
67
+ **EO Products** is a Python package designed to simplify access to **Level-1 Synthetic Aperture Radar** (SAR) Earth Observation products and SAR auxiliary data.
68
+ It provides a unified collection of readers tailored to a variety of SAR product formats, enabling users to efficiently
69
+ extract and work with both metadata and raster data.
70
+
71
+
72
+ ## Project Status
73
+
74
+ ⚠️ Coming Soon ⚠️
75
+
76
+ This package is currently a placeholder release.
77
+
78
+ It has been published to PyPI to reserve the project name as part of our release and distribution planning process. The full implementation, documentation, and production-ready features will be made available in an upcoming official release.
79
+
80
+ At this stage, the package does not provide functional capabilities and should not be used in production environments.
81
+
82
+ Further updates, including technical documentation and usage guidelines, will follow shortly.
83
+
84
+ Stay tuned for updates. 🚀
@@ -0,0 +1,20 @@
1
+ # EO Products
2
+
3
+ **EO Products** is a Python package designed to simplify access to **Level-1 Synthetic Aperture Radar** (SAR) Earth Observation products and SAR auxiliary data.
4
+ It provides a unified collection of readers tailored to a variety of SAR product formats, enabling users to efficiently
5
+ extract and work with both metadata and raster data.
6
+
7
+
8
+ ## Project Status
9
+
10
+ ⚠️ Coming Soon ⚠️
11
+
12
+ This package is currently a placeholder release.
13
+
14
+ It has been published to PyPI to reserve the project name as part of our release and distribution planning process. The full implementation, documentation, and production-ready features will be made available in an upcoming official release.
15
+
16
+ At this stage, the package does not provide functional capabilities and should not be used in production environments.
17
+
18
+ Further updates, including technical documentation and usage guidelines, will follow shortly.
19
+
20
+ Stay tuned for updates. 🚀
@@ -0,0 +1,13 @@
1
+ ---
2
+ icon: lucide/badge-info
3
+ ---
4
+
5
+ # Build
6
+
7
+ Documentation build info and versioning information.
8
+
9
+ Version: ==__TAG__==
10
+
11
+ Commit: ==__SHA__==
12
+
13
+ Build date: ==__DATE__==
@@ -0,0 +1,44 @@
1
+ ---
2
+ icon: lucide/sparkles
3
+ title: Overview
4
+ tags:
5
+ - SAR
6
+ - SCT
7
+ ---
8
+
9
+ # SAR L1 Products Readers
10
+
11
+ ``EO Products`` is a Python package designed to simplify access to **Level-1 Synthetic Aperture Radar** (SAR) Earth Observation products.
12
+ It provides a unified collection of readers tailored to a variety of SAR product formats, enabling users to efficiently
13
+ extract and work with both metadata and raster data.
14
+
15
+ The readers included in this package are built to handle the most commonly used metadata fields and ensure full access to
16
+ the associated raster data, making them suitable for a wide range of scientific and operational applications.
17
+
18
+ !!! warning "Reader Completeness"
19
+
20
+ While the implementation aims to cover the majority of relevant product information, it does not guarantee complete
21
+ representation of every metadata element available in the original product specifications.
22
+
23
+ EO Products is intended for developers, researchers, and practitioners who need a practical and consistent interface for
24
+ ingesting SAR data into analysis workflows, without requiring deep familiarity with the complexities of individual
25
+ product formats.
26
+
27
+ These readers are designed to be flexible and adaptable, allowing users to customize their workflows based on their specific
28
+ requirements and the characteristics of the data they are working with.
29
+ Most of [SCT Product Formats Plugins](http://intranet.aresys.it/sardashboard/develop/sct-plugins/docs/docs/latest/) are
30
+ based on the readers included in this package.
31
+
32
+ ## Supported Formats
33
+
34
+ EO Products currently supports the following SAR products:
35
+
36
+ - **Sentinel-1 SAFE**: SLC and GRD products [topsar, stripmap, wave, notch]
37
+ - **NovaSAR-1**: SLC, GRD, SCD and SRD products
38
+ - **ICEYE**: SLC and GRD products [topsar, stripmap, spotlight]
39
+ - **SAOCOM**: SLC and GRD products [topsar, stripmap]
40
+ - **EOS-04**: SLC, GRD products
41
+ - **COSMO SkyMed**: SLC, GRD products
42
+ - **RADARSAT-2**: SLC, GRD products [scansar, stripmap]
43
+ - **TerraSAR-X**: SLC and GRD products [scansar (GRD only), stripmap]
44
+ - **STRIX (Synspective)**: SLC products [stripmap, spotlight]
@@ -0,0 +1,26 @@
1
+ ---
2
+ icon: lucide/arrow-big-down-dash
3
+ title: "Install"
4
+ tags:
5
+ - python
6
+ - pip
7
+ - install
8
+ ---
9
+
10
+ # Installation
11
+
12
+ !!! note "Requirements"
13
+
14
+ This project requires a Python version **equal or higher than 3.11**.
15
+
16
+ This package can easily be installed using ``pip``:
17
+
18
+ ```bash title="install with pip"
19
+ pip install eo-products
20
+ ```
21
+
22
+ !!! tip "Virtual Environments"
23
+
24
+ We recommend using a dedicated virtual environment to install these packages.
25
+ This will ensure that the software is installed in a separate environment and avoids conflicts with other packages
26
+ or dependencies.
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "COSMO SkyMed"
4
+ tags:
5
+ - cosmo-skymed
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.cosmo.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.cosmo.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "EOS-04"
4
+ tags:
5
+ - eos-04
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.eos04.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.eos04.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "ICEYE"
4
+ tags:
5
+ - iceye
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.iceye.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.iceye.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "NovaSAR-1"
4
+ tags:
5
+ - novasar-1
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.novasar1.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.novasar1.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "RadarSAT-2"
4
+ tags:
5
+ - radarsat-2
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.radarsat2.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.radarsat2.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "SAOCOM"
4
+ tags:
5
+ - saocom
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.saocom.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.saocom.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "Sentinel-1"
4
+ tags:
5
+ - sentinel-1
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.sentinel1.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.sentinel1.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "STRIX"
4
+ tags:
5
+ - strix
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.strix.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.strix.utilities
@@ -0,0 +1,16 @@
1
+ ---
2
+ icon: fontawesome/brands/python
3
+ title: "TerraSAR-X"
4
+ tags:
5
+ - terrasar-x
6
+ - API
7
+ - python
8
+ ---
9
+
10
+ ## Reader Interface
11
+
12
+ ::: eo_products.terrasarx.reader
13
+
14
+ ## Utilities
15
+
16
+ ::: eo_products.terrasarx.utilities
@@ -0,0 +1,101 @@
1
+ ---
2
+ icon: lucide/history
3
+ title: "Changelog"
4
+ tags:
5
+ - changelog
6
+ - release notes
7
+ ---
8
+
9
+ # Changelog
10
+
11
+ ## v1.0.9
12
+
13
+ **Other changes**
14
+
15
+ - Sentinel-1: adding support for reading multiple noise vectors at once based on input azimuth indexes, keeping backward compatibility.
16
+
17
+ ## v1.0.8
18
+
19
+ **Bug fixing**
20
+
21
+ - Sentinel-1: fixing bug in noise vector interpolation when only range vectors are present.
22
+ - Sentinel-1: fixing bug in elevation antenna pattern metadata reading (data is complex now).
23
+
24
+ ## v1.0.7
25
+
26
+ **Other changes**
27
+
28
+ - Sentinel-1: improving array of floats as strings reading when trailing spaces are present.
29
+
30
+ ## v1.0.6
31
+
32
+ **New features**
33
+
34
+ - Sentinel-1: adding support for reading noise annotation files.
35
+
36
+ ## v1.0.5
37
+
38
+ **Bug fixing**
39
+
40
+ - StriX: fixing bug in DopplerEvaluator creation from metadata.
41
+ - Sentinel-1: fixing bug in BurstInfo generation when products is Stripmap (in this case BurstInfo now is equal to RasterInfo)
42
+
43
+ **Other changes**
44
+
45
+ - Sentinel-1: adding Burst Sensing Times to metadata reader.
46
+
47
+ ## v1.0.4
48
+
49
+ **New features**
50
+
51
+ - Terrasar-X: added support for reading Terrasar-X products.
52
+
53
+ **Other changes**
54
+
55
+ - ``common.utilities.BurstInfo`` `lines_per_burst` and `samples_per_burst` are now `int | np.ndarray` instead of `int`.
56
+ - Sentinel-1: added support for reading Elevation Notch products.
57
+
58
+ ## v1.0.3
59
+
60
+ **New features**
61
+
62
+ - COSMO: adding support for reading Second Generation COSMO products.
63
+
64
+ **Other changes**
65
+
66
+ - Radarsat-2: improved support for reading Radarsat-2 products acquisition modes and proper conversion to SAR standard modes.
67
+ - StriX: improved support for reading Doppler Rate and Doppler Centroid polynomials for SLC products.
68
+
69
+ ## v1.0.2
70
+
71
+ **New features**
72
+
73
+ - Added support for Synspective StriX L1 products, both GRD (GeoTiff + XML) and SLC (NITF).
74
+
75
+ **Bug fixing**
76
+
77
+ - Sentinel-1: fixing bug in Orbit Type determination for Sentinel-1 products.
78
+ - Sentinel-1: fixing bug in starting and stop indexes computation for Sentinel-1 External Orbit reader when providing time boundaries.
79
+
80
+ ## v1.0.1
81
+
82
+ **Bug fixing**
83
+
84
+ - Sentinel-1: fixing bug in ``read_external_orbit`` for provided time boundaries out of orbit validity boundaries.
85
+ - Sentinel-1: fixing bug in ``read_external_orbit`` when returning the whole orbit.
86
+
87
+ ## v1.0.0
88
+
89
+ First stable version.
90
+
91
+ ## v1.0.0.dev2
92
+
93
+ Bug fixing for SAOCOM reader.
94
+
95
+ ## v1.0.0.dev1
96
+
97
+ Bug fixing for EOS-04 and NovaSAR-1.
98
+
99
+ ## v1.0.0.dev0
100
+
101
+ First development version.
@@ -0,0 +1,91 @@
1
+ [project]
2
+ name = "eo_products"
3
+ description = "Collection of SAR Earth Observation L1 Product Formats readers."
4
+ authors = [{ name = "Aresys S.R.L.", email = "info@aresys.it" }]
5
+ requires-python = ">=3.11"
6
+ readme = "README.md"
7
+ license = { file = "LICENSE.txt" }
8
+ dependencies = [
9
+ "numpy>2",
10
+ "lxml",
11
+ "tifffile",
12
+ "zarr",
13
+ "h5py",
14
+ "imagecodecs",
15
+ "sarpy",
16
+ "perseo-core>=1.0.0",
17
+ ]
18
+ dynamic = ["version"]
19
+ classifiers = [
20
+ "Development Status :: 5 - Production/Stable",
21
+ "Intended Audience :: Science/Research",
22
+ "Intended Audience :: Education",
23
+ "Intended Audience :: Developers",
24
+ "License :: OSI Approved :: MIT License",
25
+ "Natural Language :: English",
26
+ "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3 :: Only",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
31
+ "Programming Language :: Python :: 3.14",
32
+ "Operating System :: OS Independent",
33
+ "Programming Language :: Python",
34
+ "Topic :: Utilities",
35
+ "Topic :: Scientific/Engineering",
36
+ "Typing :: Typed",
37
+ ]
38
+
39
+ [project.optional-dependencies]
40
+ dev = ["ruff", "pylint"]
41
+ test = ["unittest-xml-reporting", "coverage"]
42
+ docs = ["zensical", "mkdocstrings-python"]
43
+
44
+ [build-system]
45
+ requires = ["hatchling"]
46
+ build-backend = "hatchling.build"
47
+
48
+ [tool.hatch.version]
49
+ path = "src/eo_products/__init__.py"
50
+
51
+ [tool.hatch.build.targets.sdist]
52
+ only-include = ["src", "tests", "docs"]
53
+
54
+ [tool.ruff]
55
+ line-length = 120
56
+ output-format = "grouped"
57
+ extend-exclude = [".venv", "docs"]
58
+
59
+ [tool.ruff.format]
60
+ docstring-code-format = true
61
+
62
+ [tool.ruff.lint]
63
+ select = ["E", "W", "F", "A", "B", "I"]
64
+
65
+ [tool.pylint.master]
66
+ fail-under = 8
67
+ fail-on = ["unused-import"]
68
+
69
+ [tool.pylint.message_control]
70
+ disable = ["import-error", "logging-fstring-interpolation", "logging-not-lazy"]
71
+
72
+ [tool.pylint.format]
73
+ max-line-length = 120
74
+
75
+ [tool.pdm]
76
+ distribution = true
77
+
78
+ [tool.pdm.resolution]
79
+ respect-source-order = true
80
+
81
+ [tool.pdm.scripts]
82
+ format_check = "ruff format --check"
83
+ format = "ruff format"
84
+ sort = "ruff check --select I --fix-only"
85
+ lint_check = "ruff check"
86
+ lint_fix = "ruff check --show-fixes --fix-only"
87
+ test = "python -m unittest discover -s ./tests -p test_*.py"
88
+ clean_doc = "python -m sphinx -M clean docs/source {args}"
89
+ build_doc = "python -m sphinx -b html docs/source {args}"
90
+ check_code = { composite = ["format_check", "lint_check"] }
91
+ fix_format = { composite = ["format", "sort", "lint_fix"] }
@@ -0,0 +1,6 @@
1
+ # SPDX-FileCopyrightText: Aresys S.r.l. <info@aresys.it>
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ """Earth Observation L1 and auxiliary product formats readers."""
5
+
6
+ __version__ = "0.0.0.dev0"
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: Aresys S.r.l. <info@aresys.it>
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ """EO Products unittest module"""