mongo-arrow
MongoDB integrations for Apache Arrow. Export MongoDB documents to numpy array, parquet files, and pandas dataframes in one line of code.
File Explorer
Download Latest Version (.zip)- bump-version.sh
- benchmark.yml
- dist-python.yml
- release-python.yml
- test-python.yml
- zizmor.yml
- CODEOWNERS
- dependabot.yml
- PULL_REQUEST_TEMPLATE.md
- zizmor.yml
- __init__.py
- benchmarks.py
- api.rst
- index.rst
- monkey.rst
- pandas_types.rst
- types.rst
- pydoctheme.css
- theme.conf
- conf.py
- index.rst
- __init__.py
- api.py
- context.py
- errors.py
- lib.pyx
- libarrow.pxd
- libbson.pxd
- monkey.py
- pandas_types.py
- polars_types.py
- result.py
- schema.py
- types.py
- version.py
- __init__.py
- test_binary.py
- test_code.py
- test_decimal128.py
- test_int32_overflow.py
- test_objectid.py
- util.py
- __init__.py
- conftest.py
- nested_data_in.json
- nested_data_out.json
- test_arrow.py
- test_bson.py
- test_builders.py
- test_datetime.py
- test_libbson.py
- test_monkey.py
- test_numpy.py
- test_pandas.py
- test_polars.py
- test_pymongoarrow.py
- test_schema.py
- utils.py
- .gitignore
- asv.conf.json
- build-libbson.sh
- CHANGELOG.md
- cibw_before_build.sh
- CMakeLists.txt
- CONTRIBUTING.md
- justfile
- LICENSE
- pyproject.toml
- README.md
- RELEASE.md
- THIRD-PARTY-NOTICES
- uv.lock
- .git-blame-ignore-revs
- .pre-commit-config.yaml
- .readthedocs.yaml
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/mongodb-labs/mongo-arrow
Downloads the entire project code from GitHub to your computer.
cd mongo-arrow
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd bindings/python
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
3. Python
EasyPrerequisites
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install .
Installs the package published on PyPI directly โ no need to clone the source.
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
