Metadata-Version: 2.4
Name: eodag
Version: 4.1.0
Summary: Earth Observation Data Access Gateway
Author-email: CS GROUP - France <eodag@csgroup.space>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/CS-SI/eodag
Project-URL: Repository, https://github.com/CS-SI/eodag.git
Project-URL: Issues, https://github.com/CS-SI/eodag/issues/
Project-URL: Documentation, https://eodag.readthedocs.io
Project-URL: Changelog, https://eodag.readthedocs.io/en/stable/changelog.html
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: annotated-types
Requires-Dist: boto3
Requires-Dist: botocore
Requires-Dist: click
Requires-Dist: geojson
Requires-Dist: jsonpath-ng<1.8.0
Requires-Dist: lxml
Requires-Dist: orjson
Requires-Dist: pydantic!=2.10.0,>=2.1.0
Requires-Dist: pydantic_core
Requires-Dist: PyJWT[crypto]>=2.5.0
Requires-Dist: pyproj>=2.1.0
Requires-Dist: pyshp
Requires-Dist: pystac>=1.0.0b1
Requires-Dist: python-dateutil
Requires-Dist: PyYAML
Requires-Dist: requests
Requires-Dist: shapely>=2.0.6
Requires-Dist: stac-pydantic
Requires-Dist: tqdm
Requires-Dist: typing_extensions>=4.8.0
Requires-Dist: urllib3
Requires-Dist: zipstream-ng
Provides-Extra: all
Requires-Dist: eodag[all-providers,csw,tutorials]; extra == "all"
Provides-Extra: all-providers
Requires-Dist: eodag[ecmwf,usgs]; extra == "all-providers"
Provides-Extra: csw
Requires-Dist: OWSLib>=0.27.1; extra == "csw"
Provides-Extra: ecmwf
Requires-Dist: ecmwf-api-client; extra == "ecmwf"
Provides-Extra: usgs
Requires-Dist: usgs>=0.3.6; extra == "usgs"
Provides-Extra: notebook
Requires-Dist: tqdm[notebook]; extra == "notebook"
Provides-Extra: tutorials
Requires-Dist: cartopy; extra == "tutorials"
Requires-Dist: covjsonkit>=0.0.18; python_version > "3.9" and extra == "tutorials"
Requires-Dist: eodag-cube>=0.6.0b2; extra == "tutorials"
Requires-Dist: eodag[ecmwf,notebook]; extra == "tutorials"
Requires-Dist: folium; extra == "tutorials"
Requires-Dist: imageio; extra == "tutorials"
Requires-Dist: ipyleaflet>=0.10.0; extra == "tutorials"
Requires-Dist: ipywidgets; extra == "tutorials"
Requires-Dist: jupyter; extra == "tutorials"
Requires-Dist: matplotlib; extra == "tutorials"
Requires-Dist: netcdf4; extra == "tutorials"
Requires-Dist: rasterio; extra == "tutorials"
Provides-Extra: dev
Requires-Dist: eodag[all-providers,csw,stubs]; extra == "dev"
Requires-Dist: faker; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: moto>=5; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: prek; extra == "dev"
Requires-Dist: py>=1.8.2; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-html!=3.2.0; extra == "dev"
Requires-Dist: pytest-instafail; extra == "dev"
Requires-Dist: pytest-socket; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Requires-Dist: responses!=0.24.0; extra == "dev"
Requires-Dist: stac-validator; extra == "dev"
Requires-Dist: stdlib-list; extra == "dev"
Requires-Dist: tomli; python_version < "3.11" and extra == "dev"
Requires-Dist: tox; extra == "dev"
Requires-Dist: tox-uv; extra == "dev"
Requires-Dist: twine; extra == "dev"
Requires-Dist: wheel; extra == "dev"
Provides-Extra: stubs
Requires-Dist: boto3-stubs[essential]; extra == "stubs"
Requires-Dist: types-PyYAML; extra == "stubs"
Requires-Dist: types-cachetools; extra == "stubs"
Requires-Dist: types-lxml; extra == "stubs"
Requires-Dist: types-python-dateutil; extra == "stubs"
Requires-Dist: types-requests; extra == "stubs"
Requires-Dist: types-setuptools; extra == "stubs"
Requires-Dist: types-shapely; extra == "stubs"
Requires-Dist: types-tqdm; extra == "stubs"
Requires-Dist: types-urllib3; extra == "stubs"
Provides-Extra: docs
Requires-Dist: autodoc_pydantic; extra == "docs"
Requires-Dist: eodag[all,stubs,tutorials]; extra == "docs"
Requires-Dist: nbconvert>6.3.0; extra == "docs"
Requires-Dist: nbsphinx; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
Requires-Dist: sphinx-book-theme>=1.0.0; extra == "docs"
Requires-Dist: sphinx-copybutton; extra == "docs"
Requires-Dist: sphinx-design; extra == "docs"
Requires-Dist: sphinx-tabs; extra == "docs"
Requires-Dist: sphinx<9.0.0; extra == "docs"
Requires-Dist: sphinxcontrib-programoutput; extra == "docs"
Requires-Dist: sphinxemoji; extra == "docs"
Dynamic: license-file

