Import python venv for stability
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
pip
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: fastparquet
|
||||
Version: 2025.12.0
|
||||
Summary: Python support for Parquet file format
|
||||
Home-page: https://github.com/dask/fastparquet/
|
||||
Author: Martin Durant
|
||||
Author-email: mdurant@anaconda.com
|
||||
License: Apache License 2.0
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: System Administrators
|
||||
Classifier: License :: OSI Approved :: Apache Software License
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Requires-Python: >=3.10
|
||||
License-File: LICENSE
|
||||
Requires-Dist: pandas>=1.5.0
|
||||
Requires-Dist: numpy
|
||||
Requires-Dist: cramjam>=2.3
|
||||
Requires-Dist: fsspec
|
||||
Requires-Dist: packaging
|
||||
Provides-Extra: lzo
|
||||
Requires-Dist: python-lzo; extra == "lzo"
|
||||
Dynamic: author
|
||||
Dynamic: author-email
|
||||
Dynamic: classifier
|
||||
Dynamic: description
|
||||
Dynamic: home-page
|
||||
Dynamic: license
|
||||
Dynamic: license-file
|
||||
Dynamic: provides-extra
|
||||
Dynamic: requires-dist
|
||||
Dynamic: requires-python
|
||||
Dynamic: summary
|
||||
|
||||
fastparquet
|
||||
===========
|
||||
|
||||
.. image:: https://github.com/dask/fastparquet/actions/workflows/main.yaml/badge.svg
|
||||
:target: https://github.com/dask/fastparquet/actions/workflows/main.yaml
|
||||
|
||||
.. image:: https://readthedocs.org/projects/fastparquet/badge/?version=latest
|
||||
:target: https://fastparquet.readthedocs.io/en/latest/
|
||||
|
||||
fastparquet is a python implementation of the `parquet
|
||||
format <https://github.com/apache/parquet-format>`_, aiming integrate
|
||||
into python-based big data work-flows. It is used implicitly by
|
||||
the projects Dask, Pandas and intake-parquet.
|
||||
|
||||
We offer a high degree of support for the features of the parquet format, and
|
||||
very competitive performance, in a small install size and codebase.
|
||||
|
||||
Details of this project, how to use it and comparisons to other work can be found in the documentation_.
|
||||
|
||||
.. _documentation: https://fastparquet.readthedocs.io
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
(all development is against recent versions in the default anaconda channels
|
||||
and/or conda-forge)
|
||||
|
||||
Required:
|
||||
|
||||
- numpy
|
||||
- pandas
|
||||
- cython >= 0.29.23 (if building from pyx files)
|
||||
- cramjam
|
||||
- fsspec
|
||||
|
||||
Supported compression algorithms:
|
||||
|
||||
- Available by default:
|
||||
|
||||
- gzip
|
||||
- snappy
|
||||
- brotli
|
||||
- lz4
|
||||
- zstandard
|
||||
|
||||
- Optionally supported
|
||||
|
||||
- `lzo <https://github.com/jd-boyd/python-lzo>`_
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Install using conda, to get the latest compiled version::
|
||||
|
||||
conda install -c conda-forge fastparquet
|
||||
|
||||
or install from PyPI::
|
||||
|
||||
pip install fastparquet
|
||||
|
||||
You may wish to install numpy first, to help pip's resolver.
|
||||
This may install an appropriate wheel, or compile from source. For the latter,
|
||||
you will need a suitable C compiler toolchain on your system.
|
||||
|
||||
You can also install latest version from github::
|
||||
|
||||
pip install git+https://github.com/dask/fastparquet
|
||||
|
||||
in which case you should also have ``cython`` to be able to rebuild the C files.
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Please refer to the documentation_.
|
||||
|
||||
*Reading*
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from fastparquet import ParquetFile
|
||||
pf = ParquetFile('myfile.parq')
|
||||
df = pf.to_pandas()
|
||||
df2 = pf.to_pandas(['col1', 'col2'], categories=['col1'])
|
||||
|
||||
You may specify which columns to load, which of those to keep as categoricals
|
||||
(if the data uses dictionary encoding). The file-path can be a single file,
|
||||
a metadata file pointing to other data files, or a directory (tree) containing
|
||||
data files. The latter is what is typically output by hive/spark.
|
||||
|
||||
*Writing*
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from fastparquet import write
|
||||
write('outfile.parq', df)
|
||||
write('outfile2.parq', df, row_group_offsets=[0, 10000, 20000],
|
||||
compression='GZIP', file_scheme='hive')
|
||||
|
||||
The default is to produce a single output file with a single row-group
|
||||
(i.e., logical segment) and no compression. At the moment, only simple
|
||||
data-types and plain encoding are supported, so expect performance to be
|
||||
similar to *numpy.savez*.
|
||||
|
||||
History
|
||||
-------
|
||||
|
||||
This project forked in October 2016 from `parquet-python`_, which was not designed
|
||||
for vectorised loading of big data or parallel access.
|
||||
|
||||
.. _parquet-python: https://github.com/jcrobak/parquet-python
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
fastparquet-2025.12.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
fastparquet-2025.12.0.dist-info/METADATA,sha256=gn5-MZyt-UavrrTOsumY9NSfIpBuzqw3j9xNFfOSo2k,4410
|
||||
fastparquet-2025.12.0.dist-info/RECORD,,
|
||||
fastparquet-2025.12.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
fastparquet-2025.12.0.dist-info/WHEEL,sha256=BvA_i88wcFUl5ehXLgmhwyDL4XPGrCKn6CTUA9axFDE,190
|
||||
fastparquet-2025.12.0.dist-info/licenses/LICENSE,sha256=DOwG4OVfvD3FzuT8qbYH9my49OTbzzs8ATWU3RVnMuk,10173
|
||||
fastparquet-2025.12.0.dist-info/top_level.txt,sha256=5slelWW3CY4bsRx6tU16wi_9Dvg8FyZ4CS61Xz4rKQw,12
|
||||
fastparquet/__init__.py,sha256=HzLAAOkcTWT_ZHyvCn8kEIgAviC2ICix_BCycwqZE3w,294
|
||||
fastparquet/__pycache__/__init__.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/_version.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/api.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/compression.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/converted_types.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/core.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/dataframe.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/encoding.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/evolve.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/json.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/schema.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/thrift_structures.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/util.cpython-311.pyc,,
|
||||
fastparquet/__pycache__/writer.cpython-311.pyc,,
|
||||
fastparquet/_version.py,sha256=RT6IUsg9JXbXjrEiwknLho8u9Qwh9mHUHv7lM99q0Us,720
|
||||
fastparquet/api.py,sha256=UeVUbAwITTWoSsKHYs810jN3cFkFcYCtZMhF7LKYTcY,63561
|
||||
fastparquet/cencoding.c,sha256=2wA7Z3jvcAc4YTJiCFDOpcxWFZW7jq2zWoHYaPB4azo,1855652
|
||||
fastparquet/cencoding.cpython-311-x86_64-linux-gnu.so,sha256=vyVqxNyMPROfTrVbFEvbeqRaLJDtf2RBjUQWkYckbdA,3021608
|
||||
fastparquet/cencoding.pyx,sha256=Z7NSiAgmtdqEwWjaT9d5N8SYZTTJEpeABjtoGc3Aj2o,37552
|
||||
fastparquet/compression.py,sha256=5zaL_qaRLlrpX0pjYnZ0NsNXK20GVFx_BpL4STczjOI,3691
|
||||
fastparquet/converted_types.py,sha256=tMv7BbooLOiS6PfOcTqsMtavUprnYWS4hI-Qg7uUNdQ,9855
|
||||
fastparquet/core.py,sha256=QssRkaqWBYR3rXeHLlSqKVcodiziSnjiu-EwEfeePdw,29903
|
||||
fastparquet/dataframe.py,sha256=eJ789Qe2X6P0gTHQIdDWPyGdX2aRGO94kK14ESTkshM,11117
|
||||
fastparquet/encoding.py,sha256=RthaoZt7LcG_Y6nCekJwZUkXZKJbYGspe_OIe4dufLk,1572
|
||||
fastparquet/evolve.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
fastparquet/json.py,sha256=FCkto0BSc4-4i4bD9rSqAJd_tBAHzLUiE1r-bnT2dFk,3731
|
||||
fastparquet/parquet.thrift,sha256=sBr_36Vzek6dnFFjFXu5BzQPA0iJ8k4rbzxQtzVbKR8,34890
|
||||
fastparquet/parquet_thrift/__init__.py,sha256=Kq_I6vARRR6k6aZzAO1wKQydUNsmAlWLcO7u7DGsIOw,340
|
||||
fastparquet/parquet_thrift/__pycache__/__init__.cpython-311.pyc,,
|
||||
fastparquet/parquet_thrift/parquet/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
|
||||
fastparquet/parquet_thrift/parquet/__pycache__/__init__.cpython-311.pyc,,
|
||||
fastparquet/parquet_thrift/parquet/__pycache__/ttypes.cpython-311.pyc,,
|
||||
fastparquet/parquet_thrift/parquet/ttypes.py,sha256=eQwXEOQmRKSdUij_UgTzfWMHkzjJzo5za6c2LZml9iU,5681
|
||||
fastparquet/schema.py,sha256=j3sF3jCLgyfvnEn_-IHI0eKwMnoOFcG4ig9l6ull4WI,7073
|
||||
fastparquet/speedups.c,sha256=okl51gXw_k7lZlrEWbpe7mZh06Oy8sDp30caSGy3jwE,1200875
|
||||
fastparquet/speedups.cpython-311-x86_64-linux-gnu.so,sha256=guaLs80Dj7mdyPGHQXBkXq6Oi7y4Pv_MwjVolo4oB04,1689464
|
||||
fastparquet/speedups.pyx,sha256=74JqKSFNCoRWoU0ExTL8tSSrAjzH5DjdT1RCdWTmrwI,3234
|
||||
fastparquet/thrift_structures.py,sha256=Ek5yE2Mvp4sZTAMZn3TlH2PCCK6Gpk5vPzeDSwdFyp0,133
|
||||
fastparquet/util.py,sha256=BwP-ltzt45UhX30C95F0wsPPm4mQS1HqgmT8wGkKE3s,17606
|
||||
fastparquet/writer.py,sha256=x9IFHwzudZdZfDhre2YfQUFYpjC3zvyBnnndPBRm9XU,71258
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (80.9.0)
|
||||
Root-Is-Purelib: false
|
||||
Tag: cp311-cp311-manylinux_2_17_x86_64
|
||||
Tag: cp311-cp311-manylinux2014_x86_64
|
||||
Tag: cp311-cp311-manylinux_2_28_x86_64
|
||||
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
+1
@@ -0,0 +1 @@
|
||||
fastparquet
|
||||
Reference in New Issue
Block a user