Expose ConfigRepr capabilities in Nyx Python API #212
Labels
Interface: Python
Kind: Improvement
This is a proposed improvement
Priority: normal
Status: Development
Issue at Test Driven Development phase of the quality assurance process
High level description
After utilizing the Nyx toolkit in Python, stakeholders have identified additional functionality needed in the Python interface to improve usability.
Specifically, users need the ability to:
Initialize Nyx objects like OrbitTraj directly from Python dictionaries, for easy creation from existing data.
Serialize Nyx objects to pickle format in Python for convenient saving and loading.
Deserialize pickled Nyx objects back into native Python objects.
These capabilities will allow seamless interoperability between Nyx objects and common Python workflows like loading simulation data or persisting objects to disk.
Enabling dictionary initialization and pickling will provide more flexibility when interacting with Nyx from Python code. This will improve developer experience and productivity.
Let me know if you would like me to modify or expand this high-level description of the stakeholder needs in any way. I'm happy to clarify or add further details as needed.
Requirements
Any Nyx object implementing the Rust ConfigRepr trait must also expose equivalent functionality to Python
This includes:
Design
No change to design.
Affected classes:
The text was updated successfully, but these errors were encountered: