{"id":23243117,"url":"https://github.com/kostrykin/carnapy","last_synced_at":"2025-04-05T23:17:41.664Z","repository":{"id":62560917,"uuid":"375100454","full_name":"kostrykin/CarnaPy","owner":"kostrykin","description":"Real-time 3D visualization for biomedical data and beyond in Python","archived":false,"fork":false,"pushed_at":"2023-12-14T14:25:01.000Z","size":4951,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T23:17:37.890Z","etag":null,"topics":["3d","data-visualization","jupyter-notebook","library","opengl","python","virtual-reality"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kostrykin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-08T18:00:31.000Z","updated_at":"2023-12-22T13:33:29.000Z","dependencies_parsed_at":"2023-12-12T11:43:35.337Z","dependency_job_id":"b6ed7e36-83d3-4ae2-acc3-782a5ceaf106","html_url":"https://github.com/kostrykin/CarnaPy","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"c7836cad216d439b7dc6504becd963d91d6b3a7f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostrykin%2FCarnaPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostrykin%2FCarnaPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostrykin%2FCarnaPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostrykin%2FCarnaPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostrykin","download_url":"https://codeload.github.com/kostrykin/CarnaPy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411231,"owners_count":20934654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","data-visualization","jupyter-notebook","library","opengl","python","virtual-reality"],"created_at":"2024-12-19T06:15:10.933Z","updated_at":"2025-04-05T23:17:41.644Z","avatar_url":"https://github.com/kostrykin.png","language":"C++","readme":"CarnaPy\n========\n\nThe aim of this package is to provide real-time 3D visualization in Python for specifically, but not limited to, biomedical data. The library is based on [Carna](https://github.com/kostrykin/Carna).\n\nSee [examples/kalinin2018.ipynb](examples/kalinin2018.ipynb) for an example.\n\n[![Anaconda-Server Badge](https://img.shields.io/badge/Install%20with-conda-%2387c305)](https://anaconda.org/kostrykin/carnapy)\n[![Anaconda-Server Badge](https://img.shields.io/conda/v/kostrykin/carnapy.svg?label=Version)](https://anaconda.org/kostrykin/carnapy)\n[![Anaconda-Server Badge](https://img.shields.io/conda/pn/kostrykin/carnapy.svg?label=Platforms)](https://anaconda.org/kostrykin/carnapy)\n\n---\n## Contents\n\n* [Limitations](#1-limitations)\n* [Dependencies](#2-dependencies)\n* [Installation](#3-installation)\n* [Build instructions](#4-build-instructions)\n \n---\n## 1. Limitations\n\n* Only 8bit and 16bit volume data are supported at the moment.\n* DRR renderings are not exposed to Python yet.\n* Build process is currently limited to Linux-based systems.\n\n---\n## 2. Dependencies\n\nUsing the library requires the following dependencies:\n* [numpy](https://numpy.org/) ≥ 1.16\n* EGL driver support\n* OpenGL 3.3\n* Python ≥ 3.7\n\nThe following dependencies must be satisfied for the build process:\n* [Carna](https://github.com/kostrykin/Carna) ≥ 3.1\n* [Eigen](http://eigen.tuxfamily.org/) ≥ 3.0.5\n* [libboost-iostreams](https://www.boost.org/doc/libs/1_76_0/libs/iostreams/doc/index.html)\n* [pybind11](https://github.com/pybind/pybind11)\n* EGL development files\n\nIn addition, the following dependencies are required to run the test suite:\n* [matplotlib](https://matplotlib.org/)\n* [scipy](https://www.scipy.org/)\n\n---\n## 3. Installation\n\nThe easiest way to install and use the library is to use one of the binary [Conda](https://docs.anaconda.com/anaconda/install/) packages:\n\n```bash\nconda install -c kostrykin carnapy\n```\n\nConda packages are available for Python 3.7–3.9.\n\n---\n## 4. Build instructions\n\nAssuming you are using a recent version of Ubuntu:\n\n```bash\nsudo apt-get -qq install libegl1-mesa-dev libboost-iostreams-dev\n```\n\nCreate and activate a Conda environment to work in, then:\n\n```bash\nconda install -c conda-forge pybind11\n```\n\nGrab a recent version of [Eigen](http://eigen.tuxfamily.org), unpack it, and tell CMake where it is located:\n\n```bash\nwget https://gitlab.com/libeigen/eigen/-/archive/3.2.10/eigen-3.2.10.tar.gz\ntar -vzxf eigen-3.2.10.tar.gz -C /tmp/\nexport CMAKE_PREFIX_PATH=\"/tmp/eigen-3.2.10:$CMAKE_PREFIX_PATH\"\n```\n\nIf you have not already, download, build, and install Carna:\n\n```bash\ngit clone git@github.com:kostrykin/Carna.git build_carna\ncd build_carna\nsh linux_build.sh\n```\n\nNow it is time to build, package, and install CarnaPy:\n```\ncd ..\npython setup.py build\npython setup.py install\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostrykin%2Fcarnapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostrykin%2Fcarnapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostrykin%2Fcarnapy/lists"}