.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg?logo=opensourceinitiative&logoColor=white
:target: LICENSE
:alt: License: MIT
.. |commit| image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?logo=git&logoColor=white
:target: https://conventionalcommits.org
:alt: conventional commit
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Black badge
.. |prettier| image:: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier&logoColor=white
:target: https://github.com/prettier/prettier
:alt: prettier badge
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-active-yellow?logo=pre-commit&logoColor=white
:target: https://pre-commit.com/
:alt: pre-commit
.. |pypi| image:: https://img.shields.io/pypi/v/geetools?color=blue&logo=python&logoColor=white
:target: https://pypi.org/project/geetools/
:alt: PyPI version
.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/geetools?color=blue&logo=anaconda&logoColor=white
:target: https://github.com/conda-forge/geetools-feedstock
:alt: Conda-forge version
.. |build| image:: https://img.shields.io/github/actions/workflow/status/gee-community/geetools/unit.yaml?logo=github&logoColor=white
:target: https://github.com/gee-community/geetools/actions/workflows/unit.yaml
:alt: build
.. |coverage| image:: https://img.shields.io/codecov/c/github/gee-community/geetools?logo=codecov&logoColor=white
:target: https://codecov.io/gh/gee-community/geetools
:alt: Test Coverage
.. |docs| image:: https://img.shields.io/readthedocs/geetools?logo=readthedocs&logoColor=white
:target: https://app.readthedocs.org/projects/geetools/
:alt: Documentation Status
geetools
========
|license| |commit| |black| |prettier| |pre-commit| |pypi| |conda| |build| |coverage| |docs|
Google Earth Engine tools
-------------------------
.. image:: https://raw.githubusercontent.com/gee-community/geetools/main/docs/_static/logo.svg
:width: 20%
:align: right
`Google Earth Engine <https://earthengine.google.com/>`__ is a cloud-based service for geospatial processing of vector and raster data. The Earth Engine platform has a `JavaScript and a Python API <https://developers.google.com/earth-engine/guides>`__ with different methods to process geospatial objects.
The **geetools** package extends the Google Earth Engine Python API with pre-processing and processing tools for the most used satellite platforms by adding utility methods for different Earth Engine Objects that are friendly with the Python method chaining using the ``geetools`` namespace.
There is JavaScript module that you can import from the code editor that has
similar functions (not exactly the same) and it's available `here <https://github.com/fitoprincipe/geetools-code-editor>`__.
Installation
------------
.. code-block:: python
pip install geetools
Why using it ?
--------------
New utility methods and constructors are added to most of the GEE classes. They can be simple wrapper for repetitive tasks, complex algorithm or mandatory preprocessing steps. The goal is to make the code more fluid and easy to read for researchers, students and analysts.
The package design is mostly performing server-side computation making it also very friendly with commercial users of Earth Engine.
This small example wrapping of the excellent ``ee_extra`` package functionalities shows how to preprocess sentinel 2 data in 5 lines of code:
.. code-block:: python
import ee
import geetools #noqa: F401
import pygaul # another gee-community package to access FAO GAUl 2015 dataset
# we assume you are already authenticated to GEE
ee.Initialize.geetools.from_account("toto") # yes we also support multi users
amazonas = pygaul.Items(name="Amazonas").centroid()
S2 = (
ee.ImageCollection('COPERNICUS/S2_SR')
.filterBounds(point)
.geetools.closest('2020-10-15') # Extended (pre-processing)
.geetools.maskClouds(prob = 70) # Extended (pre-processing)
.geetools.scaleAndOffset() # Extended (pre-processing)
.geetools.spectralIndices(['NDVI','NDWI','BAIS2'])) # Extended (processing)
Raw data
{
"_id": null,
"home_page": null,
"name": "geetools",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "earthengine, geospatial, google-earth-engine, python, remote-sensing",
"author": null,
"author_email": "\"Rodrigo E. Principe\" <fitoprincipe82@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/1f/25/343a91e113c7fd45d1fe333f6597dfcf715a114c97febcdc3f7f5edf7eb6/geetools-1.10.0.tar.gz",
"platform": null,
"description": ".. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg?logo=opensourceinitiative&logoColor=white\n :target: LICENSE\n :alt: License: MIT\n\n.. |commit| image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?logo=git&logoColor=white\n :target: https://conventionalcommits.org\n :alt: conventional commit\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Black badge\n\n.. |prettier| image:: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier&logoColor=white\n :target: https://github.com/prettier/prettier\n :alt: prettier badge\n\n.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-active-yellow?logo=pre-commit&logoColor=white\n :target: https://pre-commit.com/\n :alt: pre-commit\n\n.. |pypi| image:: https://img.shields.io/pypi/v/geetools?color=blue&logo=python&logoColor=white\n :target: https://pypi.org/project/geetools/\n :alt: PyPI version\n\n.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/geetools?color=blue&logo=anaconda&logoColor=white\n :target: https://github.com/conda-forge/geetools-feedstock\n :alt: Conda-forge version\n\n.. |build| image:: https://img.shields.io/github/actions/workflow/status/gee-community/geetools/unit.yaml?logo=github&logoColor=white\n :target: https://github.com/gee-community/geetools/actions/workflows/unit.yaml\n :alt: build\n\n.. |coverage| image:: https://img.shields.io/codecov/c/github/gee-community/geetools?logo=codecov&logoColor=white\n :target: https://codecov.io/gh/gee-community/geetools\n :alt: Test Coverage\n\n.. |docs| image:: https://img.shields.io/readthedocs/geetools?logo=readthedocs&logoColor=white\n :target: https://app.readthedocs.org/projects/geetools/\n :alt: Documentation Status\n\n\n\ngeetools\n========\n\n|license| |commit| |black| |prettier| |pre-commit| |pypi| |conda| |build| |coverage| |docs|\n\n\nGoogle Earth Engine tools\n-------------------------\n\n.. image:: https://raw.githubusercontent.com/gee-community/geetools/main/docs/_static/logo.svg\n :width: 20%\n :align: right\n\n`Google Earth Engine <https://earthengine.google.com/>`__ is a cloud-based service for geospatial processing of vector and raster data. The Earth Engine platform has a `JavaScript and a Python API <https://developers.google.com/earth-engine/guides>`__ with different methods to process geospatial objects.\n\nThe **geetools** package extends the Google Earth Engine Python API with pre-processing and processing tools for the most used satellite platforms by adding utility methods for different Earth Engine Objects that are friendly with the Python method chaining using the ``geetools`` namespace.\n\nThere is JavaScript module that you can import from the code editor that has\nsimilar functions (not exactly the same) and it's available `here <https://github.com/fitoprincipe/geetools-code-editor>`__.\n\nInstallation\n------------\n\n.. code-block:: python\n\n pip install geetools\n\nWhy using it ?\n--------------\n\nNew utility methods and constructors are added to most of the GEE classes. They can be simple wrapper for repetitive tasks, complex algorithm or mandatory preprocessing steps. The goal is to make the code more fluid and easy to read for researchers, students and analysts.\n\nThe package design is mostly performing server-side computation making it also very friendly with commercial users of Earth Engine.\n\nThis small example wrapping of the excellent ``ee_extra`` package functionalities shows how to preprocess sentinel 2 data in 5 lines of code:\n\n.. code-block:: python\n\n import ee\n import geetools #noqa: F401\n import pygaul # another gee-community package to access FAO GAUl 2015 dataset\n\n # we assume you are already authenticated to GEE\n ee.Initialize.geetools.from_account(\"toto\") # yes we also support multi users\n\n amazonas = pygaul.Items(name=\"Amazonas\").centroid()\n\n S2 = (\n ee.ImageCollection('COPERNICUS/S2_SR')\n .filterBounds(point)\n .geetools.closest('2020-10-15') # Extended (pre-processing)\n .geetools.maskClouds(prob = 70) # Extended (pre-processing)\n .geetools.scaleAndOffset() # Extended (pre-processing)\n .geetools.spectralIndices(['NDVI','NDWI','BAIS2'])) # Extended (processing)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A collection of tools to work with Google Earth Engine Python API",
"version": "1.10.0",
"project_urls": {
"Homepage": "https://github.com/gee-community/geetools"
},
"split_keywords": [
"earthengine",
" geospatial",
" google-earth-engine",
" python",
" remote-sensing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0a6dc2e842a4bf393945e06f22a5704d7f047706fb4cf9505b9fb8e56d583705",
"md5": "0c20ad1fd066b710163b63aeb9422def",
"sha256": "9639d5d84585756c51e8eeaa68e325973a89b0d5ae1e1866a1d1c775242b64d0"
},
"downloads": -1,
"filename": "geetools-1.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0c20ad1fd066b710163b63aeb9422def",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 80479,
"upload_time": "2024-12-11T07:36:29",
"upload_time_iso_8601": "2024-12-11T07:36:29.725173Z",
"url": "https://files.pythonhosted.org/packages/0a/6d/c2e842a4bf393945e06f22a5704d7f047706fb4cf9505b9fb8e56d583705/geetools-1.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1f25343a91e113c7fd45d1fe333f6597dfcf715a114c97febcdc3f7f5edf7eb6",
"md5": "59b6f776247091136ff024d8e99f60ab",
"sha256": "1962295797965e1c431be4a07812cc4cb5b6de149d70100e805726331be6ba91"
},
"downloads": -1,
"filename": "geetools-1.10.0.tar.gz",
"has_sig": false,
"md5_digest": "59b6f776247091136ff024d8e99f60ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2492975,
"upload_time": "2024-12-11T07:36:31",
"upload_time_iso_8601": "2024-12-11T07:36:31.814827Z",
"url": "https://files.pythonhosted.org/packages/1f/25/343a91e113c7fd45d1fe333f6597dfcf715a114c97febcdc3f7f5edf7eb6/geetools-1.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-11 07:36:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gee-community",
"github_project": "geetools",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "geetools"
}