Skelescope
A simple interactive 3D skeleton viewer for Jupyter
Development installation
Create a virtual environment and install skelescope's development dependencies:
poetry install
poetry shell
You then need to install the JavaScript dependencies and run the development server.
npm install
npm run dev
All is set to open example.ipynb in JupyterLab, VS Code, or your favorite editor
to start developing. Any change made in the js folder will be directly reflected
in the notebook.
Deploy to PyPi
poetry build -vvv
poetry publish
Proposed Interface (Jakob, edited pha)
viewer = NeuriteViewer(
width = "500", # non-required value. defaults to filling the widget
height = "300"
)
# add neuron to viewer instance
viewer.loadNeuron(
swc, # swc in JSON format
synapses, # JSON format (position, [pre_post_annotation, graph_node_id])
tree_topology = None
cache_folder = None
name = None, # not required, defaults to "<root_id>"
neuronColor, # not required, defaults to random color
synapseColor, # not required
recenter_camera=True # not required
)
# synapses are attached to the neuron as neuron.connectors.
# remove neuron from instance
viewer.deleteNeuron(
name # can be manually assigned name or <root_id>
)
viewer.getNeuronSelection(
names # list of all neuron names to get selection from, not required parameter
)
viewer.getSegmentSelection(
names # list of all neuron names to get selection from, not required parameter
)
viewer.getSynapseSelection(
names # # list of all neuron names to get synapse selection from, not required parameter
)
viewer.show() # renders the widget
Metadata
Release files for skelescope 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skelescope-0.0.8.tar.gz | 7.4 MB | Without provenance | Details for skelescope-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skelescope-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for skelescope-0.0.8-py3-none-any.whl |
Total release size: 14.9 MB
Release files / skelescope-0.0.8.tar.gz
| Download URL | skelescope-0.0.8.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
647c5e07fcc4f76b8a6b4ad9f504525862274cf521e26f356a40def79975c1a6
|
|
BLAKE2b-256 checksum How to use checksums |
c0b71f5c75b62c887019aecfe740c211a43b40e2576ceb8d1ee0358c99c3c020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Windows/11
|
Release files / skelescope-0.0.8-py3-none-any.whl
| Download URL | skelescope-0.0.8-py3-none-any.whl |
|---|---|
| Size | 7.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b59c00660b6dfb822ac334d63d1d95d267c8eb0df42d4406d5af8c41cf3bd67
|
|
BLAKE2b-256 checksum How to use checksums |
130584f1be86bde2907dd1e73ce9d80d61f2663332e719aabbffe3e120834ccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Windows/11
|
Security for skelescope 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.