Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Python library interface #50

Open
Saethox opened this issue Dec 14, 2021 · 0 comments
Open

Add a Python library interface #50

Saethox opened this issue Dec 14, 2021 · 0 comments
Labels
backlog This issue is postponed other repo This issue actually belongs in another repository (that might need creating)

Comments

@Saethox
Copy link
Collaborator

Saethox commented Dec 14, 2021

On the long-term, we could make MAHF usable as a Python library, using PyO3. This is in backlog for now, as the API of MAHF may still change somewhat.

The concrete implementation will probably then be hosted on another repository, but this issue should serve as a reminder. We probably don't need to much to support this interface, except converting 'static lifetimes from structs such as Configuration into less restrictive lifetimes, because they don't play well with Python's memory management.
But this is an issue for another time.

@Saethox Saethox added the backlog This issue is postponed label Dec 14, 2021
@HeleNoir HeleNoir added the other repo This issue actually belongs in another repository (that might need creating) label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This issue is postponed other repo This issue actually belongs in another repository (that might need creating)
Projects
None yet
Development

No branches or pull requests

2 participants