.. image:: https://eodag.readthedocs.io/en/latest/_static/eodag_bycs.png
    :target: https://github.com/CS-SI/eodag

|

.. |pypi-badge| image:: https://badge.fury.io/py/eodag.svg
    :target: https://badge.fury.io/py/eodag

.. |conda-badge| image:: https://img.shields.io/conda/vn/conda-forge/eodag
    :target: https://anaconda.org/conda-forge/eodag

.. |rtd-badge| image:: https://readthedocs.org/projects/eodag/badge/?version=latest&style=flat
    :target: https://eodag.readthedocs.io/en/latest/

.. |gha-badge| image:: https://github.com/CS-SI/eodag/actions/workflows/test.yml/badge.svg
    :target: https://github.com/CS-SI/eodag/actions

.. |ghi-badge| image:: https://img.shields.io/github/issues/CS-SI/eodag.svg
    :target: https://github.com/CS-SI/eodag/issues

.. |binder-badge| image:: https://mybinder.org/badge_logo.svg
    :target: https://mybinder.org/v2/git/https%3A%2F%2Fgithub.com%2FCS-SI%2Feodag.git/master?filepath=docs%2Fnotebooks%2Fintro_notebooks.ipynb

|pypi-badge| |conda-badge| |rtd-badge| |gha-badge| |ghi-badge| |binder-badge|

.. |license-badge| image:: https://img.shields.io/pypi/l/eodag.svg
    :target: https://pypi.org/project/eodag/

.. |versions-badge| image:: https://img.shields.io/pypi/pyversions/eodag.svg
    :target: https://pypi.org/project/eodag/

.. |zenodo-badge| image:: https://zenodo.org/badge/203819248.svg
  :target: https://doi.org/10.5281/zenodo.18552649

|license-badge| |versions-badge| |zenodo-badge|

|

..

    Checkout **EODAG Jupyterlab extension**: `eodag-labextension <https://github.com/CS-SI/eodag-labextension>`_!
    This will bring a friendly UI to your notebook and help you search and browse for EO products using ``eodag``.

EODAG (Earth Observation Data Access Gateway) is a command line tool and a plugin-oriented Python framework for searching,
aggregating results and downloading remote sensed images while offering a unified API for data access regardless of the
data provider. The EODAG SDK is structured around three functions:

* List collections: list of supported products and their description

* Search products (by collection or uid): searches products according to the search criteria provided

* Download products: download product “as is"

EODAG is developed in Python. It is structured according to a modular plugin architecture, easily extensible and able to
integrate new data providers. Three types of plugins compose the tool:

* Catalog search plugins, responsible for searching data (STAC, OpenSearch, OData, ...), building paths, retrieving quicklook,
  combining results

* Download plugins, allowing to download and retrieve data locally (via HTTP, S3, ...), always with the same directory
  organization

* Authentication plugins, which are used to authenticate the user on the external services used (JSON Token, Basic Auth, OIDC, ...).

Read `the documentation <https://eodag.readthedocs.io/en/latest/>`_ for more insights.

