Project: https://github.com/chrisjsewell/pandas3js
An extension for traitlets and pythreejs that:
Provides a 2-way pandas dataframe interface for trait objects.
Provides simple, high level (renderer agnostic) geometries, with default json specified mappings to pythreejs primitives.
Creates bespoke 3D Graphics GUIs in the Jupyter Notebook with only a few lines of code.
From: pandas3js_example.ipynb
For more information, all functions contain docstrings with tested examples.
Installation
$ pip install pandas3js $ jupyter nbextension enable --py --sys-prefix pythreejs
pandas3js is integration tested against python versions 2.7, 3.4, 3.5 and 3.6
Technical Details
Employing a meta Model/View design; Unique geometry objects are stored in a GeometryCollection model object, which can be viewed as (and modified by) a pandas.DataFrame, containing objects (by row) and traits/object_type (by column). The GeometryCollection (and its objects) can then be directionally synced to a pythreejs.Scene (and pythreejs.3DObjects) view, via a json mapping specification.
Release files for pandas3js 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandas3js-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / pandas3js-0.2.0-py2.py3-none-any.whl
| Download URL | pandas3js-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 35.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fe5516bb5177cd81e1c25ace62a49b99f565b8d1b9c544edee0f2cc4c0c78673
|
|
BLAKE2b-256 checksum How to use checksums |
20bf30df24a4c952c9d3260dca7efc1caf29b87fc0d308e7df6d904e56a31134
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |