Skip to main content

Python library for Apache Arrow

Project description

Python library for Apache Arrow

This library provides a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with pandas, NumPy, and other software in the Python ecosystem.

Installing

Across platforms, you can install a recent version of pyarrow with the conda package manager:

conda install pyarrow -c conda-forge

On Linux/macOS and Windows, you can also install binary wheels from PyPI with pip:

pip install pyarrow

Development

Coding Style

We follow a similar PEP8-like coding style to the pandas project.

The code must pass flake8 (available from pip or conda) or it will fail the build. Check for style errors before submitting your pull request with:

flake8 .
flake8 --config=.flake8.cython .

Building from Source

See the Development page in the documentation.

Running the unit tests

We are using pytest to develop our unit test suite. After building the project using setup.py build_ext --inplace, you can run its unit tests like so:

pytest pyarrow

The project has a number of custom command line options for its test suite. Some tests are disabled by default, for example. To see all the options, run

pytest pyarrow --help

and look for the "custom options" section.

For running the benchmarks, see the Sphinx documentation.

Building the documentation

pip install -r ../docs/requirements.txt
python setup.py build_sphinx -s ../docs/source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyarrow-0.12.1.tar.gz (626.0 kB view hashes)

Uploaded Source

Built Distributions

pyarrow-0.12.1-cp37-cp37m-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

pyarrow-0.12.1-cp37-cp37m-manylinux1_x86_64.whl (12.4 MB view hashes)

Uploaded CPython 3.7m

pyarrow-0.12.1-cp37-cp37m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.6+ intel

pyarrow-0.12.1-cp36-cp36m-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

pyarrow-0.12.1-cp36-cp36m-manylinux1_x86_64.whl (12.4 MB view hashes)

Uploaded CPython 3.6m

pyarrow-0.12.1-cp36-cp36m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

pyarrow-0.12.1-cp35-cp35m-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

pyarrow-0.12.1-cp35-cp35m-manylinux1_x86_64.whl (12.4 MB view hashes)

Uploaded CPython 3.5m

pyarrow-0.12.1-cp35-cp35m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

pyarrow-0.12.1-cp27-cp27mu-manylinux1_x86_64.whl (12.3 MB view hashes)

Uploaded CPython 2.7mu

pyarrow-0.12.1-cp27-cp27m-manylinux1_x86_64.whl (12.3 MB view hashes)

Uploaded CPython 2.7m

pyarrow-0.12.1-cp27-cp27m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 2.7m macOS 10.6+ intel

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page