|
|
10 năm trước cách đây | |
|---|---|---|
| .. | ||
| parquet | 10 năm trước cách đây | |
| test | 11 năm trước cách đây | |
| test-data | 11 năm trước cách đây | |
| LICENSE | 11 năm trước cách đây | |
| README.md | 11 năm trước cách đây | |
| setup.py | 11 năm trước cách đây | |
parquet-python is a pure-python implementation (currently with only read-support) of the parquet format. It comes with a script for reading parquet files and outputting the data to stdout as JSON or TSV (without the overhead of JVM startup). Performance has not yet been optimized, but it's useful for debugging and quick viewing of data in files.
Not all parts of the parquet-format have been implemented yet or tested e.g. nested data and the deprecated bit-packing encoding -- see Todos below for a full list. With that said, parquet-python is capable of reading all the data files from the parquet-compatability project.
parquet-python has been tested on python 2.7. It depends on thrift (0.9) and python-snappy (for snappy compressed files).
parquet-python is not yet uploaded to PyPi as the code has a lot of bugs. To get started, clone the project, change into the parquet-python directory, and run python -m parquet.
You may need to install the thrift and python-snappy projects with easy_install or pip. To install parquet-python system-wide, run python setup.py install.
Is done via Pull Requests. Please include tests with your changes and follow pep8.