.. image:: https://raw.githubusercontent.com/CS-SI/eodag/develop/docs/_static/eodag_overview.png
   :alt: EODAG overview
   :class: no-scaled-link

Installation
============

EODAG is available on `PyPI <https://pypi.org/project/eodag/>`_:

.. code-block:: bash

   python -m pip install eodag

And with ``conda`` from the `conda-forge channel <https://anaconda.org/conda-forge/eodag>`_:

.. code-block:: bash

   conda install -c conda-forge eodag

..

  [!IMPORTANT]

  `Breaking change <https://eodag.readthedocs.io/en/latest/breaking_changes.html>`_ **in v3.0.0**:
  Please note that EODAG
  comes with a minimal set of dependencies. If you want more features, please install using one of the
  `available extras <https://eodag.readthedocs.io/en/latest/getting_started_guide/install.html#optional-dependencies>`_.

Usage
=====

For downloading you will need to fill your credentials for the desired providers in your
`eodag user configuration file <https://eodag.readthedocs.io/en/latest/getting_started_guide/configure.html>`_.
The file will automatically be created with empty values on the first run.

Python API
----------

Example usage for interacting with the api in your Python code:

.. code-block:: python

    from eodag import EODataAccessGateway

    dag = EODataAccessGateway()

    search_results = dag.search(
        collection='S2_MSI_L1C',
        geom={'lonmin': 1, 'latmin': 43.5, 'lonmax': 2, 'latmax': 44}, # accepts WKT polygons, shapely.geometry, ...
        start='2021-01-01',
        end='2021-01-15'
    )

    product_paths = dag.download_all(search_results)


This will search for Sentinel 2 level-1C products on the default provider and return the found products first page and
an estimated total number of products matching the search criteria. And then it will download these products. Please
check the `Python API User Guide <https://eodag.readthedocs.io/en/latest/api_user_guide.html>`_ for more details.

..

  [!IMPORTANT]

  `Breaking change <https://eodag.readthedocs.io/en/latest/breaking_changes.html>`_ **in v3.0.0**:
  `search() <https://eodag.readthedocs.io/en/latest/api_reference/core.html#eodag.api.core.EODataAccessGateway.search>`_ method now returns
  only a single ``SearchResult`` instead of a 2 values tuple.


Command line interface
----------------------

Start playing with the CLI:

- To search for some products::

     eodag search --collection S2_MSI_L1C --box 1 43 2 44 --start 2021-03-01 --end 2021-03-31

  The request above searches for ``S2_MSI_L1C`` collections in a given bounding box, in March 2021. It saves the results in a GeoJSON file (``search_results.geojson`` by default).

  Results are paginated, you may want to get all pages at once with ``--all``, or search products having 20% of maximum coud cover with ``--cloudCover 20``. For more information on available options::

     eodag search --help

- To download the result of the previous call to search::

     eodag download --search-results search_results.geojson

- To download only the result quicklooks of the previous call to search::

     eodag download --quicklooks --search-results search_results.geojson

- To list all available collections and supported providers::

     eodag list

- To list available collections on a specified supported provider::

     eodag list -p creodias

- To see all the available options and commands::

     eodag --help

- To print log messages, add ``-v`` to eodag master command. e.g. ``eodag -v list``. The more ``v`` given (up to 3), the more verbose the tool is. For a full verbose output, do for example: ``eodag -vvv list``

Contribute
==========

Have you spotted a typo in our documentation? Have you observed a bug while running EODAG?
Do you have a suggestion for a new feature?

Don't hesitate and open an issue or submit a pull request, contributions are most welcome!

For guidance on setting up a development environment and how to make a
contribution to eodag, see the `contributing guidelines`_.

.. _contributing guidelines: https://github.com/CS-SI/eodag/blob/develop/CONTRIBUTING.rst


License
=======

EODAG is licensed under Apache License v2.0.
See LICENSE file for details.


Authors
=======

EODAG has been created by `CS GROUP - France <https://www.csgroup.eu/>`_.


Credits
=======

EODAG is built on top of amazingly useful open source projects. See NOTICE file for details about those projects and
their licenses.
Thank you to all the authors of these projects!
