Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DeepEcoHab: fast and intuitive data analysis platform for your EcoHab experiments

PyPI version Python versions License: MIT

DeepEcoHab is an analytics platform built for preprocessing, analysis and visualization of data acquired in the DeepEcoHab.

Our backend is built on Polars - Extremely fast Query Engine for DataFrames, written in Rust and visualization utilizes Plotly, providing interactive, high quality and responsive plots of experiments regardless of their length.

Quick start

Two steps get you from nothing to a running dashboard:

uv tool install "deepecohab[app]"   # install as a standalone app
deepecohab-shortcut                 # create a desktop icon

Then double-click the DeepEcoHab icon on your desktop. See Installation for uv setup and other platforms.

Installation

We keep DeepEcoHab lean to ensure easy integration and fast installation. In the spirit of open-source we build on uv — a fast, self-contained Python package manager.

Step 1 — Install uv

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Linux / macOS:

curl -LsSf https://astral.sh/uv/install.sh | sh

Step 2 — Install DeepEcoHab

For most users the simplest path is to install DeepEcoHab as a standalone application. This puts the deepecohab-app and deepecohab-shortcut commands on your PATH in an isolated environment — no virtual environment to create or activate:

uv tool install "deepecohab[app]"

That's it. Run deepecohab-app to launch the dashboard, which opens automatically in your browser.

If the commands aren't found afterwards, run uv tool update-shell and reopen your terminal.

Desktop shortcut (Windows)

After uv tool install "deepecohab[app]", create a clickable desktop icon with:

deepecohab-shortcut

This places a DeepEcoHab shortcut on your desktop. Double-clicking it starts the dashboard and opens it in your browser — no terminal required. This is the recommended way to launch DeepEcoHab for most users.

Working from code instead

The app is an extra because the analysis itself does not need Dash. If you only want the library, for scripts or notebooks, install it on its own:

uv pip install deepecohab

We recommend VSCode with the Jupyter extension to run the example notebooks provided in the repository.

To install from source:

cd location_to_clone_to
git clone https://github.com/KonradDanielewski/DeepEcoHab.git
cd DeepEcoHab
pip install ".[app]"

Example data

examples/data ships six real recordings, each a metadata JSON beside its registrations parquet. example_notebook.ipynb runs them end to end: create a project, add every recording, tune the analysis parameters, run the pipeline and aggregate a project table.

Data structure:

The data is stored in parquet format - an open-source, column-oriented data storage format which allows extremely fast read/write operations of large dataframes. Every recording in a project keeps one parquet file per analysis table, loaded with recording.load_results(key).

To get the list of available keys call deepecohab.core.data_model.DataFrameRegistry.list_available(); similarly deepecohab.PlotRegistry.list_available() lists the available visualizations. See the antenna analysis guide and plotting guide.

Roadmap

  1. Full web-app style GUI, deployable via a docker container.
  2. Group analysis - combined analysis of multiple cohort, comparing different groups of cohorts.
  3. Pose estimation based analysis of animal interactions and more detailed social structure analysis.

DeepEcoHab team

DeepEcoHab is developed at the Nencki Institute of Experimental Biology in Warsaw:

With contributions from @Winiarsky and @Brosnan-neuro.

Found a bug or missing a feature? Open an issue here.

Citations

DeepEcoHab has no paper of its own yet. If you use it in published work, please cite the package together with the paper introducing the Eco-HAB system:

@software{deepecohab,
  title     = {{DeepEcoHab}: fast and intuitive data analysis platform for {EcoHab} experiments},
  author    = {Danielewski, Konrad and W{\l}odkowska, Ula and Lipiec, Marcin},
  year      = {2026},
  publisher = {GitHub},
  url       = {https://github.com/KonradDanielewski/DeepEcoHab}
}

@article{puscian2016ecohab,
  title   = {Eco-{HAB} as a fully automated and ecologically relevant assessment of social impairments in mouse models of autism},
  author  = {Pu{\'s}cian, Alicja and {\L}{\k e}ski, Szymon and Kasprowicz, Grzegorz and Winiarski, Maciej and Borowska, Joanna and Nikolaev, Tomasz and Boguszewski, Pawe{\l} M. and Lipp, Hans-Peter and Knapska, Ewelina},
  journal = {eLife},
  volume  = {5},
  pages   = {e19532},
  year    = {2016},
  doi     = {10.7554/eLife.19532}
}

Release files for deepecohab 0.6.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepecohab 0.6.0rc1
File Size Uploaded
deepecohab-0.6.0rc1.tar.gz 944.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for deepecohab 0.6.0rc1
File Interpreter ABI Platform
deepecohab-0.6.0rc1-py3-none-any.whl Python 3 none any Details
deepecohab-0.6.0rc1-1-py3-none-any.whl Python 3 none any Details

Total release size: 2.7 MB

Release files / deepecohab-0.6.0rc1.tar.gz

Download URL deepecohab-0.6.0rc1.tar.gz
Size 944.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4735a63d453484c83611ef9a8fea1a4aaf00299fc361e4ff6a571c103fb6faff
BLAKE2b-256 checksum
How to use checksums
7290d284668d9e6d32b21e74c99f097cd4191862b01b5e8fe89f48f7ec9137c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / deepecohab-0.6.0rc1-py3-none-any.whl

Download URL deepecohab-0.6.0rc1-py3-none-any.whl
Size 878.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e81e46cf887258d5342260d0771f767a5581b2564bb1ca71959e067c99e1a70a
BLAKE2b-256 checksum
How to use checksums
6df87197f6a7bd1480d37b19594007effcae9cb5d2d445665317cee7ccb61740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / deepecohab-0.6.0rc1-1-py3-none-any.whl

Download URL deepecohab-0.6.0rc1-1-py3-none-any.whl
Size 878.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dbeca95e085584c1146ba0fc70cf82aaf928992182d98fd8a53f7e6a0f20deb
BLAKE2b-256 checksum
How to use checksums
67b162909388594d5ffa66d911ccb19b983757de0e576700b146f5dfcb66d2db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page