Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
cd569c0
Adding schema files for core metadata, dataset, and data variable bas…
pkdash Mar 24, 2026
d82d0d0
Adding adapter module for resource metadata conversion between the ne…
pkdash Mar 24, 2026
6e98d72
Adding load_json helper function to handle JSON metadata loading into…
pkdash Mar 24, 2026
b285662
Initial S3 integration for file-based json metadata handling
pkdash Mar 24, 2026
0a00f32
Additional S3 integration in resource and aggregation operations/func…
pkdash Apr 13, 2026
01460fa
test: fxing hydroshare fixture to use s3 url path
pkdash Apr 13, 2026
3ef09a6
Refactor DefinedTerm classes to use Literal types for name fields
pkdash Apr 19, 2026
dd4f085
fixing 'relation' field of CoreMetadata - deleting the comma
pkdash Apr 19, 2026
2d9ba24
Adding metadata adapters and resource models for legacy resource meta…
pkdash Apr 19, 2026
1844420
using metadata adapter for resource metadata conversion
pkdash Apr 19, 2026
d49b00b
Using the new metadata adapter in the helper load_json function
pkdash Apr 19, 2026
d1835af
Adding tests for legacy and schema.org resource metadata adapters
pkdash Apr 19, 2026
36f336b
Adding tests for resource metadata editing using hsclient
pkdash Apr 19, 2026
9390d90
Adding s3fs to requirements for working with s3 buckets
pkdash Apr 20, 2026
86b6533
Fix type hint to use Union[str, None]
pkdash Apr 20, 2026
d611328
refactor: Add AggregationTypeAdapter for converting between schema an…
pkdash Jul 19, 2026
b649a10
refactor: Update aggregation type handling to use aggregation type ad…
pkdash Jul 19, 2026
2023bb7
refactor: associated media items (data files) retrieval for FileSetAg…
pkdash Jul 19, 2026
784a501
refactor: exclude file_manifest.json and has_parts.json from S3 file …
pkdash Jul 19, 2026
db32647
refactor: rolling back folder rename logic to use API endpoint instea…
pkdash Jul 19, 2026
0f5f1cb
refactor: update file aggregation (create aggregation) logic ton use …
pkdash Jul 19, 2026
53db523
fix: handling of associated media items (aggregation data files) as p…
pkdash Jul 19, 2026
ca056d3
fix: handling of aggregation media items (data files) as part of aggr…
pkdash Jul 19, 2026
d80d893
feat: add geographic validation for bounding box in SpatialReference …
pkdash Jul 19, 2026
3a43485
fix: add Private status to creativeWorkStatus field in CoreMetadata m…
pkdash Jul 19, 2026
bb06a9b
feat: add SINGLE_FILE and FILE_SET types to AdditionalType enum
pkdash Jul 19, 2026
4e1a29b
fix: make variableMeasured and dimensions fields optional in Scientif…
pkdash Jul 19, 2026
08d745e
refactor: simplify load_json function that loads json metadata to pyd…
pkdash Jul 19, 2026
349d13d
refactot: pydantic models reorganization for core metadata, dataset (…
pkdash Jul 19, 2026
b96dab0
fix: remove duplicate model field
pkdash Jul 19, 2026
b60b8c9
feat: initial implementation of a raster metadata adpater for transla…
pkdash Jul 20, 2026
e41f726
fix: add missing entries to .gitignore for build and __pycache__ dire…
pkdash Jul 21, 2026
da1d058
refactor: add optional fields for URL and license in CoreMetadata model
pkdash Jul 22, 2026
e6705bd
refactor: add legacy raster models for now for the adapter to work - …
pkdash Jul 22, 2026
32f9c7f
feat: metadata adapter to support geographic raster metadata conversion
pkdash Jul 22, 2026
560d1cc
fix: add .DS_Store to .gitignore to prevent tracking of macOS system …
pkdash Jul 22, 2026
bffa55c
refactor: update file listing functionality for resource and aggregat…
pkdash Jul 25, 2026
50fd99d
refactor: Map schema.org relation names to legacy RelationType for r…
pkdash Jul 25, 2026
7f3cb0c
refactor: update Relation model to use RelationType and improve datas…
pkdash Jul 25, 2026
650590e
refactor: removing the aggregation from the resource aggregation list…
pkdash Aug 5, 2026
8143074
feat: add LinkedData model to support media types
pkdash Aug 6, 2026
74121d8
fix: update hasPart item attribute from url to id due to LinkedData m…
pkdash Aug 6, 2026
d468126
fix: ensure creators list is not empty as a result of user editing re…
pkdash Aug 6, 2026
e5b8e48
tests: enhance legacy resource metadata tests to include LinkedData s…
pkdash Aug 6, 2026
49d3f64
feat: update hasPart attribute to support LinkedData alongside existi…
pkdash Aug 6, 2026
5474c86
tests: enhance hydroshare fixture with default local settings
pkdash Aug 6, 2026
d945a80
refactor: update functional tests for file-based metadata
pkdash Aug 6, 2026
243cce9
feat: add associatedMedia support to GeographicRasterMetadata for sch…
pkdash Aug 7, 2026
2b9d3ee
test: tests for raster metadata conversion adapter
pkdash Aug 7, 2026
8948be1
test: tests for editing raster metadata in legacy format and saving a…
pkdash Aug 7, 2026
37eb1cb
test: tests for raster aggregation discovery and properties
pkdash Aug 7, 2026
0615ce9
fix: adding inLanguage field to CoreMetadata - schema org metadata fo…
pkdash Aug 7, 2026
95af9b2
refactor: legacy common field models in a shared module file
pkdash Aug 7, 2026
b2260c6
refactor: updating LegacyRasterBaseModel to use shared model fields
pkdash Aug 7, 2026
f903f24
style: code formatting
pkdash Aug 7, 2026
dec1069
tests: enhance tests for Geographic Raster metadata adapter with impr…
pkdash Aug 7, 2026
125d4bc
feat: initial implementation of netcdf aggregation adapter
pkdash Aug 7, 2026
2daf188
docs: adding documentation of legacy metadata models for Geographic R…
pkdash Aug 8, 2026
24c62e2
style: code formatting
pkdash Aug 8, 2026
ff26be0
add netcdf multidimensional metadata model classes to legacy schema e…
pkdash Aug 8, 2026
c42914f
docs: adding documentation - docstrings and comments to RasterMetada…
pkdash Aug 8, 2026
c36588e
tests: add integration test marker for pytest configuration
pkdash Aug 8, 2026
9650702
refactor: remove unused dataset part relation methods from LegacyReso…
pkdash Aug 9, 2026
4d1144b
fix: update assertion to check associatedMedia id instead of contentUrl
pkdash Aug 9, 2026
f169449
fix: add version field to legacy resource metadata models and adapters
pkdash Aug 9, 2026
ff03fb1
test: add tests for frozen fields validation in resource metadata edi…
pkdash Aug 9, 2026
15ff04f
fix: extend sharing_status (legacy model) to include draft, incomplet…
pkdash Aug 9, 2026
a2a4efa
fix: remove duplicate DefinedTerm class
pkdash Aug 9, 2026
fcfdcad
fix: change default values for citation, contributor, subjectOf, and …
pkdash Aug 9, 2026
8a5a325
fix: update contributors, awards, and subjects fields to use Optional…
pkdash Aug 9, 2026
9d5917e
fix: improved legacy relation mapping to schema org relation
pkdash Aug 9, 2026
2ccd7d6
fix: raise exception for invalid geo.box string when mapping to legac…
pkdash Aug 9, 2026
21baea8
fix: some schema changes for better mapping of legacy metadata models…
pkdash Aug 11, 2026
e141789
fix: enhance raster metadata adapter to support where there are no di…
pkdash Aug 11, 2026
c0440b4
test: additional tests for raster adapter
pkdash Aug 11, 2026
efc8425
fix: correct order of coordinates in bounding box validation
pkdash Aug 13, 2026
3fb4474
fix: support creator ordering and projection in legacy spatial covera…
pkdash Aug 13, 2026
9b12d80
fix: enhance legacy NetCDF metadata models to support additional fiel…
pkdash Aug 13, 2026
c7753c6
fix: enhance legacy raster metadata models to support new fields for …
pkdash Aug 13, 2026
6307cd4
test: correct spatial coverage box order and add projection to legacy…
pkdash Aug 13, 2026
aaa87aa
test: correct spatial coverage box order and update variable metadata…
pkdash Aug 13, 2026
a28277f
test: correct spatial coverage box order in legacy raster metadata tests
pkdash Aug 13, 2026
e2c375b
test: update tests to streamline imports and enhance creator order ha…
pkdash Aug 13, 2026
c581b91
fix: enhance relation type lookup to support value matching
pkdash Aug 13, 2026
b96d100
feat: add subjectOf field to legacy ResourceMetadata model to round-t…
pkdash Aug 14, 2026
4d0d632
feat: allow preservation of additional schema.org fields as 'extra_co…
pkdash Aug 14, 2026
69b4ad9
fix: handle missing spatial reference in RasterMetadataAdapter
pkdash Aug 15, 2026
e13d72a
feat: enhance RasterMetadataAdapter to preserve unknown schema fields…
pkdash Aug 15, 2026
676a726
feat: enhance NetCDFMetadataAdapter to preserve unknown schema fields…
pkdash Aug 15, 2026
70c4485
refactor: remove hasPart and isPartOf fields from legacy raster and n…
pkdash Aug 15, 2026
34ee6bd
fix: update netcdf adapter to preserve variable type as free-form string
pkdash Aug 15, 2026
e9fb62a
fix: update additional_metadata type to Dict on legacy resource metad…
pkdash Aug 15, 2026
034a16f
fix: update spatial coverage box token order to match HydroShare's me…
pkdash Aug 15, 2026
e007fac
docs: clarify absence of coordinates field for raster aggregations
pkdash Aug 15, 2026
1a84505
fix: update relation handling in legacy resource metadata adapter to …
pkdash Aug 16, 2026
be334c9
fix: refactor aggregation path handling to utilize resource-level ind…
pkdash Aug 16, 2026
ef5ea20
refactor: override file-based aggregation handling in Resource class
pkdash Aug 16, 2026
7e5aab8
fix: improve error handling for associated media items
pkdash Aug 16, 2026
b930df2
add TODOs for updating HydroShare API endpoints related to file-based…
pkdash Aug 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
venv/
dist/
site/
build/
hsclient.egg-info/
.idea/
__pycache__/
.DS_Store
8 changes: 4 additions & 4 deletions hsclient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

from hsclient.hydroshare import (
Aggregation,
CSVAggregation,
File,
GeoFeatureAggregation,
GeoRasterAggregation,
HydroShare,
Resource,
NetCDFAggregation,
Resource,
TimeseriesAggregation,
GeoRasterAggregation,
GeoFeatureAggregation,
CSVAggregation
)
from hsclient.oauth2_model import Token
Loading
Loading