# activeloopai/deeplake

> deeplake is a database for AI that stores and searches data and vectors for LLM applications and manages datasets for training deep learning models. It uses a storage format optimized for deep learning, keeping images, audio and video in their native compression and loading data lazily only when a query or training run needs it. The core code is mainly C++, with Python and C also in the repository.

Source: https://github.com/activeloopai/deeplake
Indexed: commit f432041 on 2026-08-17 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: C++
- Stars: 9,273 at index time
- License: Apache-2.0
- Code health: 8.1/10, Good
- Last commit: 2026-02-16
- Contributors: 158

## Install

From the README: https://github.com/activeloopai/deeplake

Install deeplake from PyPI with pip.
    pip install deeplake

## How it works

The python/ directory holds 51 Python files, and the README describes one API for uploading, downloading and streaming datasets. The cpp/ directory holds 612 files, the largest module, and cpp/CMakeLists.txt is its CMake build manifest. The postgres/ directory holds 131 files for the Postgres side, with tests under postgres/tests/py_tests, and .github/workflows/pg-extension-build.yaml builds that extension in continuous integration. Datasets are then read back for querying, vector search, streaming to PyTorch or TensorFlow dataloaders, or visualization. The docs/ directory holds 49 documentation files.

- cpp/3rd_party/sql-parser/benchmark/benchmark.cpp: entry point
- cpp/3rd_party/sql-parser/benchmark/benchmark_utils.h: entry point
- cpp/3rd_party/sql-parser/benchmark/parser_benchmark.cpp: entry point
- cpp/async/run.hpp: entry point
- .github/ISSUE_TEMPLATE/bug_report.yaml: central file
Modules: cpp, postgres, python, docs, root, .github, scripts. 856 files, 192,932 lines, 13,494 symbols.

## Code health

- Score: 8.1/10 (Good)
- Rank: #67 of 257 ranked repos
- Hotspots: none
- Lowest file: cpp/deeplake_pg/nd_utils.hpp
- Dead code: 802 findings

## Maintenance

- Last commit 2026-02-16, first commit 2019-08-09, 9,411 commits
- 158 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/activeloopai/deeplake/security

## More

- Page: https://repowise.dev/repo/activeloopai/deeplake
- Ask this codebase: https://repowise.dev/repo/activeloopai/deeplake/chat
- Docs: https://repowise.dev/repo/activeloopai/deeplake/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/activeloopai/deeplake
