mirror of
https://github.com/Magnus167/msyrs.git
synced 2025-08-20 07:20:01 +00:00
add download module to Python API
This commit is contained in:
parent
bba5acd724
commit
5c8263d03e
@ -1,6 +1,10 @@
|
||||
|
||||
/// Python API for [`crate::utils::qdf`].
|
||||
pub mod qdf;
|
||||
|
||||
/// Python API for [`crate::download`].
|
||||
pub mod download;
|
||||
|
||||
use pyo3::{prelude::*, wrap_pymodule};
|
||||
// use pyo3_polars::PyDataFrame;
|
||||
|
||||
@ -8,5 +12,6 @@ use pyo3::{prelude::*, wrap_pymodule};
|
||||
#[pymodule]
|
||||
pub fn msyrs(_py: Python, m: &PyModule) -> PyResult<()> {
|
||||
m.add_wrapped(wrap_pymodule!(qdf::qdf))?;
|
||||
m.add_wrapped(wrap_pymodule!(download::download))?;
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user