-
v0.5.0 Stable
released this
2025-05-05 01:16:31 +03:00 | 0 commits to master since this releaseAPI Changes
- Properties
date_start_altanddate_end_altof classMessagecan now beNoneif not provided by the RMV's API
Fixes
- KeyError could occur when
altStartoraltEndwere not provided toMessage(6ade6f7554)
Dependencies
- Bump
xmltodictto~=0.14.0 - Bump
isodateto~=0.7.0
Downloads
- Properties
-
v0.4.0 Stable
released this
2024-09-08 02:54:50 +03:00 | 55 commits to master since this release⚠️ THIS UPDATE INCLUDES BREAKING CHANGES
Even though this release is not a major one, it does include breaking changes. Major version is not used as the package is still deeply in development.
Breaking Changes
- Methods of the
Clientas well as all the objects no longer use separatedateandtimeinput/output data. This means that methods will now require argumenttimeof typedatetime.datetime, and all the objects that had separate properties of typesdateandtimewill now provide onedatetime.datetimeobject with date and time combined - Different objects now strictly show that some of their properties can be
None BoardArrivalandBoardDeparturenow requireClientas a separate and optional argumentclientthat can beNoneifretrieve_stopsandretrieve_journeyareFalse
Improvements
- Optional dependencies
speedhave been added. You can install them by installingpyrmv[speed]instead ofpyrmvusing pip. Now speed-ups only includeujson, but more can be added in the future - Typed properties of most of the objects will now be correctly shown in IDEs
- RMV API 2.39.1 support
- Python 3.12 support
Fixes
- Probable fix for missing direction flag (#2)
Dependencies
- Bump
requeststo~=2.32.3
Downloads
- Methods of the
-
v0.4.0-rc.2 Pre-Release
released this
2023-11-27 23:14:46 +02:00 | 166 commits to master since this release⚠️ THIS UPDATE INCLUDES BREAKING CHANGES
Even though this release is not a major one, it does include breaking changes. Major version is not used as the package is still deeply in development.
Breaking Changes
- Methods of the
Clientas well as all the objects no longer use separatedateandtimeinput/output data. This means that methods will now require argumenttimeof typedatetime.datetime, and all the objects that had separate properties of typesdateandtimewill now provide onedatetime.datetimeobject with date and time combined - Different objects now strictly show that some of their properties can be
None BoardArrivalandBoardDeparturenow requireClientas a separate and optional argumentclientthat can beNoneifretrieve_stopsandretrieve_journeyareFalse
Improvements
- Optional dependencies
speedhave been added. You can install them by installingpyrmv[speed]instead ofpyrmvusing pip. Now speed-ups only includeujson, but more can be added in the future - Typed properties of most of the objects will now be correctly shown in IDEs
Fixes
- Probable fix for missing direction flag (#2)
Downloads
- Methods of the
-
v0.4.0-rc.1
Pre-Releasereleased this
2023-11-25 15:31:26 +02:00 | 245 commits to dev since this release⚠️ THIS UPDATE INCLUDES BREAKING CHANGES
Even though this release is not a major one, it does include breaking changes. Major version is not used as the package is still deeply in development.
Breaking Changes
Journey.refwill now be automatically converted to the newer format usingpyrmv.utility.ref_upgrade()because refs RMV gives aren't the ones RMV accepts. (#2)- Import paths to classes are different now. If you want to import classes now, you need to import them from
pyrmv.classesinstead ofpyrmv. Exception is onlyClientwhich should be imported frompyrmv - Constants, utility functions, and enums can now be imported directly from the respective space like this:
from pyrmv.enums import FilterMode - Project structure has been changed quite a lot so any forks or development efforts should consider this
- Python 3.7 support has been dropped
Improvements
- Project structure has been cleaned up and improvement using isort and black
- Imports are now cleaner and easier to understand
- Pytest now tests
Client's methods together with tox using Actions
Fixes
- New refs of
Journeyhave been implemented - Missing "Messages" in RMV's output will now result in empty arrays instead of errors (#2)
Downloads