Skip to main content

Package for creating and analysing hydrogels in ReaDDy

Project description

hydrogels

Manylinux MacOS Coverage

Simulation and Numerical Integration for Hydrogel Degradation

This repository contains a variety of tools for simulating hydrogels. The main part of the code is for generating configurations and simulation systems for use with the software package called ReaDDy.

Then, in the theory folder, a numerical integration framework for integrating differential equations can be found. This is used for describing the enzymatic degradation of a hydrogel nanoparticle. This module in particular contains C++/Python code that is bound using pybind11. Also contained in the main repository, are Jupyter Notebooks with examples of how to use the hydrogels.theory module.

Pre-requisites:

hydrogels is available on Linux, MacOS and Windows using Python 3.6, 3.7, 3.8, and 3.9.

At the time of writing it is only possible to install the package on a Linux architecture. This requires the following prerequisites:

Installing most these packages is generally trivial and can be done using either pip or anaconda. However install readdy is typically done only by using anaconda.

# optional - only add if you don't have it already
conda config --add channels conda-forge

# install readdy
conda install -c readdy readdy

In our continuous integration, we provide a method for installing readdy via pip, but in some environments, in particular on local machines, problems locating HDF5 can arise, hence we recommend using conda instead. Here is how to build readdy manually using pip:

git clone https://github.com/readdy/readdy
pushd readdy
pip install .
popd

Installing hydrogels

To install, do the following command from the main directory:

pip install .

And to test (also from the main directory):

pytest --import-mode=importlib

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

hydrogels-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

hydrogels-1.0.0-cp39-cp39-macosx_10_14_x86_64.whl (118.5 kB view hashes)

Uploaded CPython 3.9 macOS 10.14+ x86-64

hydrogels-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

hydrogels-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl (118.2 kB view hashes)

Uploaded CPython 3.8 macOS 10.14+ x86-64

hydrogels-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

hydrogels-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl (117.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.14+ x86-64

hydrogels-1.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

hydrogels-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl (117.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.14+ x86-64

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