All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
Dataset.stac_catalog_size, andestimated_dataset_sizeproperties. (#104) - Add descriptive
__str__methods to model classes. (#104)
- Remove Python 3.7 support. (#106)
- Remove
Dataset.total_archive_sizeproperty, because of Dataset.download changes. (#104)
- Rewrite
Dataset.download()plus more robust downloading and filtering options. (#104)
- Remove outdated jupyter notebooks from the
examples/folder. (#104)
- Remove
toxfrom development environment. (#104) - Add Python 3.10 on Windows to CI test matrix. (#104)
- Fix installation error by missing dependency: typing_extensions. (#79)
- Check for missing dependencies in CI job. (#79)
- Allow ReadTheDocs builds to succeed if warnings are emitted (#80)
- Update trove classifiers to include Python 3.10 and bump dev status to "Beta" (#81)
client.list_modelsandclient.get_model_by_idto discover ML Models by ID or by listing. (#71)MLModel.listandMLModel.fetchmethods analagous to new client methods described above. (#71)
- Refactor of client and model python modules. (#71)
- Configure Dependabot for automatic version upgrades of dev dependencies (#74)
- Lock dev dependencies. (#75)
- Remove Python 3.6 from
toxconfig and add Python 3.10 (#73)
- Use
HEADrequest instead ofGETwhen initiating download (#68)
tagsandtextarguments toDataset.listandclient.list_datasetsmethods to allow filtering by datasets tags or free text search, respectively (#60)client.get_dataset_by_idandclient.get_dataset_by_doimethods to look up datasets by ID or DOI, respectively (#58)Dataset.fetch_by_idandDataset.fetch_by_doimethods analagous to new client methods described above (#58)py.typedfile included in package (#62)
client.get_datasetfirst attempts to get dataset usingget_dataset_by_idthen falls back to usingget_dataset_by_doiif unsuccessful (#58)Dataset.fetchusesclient.get_datasetto first attempt getting dataset by ID, then falling back to fetching by DOI if unsuccessful (#58)- Upgraded PySTAC dependency to
~=1.1..0(#63)
- Support for Python 3.6 (#61)
- Numerous type annotation issues (#62)
- Set different API root URL using
MLHUB_ROOT_URLenvironment variable (#56)
- Documentation example in Authentication docs (#53)
api_keyargument fromDataset.fetchused byDatasetinstance for downstream requests (#48)Dataset.downloaderrors whenapi_keyargument is passed (#48)
-
Pins PySTAC to v0.5.4 (#43)
Later versions automatically resolve links, which was leading to unnecessary network requests and issues with matching in VCR.py
-
Properties to get archive sizes without downloading (
Collection.archive_sizeandDataset.total_archive_size) (#44) -
New attributes on
Datasetclass (doi,citation, andregistry_url) (#40) -
Collection.registry_urlproperty to get the URL for the Collection's registry page (#39) -
Available as
condapackage viaconda-forge(#34)$ conda install -c conda-forge radiant-mlhub
- Switch to using pytest-recording (VCR.py under the hood) for mocking API responses (#43)
- New attributes in the
/datasetresponse will no longer break theDatasetclass (#42)
- Implicit dependency on
typing_extensions(#29)
- Manually caches properties instead of using
functools.cached_property/backports.cached_property
- Ability to resume archive downloads(#24)
- Automatically retry requests that fail due to connection issues (#24)
First working alpha release of the Radiant MLHub Python client.
Includes support for:
- Configuring authentication using profiles or environment variables
- Listing datasets and collections
- Fetching datasets and collections by ID
- Downloading collection archives