Skip to main content

pomelo_data/
lib.rs

1//! pomelo-data — native I/O layer. Reads per-symbol price files into yuzu-core
2//! `Panel` matrices. Formats are detected by content: gzip CSV (`.csv.gz`),
3//! plain CSV (`.csv`), and — with the `parquet` feature — Apache Parquet
4//! (`.parquet`). NOT a dependency of yuzu-core (which stays WASM-pure);
5//! pomelo-data depends on yuzu-core, never the reverse.
6
7pub mod combined;
8pub mod csv_io;
9mod date;
10pub mod error;
11pub mod factors;
12pub mod format;
13pub mod fundamentals;
14pub mod industry;
15pub mod loader;
16mod parallel;
17#[cfg(feature = "parquet")]
18mod parquet_io;
19pub mod source;
20
21pub use combined::{
22    assemble, load_combined_panel, rebuild_combined_panels, write_combined_panel, RebuildSummary,
23    PANELS_DIR,
24};
25pub use csv_io::{Field, OhlcvRow};
26pub use format::Format;
27pub use fundamentals::{
28    is_fundamental_series, load_fundamental_panel, parse_fundamentals, write_fundamentals,
29    FundamentalRow, FACTOR_PANEL_FIELDS, FUNDAMENTALS_DIR, FUNDAMENTAL_FIELDS, REPORT_EVENT_FIELD,
30};
31pub use loader::{load_panel, PRICES_DIR};
32pub use source::{list_symbols, LocalSource, ObjectLister, ObjectSink, ObjectSource};