Skip to main content

A Python package for the simulation of organoids for the purpose of studying Organoid Intelligence (OI) and Organoid Learning (OL).

Project description

Pyorganoid Logo

PyPI Downloads Conda Downloads CI/CT/CD License

Pyorganoid is the world's first* Python package for the simulation of organoids for the purpose of studying Organoid Intelligence (OI) and Organoid Learning (OL). It is designed to be simple to use and easy to extend with support for standard machine learning libraries such as TensorFlow, PyTorch, and Scikit-Learn (as well as ONNX-format models).

It provides:

  • a simple and intuitive API
  • support for standard machine learning libraries
  • a growing library of organoid models
  • visualization tools for organoid simulation
  • numerous simulation environments and scheduling algorithms
  • TODO: support for parallel/distributed computing, bio/cheminformatics libraries, logging, and more

Pyorganoid is currently in development and may not yet be ready for production use. We are actively seeking contributors to help us improve the package and expand its capabilities. If you are interested in contributing, please see our contributing guide.

*As of July 6th, 2024, to the best of our knowledge :)

Organoid Example

Installation

Pip

Pyorganoid can be installed (without built-in support for machine learning libraries) using pip:

pip install pyorganoid

To include support for all machine learning libraries, use:

pip install pyorganoid[all]

Or, to include support for a specific library (TensorFlow, PyTorch, Scikit-Learn, or ONNX), use:

pip install pyorganoid[tensorflow]
pip install pyorganoid[torch]
pip install pyorganoid[sklearn]
pip install pyorganoid[onnx]

Conda

Pyorganoid can also be installed using conda:

conda install -c conda-forge pyorganoid

To include support for all machine learning libraries, use:

conda install -c conda-forge pyorganoid-all

Or, to include support for a specific library (TensorFlow, PyTorch, Scikit-Learn, or ONNX), use:

conda install -c conda-forge pyorganoid-tensorflow
conda install -c conda-forge pyorganoid-torch
conda install -c conda-forge pyorganoid-sklearn
conda install -c conda-forge pyorganoid-onnx

Quickstart

For a quick introduction to Pyorganoid, see the Spiking Neuron Test in the test directory. This test demonstrates the creation of a simple spiking neuron organoid running a binary classification Multi-Layer Perceptron (MLP) model using TensorFlow.

If you prefer Scikit-Learn, PyTorch, or ONNX models, see the Volumetric Organoid Test (Scikit-Learn), the Gene Regulation Organoid Test (PyTorch), or the Immune Response Organoid Test (ONNX), respectively.

Spiking Organoid Example Volumetric Organoid Example
Gene Regulation Organoid Example Immune Response Organoid Example

License

Pyorganoid is licensed under the BSD-3 License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyorganoid-0.1.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

pyorganoid-0.1.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file pyorganoid-0.1.1.tar.gz.

File metadata

  • Download URL: pyorganoid-0.1.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyorganoid-0.1.1.tar.gz
Algorithm Hash digest
SHA256 acab7fee773bae30f4bef49004528100ae22c8068f9565cc68e687bd67097662
MD5 31f6eb490c627c63a15f686695eabedb
BLAKE2b-256 4bfb056b374cc493728be2b41dbfb42e277877c5ec48194bda1144c5d67c43bd

See more details on using hashes here.

File details

Details for the file pyorganoid-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyorganoid-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyorganoid-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39089e473da0617a979a0336b22cf96824a970652f512deb6d776419cf273dd4
MD5 af44a0fcb70d32f076fce54454e63638
BLAKE2b-256 6f3f16785e55948dee2e0dd4a3277fef44f1b84f5fe05a5472e920324c7c41d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page