Skip to content

Tags: earthdaily/earthdaily-python-client

Tags

1.10.0

Toggle 1.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add science ortho product to ordering module (#48) (#224)

* Release version 1.10.0 with new `SCIENCE_ORTHO` product type for EDC ordering service

- Added `SCIENCE_ORTHO` product type to the `EdcProductType` enum for enhanced EDC ordering capabilities.
- Updated CHANGELOG to reflect the new version and feature addition.
- Incremented version in `pyproject.toml` to 1.10.0.

* Release version 1.10.0 with new `SCIENCE_ORTHO` product type for EDC ordering service

- Added `SCIENCE_ORTHO` product type to the `EdcProductType` enum for enhanced EDC ordering capabilities.
- Updated CHANGELOG to reflect the new version and feature addition.
- Incremented version in `pyproject.toml` to 1.10.0.

GitOrigin-RevId: 5f1f2340d5ee3a82c43e78d897a1fd2355d2d020

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.8.0

Toggle 1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release version 1.8.0 with new STAC item search functionality (#43) (#…

…223)

* Release version 1.8.0 with new STAC item search functionality

- Introduced `platform.search()` method for searching STAC items with optional concurrent execution.
- Added `batch_days` parameter to allow splitting datetime ranges for concurrent searches.
- Implemented `max_workers` parameter to control the size of the concurrent thread pool (default is 10, capped at 10).
- Updated CHANGELOG to reflect these new features and incremented version in `pyproject.toml` and `uv.lock` to 1.8.0.
- Added unit tests to ensure the new search functionality works as intended.

* Enhance `platform.search()` with `max_items_per_chunk` parameter for concurrent searches

- Added `max_items_per_chunk` parameter to limit the number of items fetched per chunk during concurrent searches, improving performance and control.
- Updated the `search` method to raise a `ValueError` if `max_items` is used alongside `batch_days`, guiding users to use `max_items_per_chunk` instead.
- Enhanced documentation and examples to reflect the new parameter and its usage.
- Updated CHANGELOG to include these changes for version 1.8.0.

* Refactor `PlatformService` to enhance datetime handling and error management

- Updated `_split_datetime` method to raise `ValueError` for zero or negative `batch_days` and for open-ended datetime intervals.
- Improved the creation of STAC client to fetch a fresh authorization token for each call.
- Refactored the handling of date ranges to ensure non-overlapping chunks during concurrent searches.
- Added unit tests to validate new error conditions and ensure correct behavior of datetime splitting and STAC client creation.

* Implement validation for `max_workers` in `PlatformService` and add corresponding unit tests

- Added a check in the `search` method to raise a `ValueError` if `max_workers` is zero or negative, ensuring proper input validation.
- Introduced unit tests to verify that appropriate errors are raised when `max_workers` is set to zero or a negative value, enhancing robustness of the concurrent search functionality.

* Refactor `platform.search()` method to rename `batch_days` parameter to `days_per_chunk`

- Updated the `platform.search()` method and related functionality to replace the `batch_days` parameter with `days_per_chunk`, enhancing clarity and consistency in the API.
- Adjusted documentation and examples to reflect the new parameter name.
- Updated unit tests to ensure proper functionality with the renamed parameter.
- Modified CHANGELOG to document this change for versioning.

* Enhance `build_datacube` documentation with `fail_on_error` parameter

- Added a new optional parameter `fail_on_error` to the `build_datacube` function documentation, specifying its behavior for asset loading failures. If set to True (default), an error is raised for failed assets; if False, the function skips them, improving usability for users dealing with potentially missing or corrupted assets.

GitOrigin-RevId: 70cca02c6e7b9c3c402945c03012ab7adacde6cb

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.5.1

Toggle 1.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version to 1.5.1 and enhance `earthdaily.datacube` module (#40) (

#220)

* Update version to 1.5.1 and enhance `earthdaily.datacube` module

* Added new public functions: `add_indices`, `plot_rgb`, `plot_band`, and `compute_zonal_stats` to the `earthdaily.datacube` module, improving functionality and usability.
* Updated CHANGELOG to reflect the new version and added features.
* Incremented version number in `pyproject.toml` to 1.5.1.

* revert and lock

* Improve error handling in Authentication class

* Update the Authentication class to handle HTTP errors more robustly by checking for the presence of the response before accessing the status code. This change prevents potential attribute errors and enhances the clarity of error messages for authentication failures.

GitOrigin-RevId: cc5078a7c8e1228306e7470f77c0f786f57cc88f

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.5.0

Toggle 1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Refactor GitHub Actions workflow to install 'uv' using setup-uv actio…

…n instead of a container image. This change simplifies the workflow configuration and enhances compatibility with future updates. (#219)

GitOrigin-RevId: 3d52c67ab2a6063a2557ad9f82622d946e85d39e

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.0.7

Toggle 1.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update CHANGELOG for version 1.0.5-1.0.7 (#210)

GitOrigin-RevId: c41e659a95301a51864ba83a554ed38cd94d8ed4

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v1.0.0 Release - New EarthDaily Python Client (#192)

* v1 Development & Repository Restructuring (#152)

* chore: initialize project structure and remove unused files

* chore: bump version to 1.0.0b1

* chore: update tox configuration to use poetry for dependency management

* chore: update CI workflow for improved testing and linting processes

* fix: update CI workflow to trigger on pushes to main and beta branches

* fix: use sudo for apt-get commands in CI workflow to ensure proper permissions

* feat: add GitHub Actions workflow for publishing to PyPI

* fix: update project name and description in pyproject.toml

* refactor: rename project to EarthDataStore and update environment variable references

* fix: update EDS API URL to remove versioning and ensure correct endpoint usage

* refactor: rename project from EarthDataStore to EarthDaily and update references throughout the codebase

* feat: add Sphinx documentation templates and update project documentation structure

* refactor: remove unused agriculture utility functions and asset mapper

* chore: update CHANGELOG for beta release 1.0.0b1 with new features and notes

* fix: update release workflow to use environment variable for PYPI API token

* fix: update release workflow to use secret environment variable for PYPI token

* fix: update release workflow to use GitHub Action for PyPI publishing

* fix: replace release.yaml with publish_pypi_on_tag.yaml for improved PyPI publishing workflow

* fix: replace old publish workflow with updated publish_pypi_on_tag.yaml for improved PyPI publishing

* ci: install only test dependencies in CI workflow

* build: migrate from poetry-specific metadata to PEP 621

* test: add unit tests for PlatformService

* chore: update poetry.lock after dependency changes

* refactor: remove CognitoAuth and simplify authentication

* chore: bump version to 1.0.0b2

* style: fix formatting and newline issues

* feat(agriculture): move v0 to agriculture subdirectory (#163)

* feat(agriculture): move v0 to agriculture subdirectory

* fix: temporary fix for agriculture unit tests

* fix: fix and improve the agriculture unit tests

* fix: fix and improve the agriculture unit tests

* refactor: remove VERSION file

* [beta/1.x] feat: add CodeQL analysis workflow for security scanning (#170)

* feat: add CodeQL analysis workflow for security scanning

* feat: add secret scanning workflow using TruffleHog

* feat: update secret scanning workflow permissions

* [beta/1.x] feat: add dynamic header generation for HTTP requests (#167)

* feat: add dynamic header generation for HTTP requests

* chore: bump version to 1.0.0b4

* feat: enhance API request headers with content type and user agent

* Sync v0 with additional unit tests for new header generation logic (#171)

* migrating v0 origin/dev c632024 to v1/agriculture

* chore: update dependencies and format code with 120 line-height

* refactor: update import paths and enhance type hints in zonal.py

* refactor: improve type hints and update import paths in cube_utils and mask modules

* fix: update client version retrieval and ensure EDS URL consistency in Auth class

* chore: bump version to 1.0.0b5 in pyproject.toml

* refactor: reorder import statements in test_client.py for consistency

* fix: improve error message formatting in Auth class for better readability

* Beta/move v0 auth capabilities to core (#172)

* feat: refactor to support legacy API and merge v0 auth components to the core

* style: clean up whitespace and improve readability in configuration loading

* feat: update type hints and improve asset filtering logic in legacy datastore

* Beta/fix dask breaking  change with 2025.3.0 version (#176)

* feat: add dask dependency with version constraint to pyproject.toml

* feat: add dask dependency with version constraint to pyproject.toml

* chore: bump version to 1.0.0b7 in pyproject.toml

* Beta/improve docs and add versions dropdown (#177)

* chore: update Sphinx documentation configuration and add versioning support

* chore: bump version to 1.0.0b8 in pyproject.toml

* chore: update Sphinx documentation configuration to include branch whitelist and version info

* chore: remove version placeholder from documentation index

* chore: ensure remote refs are preferred in Sphinx documentation configuration

* New v1.0.0b8 Version - Enabling CRUD functionalities for STAC items  - af7d5c511b2be5e74a6edf4a8a753d384afe8748 Add STAC item service methods for return format validatio... by Iman Shafiei <iman.shafiei@earthdaily.com> (#183)

- a89c49420af8095d62611fce7655154e294b84e5 Implement bulk delete functionality and associated tests ... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 58599c0b45cecf8b2f0547a1afd87544800b8519 Add verbose flag to twine upload command in CodeArtifact ... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 521521fcef242de9a2579e2871023ce1fcd9469a Fix CodeArtifact login domain and domain owner in workflow by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 63da05a7c83b9e1e4acfd24bdfe88f59bd7c9e0c Refactor CodeArtifact workflow to install twine and publi... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 835cf35efbee67948948287552851d90985f45b5 Fix CodeArtifact repository configuration by swapping tok... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - b910eddd8f9279339ba94aac29b2f3341c90325e Add logging for CodeArtifact URL and token length in work... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 59fd410dd5cb319a1d759ecce42331d21a12081e Add retrieval of authorization token for CodeArtifact in ... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 79245720d5edae81b0f7f174a017526521fd1276 Add step to configure Poetry repository with CodeArtifact... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - bb0d752a2c9997827b2cd0674f413022bb4f6e45 Refactor CodeArtifact workflow to use Python slim image a... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 138066b9170b8a5c26cb75f1f639cf635836143e Add bulk insert and bulk search services to the Earth Dai... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - b922f64bc514c34a0cde19981c54a2981ded6d1c More debugging by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 63d60e2dd8db8ed4033bc21dce1fa0ced37af67d Update container image for CodeArtifact upload job to use... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - c9cf80878ef51c245e02dd55517d7a1941dca989 Add debug step for AWS environment in CodeArtifact workflow by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 275a4ec9d6f6dc2ede041fa6f0afa6591426f3b6 Fix formatting of docstring in generate_token.py and upda... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 083edc6eba06d8c5c9bbae5e720b6dfb1c2269d3 Update permissions and clean up workflow steps for CodeAr... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - ad1ce501dadf4aa0bfb48c14c06aaea9f10a07fe Add GitHub Actions workflow for publishing to AWS CodeArt... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 22f380c1b7cd594a93d0a355a39d9c92d80ffa27 Refactor internal service initialization and add error ha... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 6d6a64deb92793a5ecc52a7bb6bc305cc47d80c3 Refactor job runner selection for private and public repo... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 082fa1a4f29cb050ee4ea53c88c06075cad3f26a Fix runner selection logic for lint job based on reposito... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 5be4aaa4d335f5892ec6a0e8af923f5b4e875590 Add pull_request trigger to workflows for better CI integ... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 6522b429410df79b2c6acf02fc842dbc4f8f2427 Fix virtualenv activation command in Copybara sync workflow by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 1822e48ca9b79a2f57a73d16e4554e5c87f99d89 Refactor secret scanning workflow to clone repository man... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 73a6795b16bcf2f74c0269a1577cdce695e00747 Refactor secret scanning workflow to use Alpine image and... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 3b0e46719f0810c291cb8e336314d52bd2847879 Add step to install jq in secret scanning workflow by Iman Shafiei <iman.shafiei@earthdaily.com>
  - bd142eae532db672b6e061ed3d97a55f3c886129 Add configuration for Git safe directory in secret scanni... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - ab8515a7030c0fb9aea7eb0b34ef4a168ddfe9d9 Add configuration for Git safe directory in secret scanni... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 4cc3959122cc10b7d01529813e654e1a9fa1a575 Refactor secret scanning workflow to use TruffleHog Docke... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - feaa54f1ce823560a2f8ce7c611dc99b107b35fb Update secret scanning workflow to install additional dep... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - d770a696c4a6c94f9935ab947bc35d73caa19a3d Update secret scanning workflow to use Docker stable imag... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 30c5bdc77bba8a0395941f20275ad5abeb71293d Update secret scanning workflow to install additional dep... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - e38fab2d223599461f7deb7a247d6b4ae590d228 Add configuration for Git safe directory in secret scanni... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - c1f13aaeb118143d22d54268c9a363941323a4a9 Add git installation step to secret scanning workflow by Iman Shafiei <iman.shafiei@earthdaily.com>
  - c20fcc1b8adea1cc67ff7bc6691ad7a80c864250 Add container configuration with Ubuntu image to CI workf... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 2c0b4062c69e6bd71beca6632670b0f77d05611e format with ruff 0.11.0 by Iman Shafiei <iman.shafiei@earthdaily.com>
  - b5efc402a65bdac855632248c4fddf23ca16d4ca Refactor CI test jobs to use a matrix strategy for Python... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 3485721d1cb2b8d3eb57e9b962125e5cc1abef1a Refactor linting workflow to consolidate Python version h... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 88fa81508552f3658534fb96850a80b6ded31b92 Add CI workflows for linting and testing with Python vers... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - ba318c0b5667f9585ec50045f3ea5f9254f8f0a9 Update CI workflows to use ed-runner-set for consistency ... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 5effcd5b81839d7f68783d2a1ce65144cfa8e5b8 Update CI workflows and BulkInsert/BulkSearch services fo... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - ea78f2c91cb69f3b55d8125a7b17b5f157b4bfa7 Add InternalService and bulk operations support to EDSCli... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - bfe7972f2b1df36143c609736e5ff952ff149403 Comment out CodeQL workflow configuration in codeql.yml by Iman Shafiei <iman.shafiei@earthdaily.com>
  - 0e46cd33ede3f3f1a8b8ad059a64069cf1ab6aa4 Beta/add pyjwt dependency and implement GitHub token gene... by Iman Shafiei <iman.shafiei@earthdaily.com>
  - a9174ac2cf3c1455019f98efba2dfb355980ede8 Merge remote-tracking branch 'public-repo/beta/1.x' by Iman Shafiei <iman.shafiei@earthdaily.com>
  - dbdaa9c820ec7245f5964ead6ce985803157e92a Initial commit by edawader <99747914+edawader@users.noreply.github.com>

GitOrigin-RevId: af7d5c511b2be5e74a6edf4a8a753d384afe8748

Co-authored-by: Iman <iman.shafiei@earthdaily.com>

* Merge pull request #3 from earthdaily/new-bypass-authentication-feature-flag (#187)

Add support for bypassing authentication in EDSClient

GitOrigin-RevId: 6d1babf593a7e75802e5dcd6ff85b80df09360d5

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

* Update PyPI publish workflow and bump version to 1.0.0b12 (#188)

GitOrigin-RevId: 3abc74fddec4819cc73f21748d273c39b0a0fed9

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

* Legacy examples for EarthDaily Python Client (#7) (#191)

* Legacy examples for EarthDaily Python Client

* Refactor asset resolver logic to use urlparse for domain handling in unit tests

GitOrigin-RevId: d4f040f744fd636fcaf971603b8f31b7f1a63bbd

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

* Remove legacy GitHub workflows for publishing to PyPI, CodeArtifact, and testing. These workflows are no longer needed as part of the project structure. (#194)

GitOrigin-RevId: 912734a44e08cdb8b91ab3701bfbd213d4d73db1

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

---------

Co-authored-by: internal-python-client-app[bot] <210443049+internal-python-client-app[bot]@users.noreply.github.com>

1.0.0b12

Toggle 1.0.0b12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update PyPI publish workflow and bump version to 1.0.0b12 (#188)

GitOrigin-RevId: 3abc74fddec4819cc73f21748d273c39b0a0fed9

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

1.0.0b11

Toggle 1.0.0b11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #3 from earthdaily/new-bypass-authentication-featu…

…re-flag (#187)

Add support for bypassing authentication in EDSClient

GitOrigin-RevId: 6d1babf593a7e75802e5dcd6ff85b80df09360d5

Co-authored-by: Iman Shafiei <iman.shafiei@earthdaily.com>

v0.5.9

Toggle v0.5.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.5.9

release: v0.5.9

v0.5.8

Toggle v0.5.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.5.8

## [0.5.8] - 2025-04-08

### Added

- `polars`  method in `zonal_stats`.

### Fixed

- Naming of landsat native cloudmask.
- Supports "." in asset name for asset query.