All notable changes to this project will be documented in this file.
- Updated dependencies and moved to Python 3.10
- Changed the way parameters are accessed to be more like the Java/Scala CSW APIs
- Added use of Python Generics for keys and parameters, to provide type hints for IDEs
- Added Sequencer client APIs (so you can control a running sequencer from Python)
- Add an esw-shell application, similar to the Scala CSW one (see ./esw-shell.sh wrapper)
- Added command service client features (class csw.CommandService)
- Renamed KeyType enum to KeyTypes and added KeyType class hierarchy, similar to CSW APIs
- Refactored code to use new python 3.10 features
- Added code to find a unique port when registering with the Location Service with port=0
- Updated Units to match latest CSW version
- Fixed issue with Redis sentinal (need to use localhost)
- Updated CSW version to v5.0.0
- Added Command Service and Config Service client APIs
- Minor changes to Makefile
- Changed to use pdoc3 instead of pdoc
- Removed outdated dependency on pathlib
- Checked in test data file that was missing
- Updated Pipfile.lock
- Changed Makefile to define PYTHON as python3.9 (override with make PYTHON=python3.x if needed)
- Updated for csw-4.0.1
- Updated dependencies
- Renamed GitHub repo from pycsw to csw-python (The pypi package is still named "tmtpycsw")
- Changed type of "prefix" arguments from str to Prefix, matching CSW API
- Changed type of event name arguments to EventName and command name to ComandName, in line with the CSW API
- Updated Location Service Registration classes to more closely match CSW APIs
- Updated code to handle different time value formats in JSON and CBOR encodings of parameter values
- Added tests
- Updated for CSW-4.0.0
- Added EventKey class and used it instead of str for event keys
- Adding logging support (use:
log = structlog.get_logger()
) - Added enums for KeyType, Subsystem, Units
- Added missing ComponentType values (SequenceComponent, Machine) and changed case to match CSW API
- Added ComponentId class and additional constructor for ConnectionInfo
- Added tests, updated existing examples and tests
-
Updated for CSW-4.0.0-RC1
-
Removed CSW
struct
parameter type -
Published to https://pypi.org/project/tmtpycsw/4.0.0rc1/
-
Updated for CSW-3.0.1
-
Added code to unsubscribe current state subscribers on web socket close
- Updated for CSW-3.0.0-M1 and change in NetworkType JSON encoding
- Added Command Service test
- Updated dependencies
- Fixed issue with "Current State" publishing from python code.
-
Updated for latest csw version (v3.0.0-M1)
-
Changed event service code to get the redis sentinel location from the location service and use it (previously used hard coded host:port)
-
Added unsubscribe method to EventSubscriber (Used to unsubscribe only: You can also call stop() on the event subscriber thread returned from the subscribe call to stop the listening thread.)
- Added documentation, test code
- Updated for csw-2.0.1