{"id":28507388,"url":"https://github.com/opendatacube/odc-stac","last_synced_at":"2026-01-16T14:49:43.114Z","repository":{"id":38461963,"uuid":"416128348","full_name":"opendatacube/odc-stac","owner":"opendatacube","description":"Load STAC items into xarray Datasets.","archived":false,"fork":false,"pushed_at":"2025-06-18T06:40:51.000Z","size":834,"stargazers_count":170,"open_issues_count":17,"forks_count":22,"subscribers_count":12,"default_branch":"develop","last_synced_at":"2025-06-18T07:21:34.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://odc-stac.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opendatacube.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-12T00:30:20.000Z","updated_at":"2025-06-16T08:06:44.000Z","dependencies_parsed_at":"2023-11-30T04:24:09.914Z","dependency_job_id":"50da8696-f081-48b7-a67e-7a5b5a0a9ea7","html_url":"https://github.com/opendatacube/odc-stac","commit_stats":{"total_commits":489,"total_committers":19,"mean_commits":"25.736842105263158","dds":"0.19427402862985688","last_synced_commit":"dc9f5d5f8370c0cd56bf7564b2f1e913f58f729d"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/opendatacube/odc-stac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fodc-stac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fodc-stac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fodc-stac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fodc-stac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendatacube","download_url":"https://codeload.github.com/opendatacube/odc-stac/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fodc-stac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260509181,"owners_count":23019803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T20:30:59.196Z","updated_at":"2026-01-16T14:49:43.052Z","avatar_url":"https://github.com/opendatacube.png","language":"Python","funding_links":[],"categories":["Open Data Cube"],"sub_categories":["Testing your code"],"readme":"odc.stac\n########\n\n|Documentation Status| |Test Status| |Test Coverage| |Binder| |Discord|\n\nLoad STAC items into ``xarray`` Datasets. Process locally or distribute data\nloading and computation with Dask_.\n\nUsage\n#####\n\n\nodc.stac.load\n~~~~~~~~~~~~~\n\n.. code-block:: python\n\n   catalog = pystac_client.Client.open(...)\n   query = catalog.search(...)\n   xx = odc.stac.load(\n       query.items(),\n       bands=[\"red\", \"green\", \"blue\"],\n   )\n   xx.red.plot.imshow(col=\"time\")\n\nFor more details see `Documentation`_ and `Sample Notebooks`_, or try it out on Binder_.\n\n\nInstallation\n############\n\nUsing pip\n~~~~~~~~~\n\n.. code-block:: bash\n\n   pip install odc-stac\n\nTo install with ``botocore`` support (for working with AWS):\n\n.. code-block:: bash\n\n   pip install 'odc-stac[botocore]'\n\n\nUsing Conda\n~~~~~~~~~~~\n\nThis package is be available on ``conda-forge`` channel:\n\n.. code-block:: bash\n\n   conda install -c conda-forge odc-stac\n\n\nFrom unreleased source\n~~~~~~~~~~~~~~~~~~~~~~\n\nTo use development version of ``odc-stac`` install dependencies from ``conda``, then\ninstall ``odc-stac`` with ``pip``.\n\nSample ``environment.yml`` is provided below.\n\n.. code-block:: yaml\n\n   channels:\n     - conda-forge\n   dependencies:\n     - odc-geo\n     - xarray\n     - numpy\n     - dask\n     - pandas\n     - affine\n     - rasterio\n     - toolz\n     - pystac\n     - pystac-client\n     - pip\n     - pip:\n       - \"git+https://github.com/opendatacube/odc-stac/\"\n\nDeveloping\n##########\n\nTo develop ``odc-stac`` locally it's best to use provided devcontainer_.\n\n.. code-block:: bash\n\n   git clone https://github.com/opendatacube/odc-stac\n   code odc-stac\n\nOnce running inside the dev container, run tests with pytest_:\n\n.. code-block:: bash\n\n   pytest\n\nLinting is provided by mypy_, pylint_, and black_:\n\n.. code-block:: bash\n\n   black --check .\n   pylint -v odc\n   mypy odc\n\n\n.. |Documentation Status| image:: https://readthedocs.org/projects/odc-stac/badge/?version=latest\n   :target: https://odc-stac.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\n.. |Test Status| image:: https://github.com/opendatacube/odc-stac/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/opendatacube/odc-stac/actions/workflows/main.yml\n   :alt: Test Status\n\n.. |Test Coverage| image:: https://codecov.io/gh/opendatacube/odc-stac/branch/develop/graph/badge.svg?token=HQ8nTuZHH5\n   :target: https://codecov.io/gh/opendatacube/odc-stac\n   :alt: Test Coverage\n\n.. |Binder| image:: https://mybinder.org/badge_logo.svg\n   :target: https://mybinder.org/v2/gh/opendatacube/odc-stac/develop?urlpath=lab/workspaces/demo\n   :alt: Run Examples in Binder\n\n.. |Discord| image:: https://img.shields.io/discord/1212501566326571070?label=Discord\u0026logo=discord\u0026logoColor=white\u0026color=7289DA\n   :target: https://discord.gg/4hhBQVas5U\n   :alt: Join Discord for support\n\n.. _Binder: https://mybinder.org/v2/gh/opendatacube/odc-stac/develop?urlpath=lab/workspaces/demo\n\n.. _pytest: https://docs.pytest.org\n\n.. _mypy: http://mypy-lang.org/\n\n.. _pylint: https://pylint.org/\n\n.. _black: https://github.com/psf/black\n\n.. _`Documentation`: https://odc-stac.readthedocs.io/\n\n.. _`Sample Notebooks`: https://odc-stac.readthedocs.io/en/latest/examples.html\n\n.. _Dask: https://dask.org/\n\n.. _devcontainer: https://code.visualstudio.com/docs/devcontainers/containers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendatacube%2Fodc-stac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendatacube%2Fodc-stac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendatacube%2Fodc-stac/lists"}