Installation¶
Production versions of polyply are distributed via PyPI, and development versions can be installed from GitHub directly. Installation with Conda is possible as well, although not extensively tested. We recommend installing polyply in a virtual environment to prevent unexpected updates of dependencies or clashes with existing ones.
Prerequisites and dependencies¶
Polyply requires Python version 3.6 or greater, and depends on the following libraries, with versions as indicated:
| Name | Version |
|---|---|
| numpy | >= 1.18.1 |
| vermouth | >= 0.7.1 |
| networkx | ~=2.0 |
| scipy | >= 1.5.4 |
| pbr | |
| decorator | 4.4.2 |
| tqdm | >= 4.43.0 |
| numba (optional) | >= 0.51.2 |
Quick start¶
Install polyply from PyPI using:
Alternatively, install it from GitHub using:
Install in a virtual environment with numba¶
First create a virtual environment:
Next activate the environment on Unix or macOS using:
Or on Windows:
Next install numba:
And finally install polyply:
Tip
Installing numba alongside polyply gives significant speed-ups during coordinate generation.