Skip to main content

This is PYthon-based repository is for MECHanics of Tissue mechanics. The focus is on flexibility of adding new constitutive models and varying their parameters.

Project description

PYMECHT

This PYthon-based repository is for the MECHanics of Tissues. The focus is on flexibility of adding new constitutive models and varying their parameters.

Installation

Step 1 (optional): Create a virtual environment

To create an environment in Anaconda, execute:

conda create -n pymecht

To activate this virtual environment, execute:

conda activate pymecht

This is an option, but recommended step. There are other options for create and managing environments (such as venv or virtualenv)

Step 2: Install via pip

User

Pymecht can be installed directly from Github using:

pip install git+https://github.com/ankushaggarwal/pymecht.git

Note A personal access token may require to be setup in order to install via https. See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.

Developer To install as a devloper, it is recommended to fork from the repo and clone this fork locally.

Step 2.1 Fork from ankushaggarwal/pymecht

To fork a branch, head to the Github repo https://github.com/ankushaggarwal/pymecht and click the fork button in the top right-hand corner.

Step 2.2 Clone the forked repo

To clone this repo locally, use the

git clone <repo-address>

where <repo-address> can be replaced by either the https or ssh addresses of the forked repo.

Step 2.3 Install pymecht as editable

To install an editable version of pymecht, navigate to the locally cloned repo and execute:

pip install -e .

An editable version of pymecht is now installed. All local changes to the cloned source code files will be reflected when pymecht is imported.

Step 3: Check installation

Ensure that pymecht has been installed by executing:

pip list

The package and version should be visible in the resulting list.

Contributing to pymecht

To contribute to the pymecht framework, install pymecht using the developer options. All changes should be made to your forked repo. If there is a new feature or bug fix, raise a pull request. In the case that an additional feature is added, a corresponding example and test should be written in the respective python scripts.

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

pymecht-0.0.1.tar.gz (20.0 kB view hashes)

Uploaded Source

Built Distribution

pymecht-0.0.1-py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 3

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