2 unstable releases

new 0.2.0 Oct 15, 2024
0.1.0 Oct 6, 2024

#27 in #different

Download history 103/week @ 2024-09-30 58/week @ 2024-10-07

161 downloads per month

MIT license

185KB
3.5K SLoC

marrow - minimalist Arrow interop

Crate info | API docs

marrow allows building and viewing arrow arrays of different implementations using a unified interface. The motivation behind marrow is to allow libraries to target multiple different arrow versions simultaneously.

Development

All important development tasks are packaged in the x.py script. It does not require any external dependencies and can be executed with any recent Python version.

  • python x.py precommit: wrapper around format, check, test
  • python x.py test: execute the tests
  • python x.py check: run linters
  • python x.py format: format the source code
  • cargo test --all-features execute the tests without the x.py script

License

Copyright (c) 2024 Christopher Prohm

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Tests in test_with_arrow use snippets from the arrow documentation licensed under the Apache Software License 2.0. Copies of the license and notice files can be found at test_with_arrow/LICENSE.arrow.txt and test_with_arrow/NOTICE.arrow.txt.

Dependencies

~0.6–8MB
~65K SLoC