Skip to main content

nautilus_persistence/python/backend/
mod.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.
3//  https://nautechsystems.io
4//
5//  Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6//  You may not use this file except in compliance with the License.
7//  You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9//  Unless required by applicable law or agreed to in writing, software
10//  distributed under the License is distributed on an "AS IS" BASIS,
11//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//  See the License for the specific language governing permissions and
13//  limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16mod arrow;
17mod conversion;
18
19pub(crate) use arrow::{
20    arrow_ipc_batches, arrow_ipc_data_schema, arrow_ipc_record_schema,
21    arrow_record_batches_from_pybytes,
22};
23pub use conversion::{PyCatalogDataType, nautilus_data_type_from_py};
24pub(crate) use conversion::{
25    catalog_metadata_to_pydict, catalog_record_type_from_py, to_pyio_err,
26    write_record_params_from_py, writer_record_filter_from_py,
27};
28
29pub mod feather;
30pub mod parquet;
31pub mod session;
32pub mod writer;