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

Package DoraStatus into dora python package #172

Merged
merged 3 commits into from
Jan 18, 2023

Conversation

haixuanTao
Copy link
Collaborator

@haixuanTao haixuanTao commented Jan 16, 2023

To prepare for future features, this PR initiates a __init__.py file that makes the dora python node api, a mixed python/rust project.

Any python function or variable included in the __init__.py will be distributed along rust function declared in src/lib.rs.

#163 has shown that there might be limitations depending too much on pyo3, and we will need more Python code for some specific task if we want to have optimal performance and reliability.

This is compatible with dora-daemon.

To prepare for future feature, this commit initiate a `__init__.py` file
that makes the dora python node api, a mixed python/rust project.

Any python function or variable included in the `__init__.py` will be
distributed along rust function declared in `src/lib.rs`.

#163 has shown the limitation on
depending too much on `pyo3`.
@haixuanTao haixuanTao changed the title Package DoraStatus into dora python package. Package DoraStatus into dora python package Jan 16, 2023
@haixuanTao haixuanTao merged commit f1dcdf2 into main Jan 18, 2023
@haixuanTao haixuanTao deleted the mix-python-and-rust-for-py-node-api branch January 18, 2023 11:01
@haixuanTao haixuanTao mentioned this pull request Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants