Recent Releases of Radiant MLHub Python Client
Radiant MLHub Python Client - v0.5.5
Added
- Add missing dependency urllib3 to setup.py. (181)
- Add a unit test to confirm asset save paths are getting formatted correctly with expected file extensions. (186)
Changed
- Performance improvements to Dataset.download() (182)
- Enable INFO level logging by default in Dataset.download() (182)
Fixed
- Fix regression bug from PR #182. (186)
Developer
- Add flake8-logging-format package (182)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by PowerChell over 2 years ago

Radiant MLHub Python Client - v0.5.3
Added
-
Add an optional asset_output_dir parameter so that the assets can be downloaded into a separate directory from the STAC Catalog if the user specifies and selects a separate asset output directory. (149)
-
Add datetime filter test to account for datasets that have start_datetime and end_datetime properties. (165)
Changed
- Update ADR and CONTRIBUTING docs (164)
Fixed
- Fix datetime comparisons in dataset downloader. (162)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by PowerChell over 2 years ago

Radiant MLHub Python Client - v0.5.2
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by guidorice over 2 years ago

Radiant MLHub Python Client - v0.5.1
Changed
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by guidorice almost 3 years ago

Radiant MLHub Python Client - v0.5.0
Added
- Add
Dataset.stac_catalog_size
, andestimated_dataset_size
properties. (#104) - Add descriptive
__str__
methods to model classes. (#104)
Removed
- Remove Python 3.7 support. (#106)
- Remove
Dataset.total_archive_size
property, because of Dataset.download changes. (#104)
Changed
- Rewrite
Dataset.download()
plus more robust downloading and filtering options. (#104)
Fixed
- Remove outdated jupyter notebooks from the
examples/
folder. (#104)
Developer
- Remove
tox
from development environment. (#104) - Add Python 3.10 on Windows to CI test matrix. (#104)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by guidorice almost 3 years ago

Radiant MLHub Python Client - v0.4.1
Fixed
- Fix installation error by missing dependency: typing_extensions. (#79)
Developer
- 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)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by guidorice about 3 years ago

Radiant MLHub Python Client - v0.4.0
Added
client.list_models
andclient.get_model_by_id
to discover ML Models by ID or by listing. (#71)MLModel.list
andMLModel.fetch
methods analagous to new client methods described
above. (#71)
Developer
- 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
tox
config and add Python 3.10 (#73)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by guidorice about 3 years ago

Radiant MLHub Python Client - v0.3.1
Fixed
- Use
HEAD
request instead ofGET
when initiating download (#68)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb over 3 years ago

Radiant MLHub Python Client - v0.3.0
Added
tags
andtext
arguments toDataset.list
andclient.list_datasets
methods to allow
filtering by datasets tags or free text search, respectively (#60)client.get_dataset_by_id
andclient.get_dataset_by_doi
methods to look up datasets by ID or
DOI, respectively (#58)Dataset.fetch_by_id
andDataset.fetch_by_doi
methods analagous to new client methods described
above (#58)py.typed
file included in package (#62)
Changed
client.get_dataset
first attempts to get dataset usingget_dataset_by_id
then falls back to
usingget_dataset_by_doi
if unsuccessful
(#58)Dataset.fetch
usesclient.get_dataset
to first attempt getting dataset by ID, then falling
back to fetching by DOI if unsuccessful
(#58)- Upgraded PySTAC dependency to
~=1.1..0
(#63)
Removed
- Support for Python 3.6 (#61)
Fixed
- Numerous type annotation issues (#62)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb over 3 years ago

Radiant MLHub Python Client - v0.2.2
Fixed
- Documentation example in Authentication docs ((#53))
Developer
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb almost 4 years ago

Radiant MLHub Python Client - v0.2.1
Fixed
api_key
argument fromDataset.fetch
used byDataset
instance for downstream requests
(#48)Dataset.download
errors whenapi_key
argument is passed (#48)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb almost 4 years ago

Radiant MLHub Python Client - v0.2.0
Changed
-
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
Fixed
Added
-
Properties to get archive sizes without downloading (
Collection.archive_size
and
Dataset.total_archive_size
) (#44) -
New attributes on
Dataset
class (doi
,citation
, andregistry_url
) (#40) -
Collection.registry_url
property to get the URL for the Collection's registry page (#39) -
Available as
conda
package viaconda-forge
(#34)$ conda install -c conda-forge radiant-mlhub
Developer
- Switch to using pytest-recording (VCR.py under the
hood) for mocking API responses (#43)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb almost 4 years ago

Radiant MLHub Python Client - v0.1.3
Fixed
- New attributes in the
/dataset
response will no longer break theDataset
class
(#42)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by kbgg almost 4 years ago

Radiant MLHub Python Client - v0.1.2
Fixes import bug and simplifies project dependencies
Fixed
- Implicit dependency on
typing_extensions
(#29)
Developer
- Manually caches properties instead of using
functools.cached_property
/backports.cached_property
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb about 4 years ago

Radiant MLHub Python Client - v0.1.1
Added
- Ability to resume archive downloads (#24)
- Automatically retry requests that fail due to connection issues (#24)
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb about 4 years ago

Radiant MLHub Python Client - v0.1.0
This release represents the first working alpha release of the Radiant MLHub Python Client.
Added
-
Authentication handling
radiant_mlhub.session.Session
class inheriting fromrequests.Session
that injects the API key and some headers into all requestsradiant_mlhub.get_session
convenience method for getting a new session instance and resolving the API key from either the environment, a profile, or a direct argument
-
Low-level client functions in the
radiant_mlhub.client
modulelist_datasets
: Returns list of all available datasetsget_dataset
: Gets a dataset object by IDlist_collections
: Returns a list of all available collectionsget_collection
: Gets a collection object by IDlist_collection_items
: Generator yielding limited # of items for a given collectionget_collection_item
: Gets an item by collection ID and item IDdownload_archive
: Downloads and archive by ID to local file system
-
Classes in
radiant_mlhub.models
for working with API entities as Python objectsDataset
class encapsulates responses from/dataset
endpoints and has method for listing associated collectionsCollection
class inherits frompystac.Collection
and provides some convenience methods for listing and fetching collections from API as well as downloading associated archive
-
Documentation now available through ReadTheDocs
The docs are built automatically on changes to either
main
ordev
branches. -
Jupyter Notebook examples available on Binder
Badge at top of main README contains link to index page for these examples
Development
-
Full test + linting suite
Unit tests run through
pytest
usingrequests_mock
to mock API responses. Linting run usingflake8
and type checking run throughmypy
. Test suite can be run locally against all supported Python versions (3.6-3.9) usingtox
. Test suite also run as part of GitHub Actions CI for all PRs againstmain
anddev
-
Packaging
-
PRs from
release-*
branches tomain
build and deploy the package to TestPyPiEDIT: There is a step prior to publishing to TestPyPi that checks if the package with this version already exists. If it does, then the action will not attempt to publish to avoid making it seem like the CI has failed.
-
Tagged releases trigger build and deployment to PyPi
-
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by duckontheweb about 4 years ago

Radiant MLHub Python Client - v0.0.2
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by kbgg over 4 years ago

Radiant MLHub Python Client - v0.0.1
Sustainable Development - Data Catalogs and Interfaces
- Python
Published by kbgg over 4 years ago
