Skip to content

Commit

Permalink
Rename to pyo3-arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Jun 25, 2024
1 parent f84fe1f commit 526eb6c
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 35 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["arro3-compute", "arro3-core", "arro3-internal"]
members = ["arro3-compute", "arro3-core", "pyo3-arrow"]
resolver = "2"

[workspace.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions arro3-compute/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arro3-compute"
version = "0.1.0"
version = "0.1.0-beta.1"
authors = ["Kyle Barron <[email protected]>"]
edition = "2021"
description = "Rust-based compute kernels for Arrow in Python."
Expand All @@ -24,4 +24,4 @@ arrow-select = { workspace = true }
arrow = { workspace = true, features = ["ffi"] }
pyo3 = { workspace = true, features = ["abi3-py38"] }
thiserror = { workspace = true }
arro3-internal = { path = "../arro3-internal" }
pyo3-arrow = { path = "../pyo3-arrow" }
6 changes: 3 additions & 3 deletions arro3-compute/src/concat.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use arro3_internal::array::PyArray;
use arro3_internal::chunked::PyChunkedArray;
use arro3_internal::error::PyArrowResult;
use pyo3::prelude::*;
use pyo3_arrow::array::PyArray;
use pyo3_arrow::chunked::PyChunkedArray;
use pyo3_arrow::error::PyArrowResult;

#[pyfunction]
pub fn concat(input: PyChunkedArray) -> PyArrowResult<PyObject> {
Expand Down
4 changes: 2 additions & 2 deletions arro3-compute/src/take.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use arro3_internal::array::PyArray;
use arro3_internal::error::PyArrowResult;
use pyo3::prelude::*;
use pyo3_arrow::array::PyArray;
use pyo3_arrow::error::PyArrowResult;

#[pyfunction]
pub fn take(values: PyArray, indices: PyArray) -> PyArrowResult<PyObject> {
Expand Down
4 changes: 2 additions & 2 deletions arro3-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arro3-core"
version = "0.1.0"
version = "0.1.0-beta.1"
authors = ["Kyle Barron <[email protected]>"]
edition = "2021"
description = "Core library for representing Arrow data in Python."
Expand All @@ -17,5 +17,5 @@ name = "_rust"
crate-type = ["cdylib"]

[dependencies]
arro3-internal = { path = "../arro3-internal" }
pyo3-arrow = { path = "../pyo3-arrow" }
pyo3 = { workspace = true, features = ["abi3-py38"] }
14 changes: 7 additions & 7 deletions arro3-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ fn ___version() -> &'static str {
fn _rust(_py: Python, m: &Bound<PyModule>) -> PyResult<()> {
m.add_wrapped(wrap_pyfunction!(___version))?;

m.add_class::<arro3_internal::array::PyArray>()?;
m.add_class::<arro3_internal::chunked::PyChunkedArray>()?;
m.add_class::<arro3_internal::field::PyField>()?;
m.add_class::<arro3_internal::record_batch::PyRecordBatch>()?;
m.add_class::<arro3_internal::record_batch_reader::PyRecordBatchReader>()?;
m.add_class::<arro3_internal::schema::PySchema>()?;
m.add_class::<arro3_internal::table::PyTable>()?;
m.add_class::<pyo3_arrow::array::PyArray>()?;
m.add_class::<pyo3_arrow::chunked::PyChunkedArray>()?;
m.add_class::<pyo3_arrow::field::PyField>()?;
m.add_class::<pyo3_arrow::record_batch::PyRecordBatch>()?;
m.add_class::<pyo3_arrow::record_batch_reader::PyRecordBatchReader>()?;
m.add_class::<pyo3_arrow::schema::PySchema>()?;
m.add_class::<pyo3_arrow::table::PyTable>()?;

Ok(())
}
2 changes: 1 addition & 1 deletion pyo3-arrow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "arro3-internal"
name = "pyo3-arrow"
version = "0.1.0"
authors = ["Kyle Barron <[email protected]>"]
edition = "2021"
Expand Down

0 comments on commit 526eb6c

Please sign in to comment.