Installation¶
soerp can be installed from pypi, conda-forge, and git.
PyPI¶
For using the PyPI package in your project, you can update your configuration file by adding following snippet.
[project.dependencies]
soerp = "*" # (1)!
- Specifying a version is recommended
soerp>=0.1.0
pip¶
pip install --upgrade --user soerp # (1)!
- You may need to use
pip3instead ofpipdepending on your python installation.
python -m venv .venv
source .venv/bin/activate
pip install --require-virtualenv --upgrade soerp # (1)!
- You may need to use
pip3instead ofpipdepending on your python installation.
Note
Command to activate the virtual env depends on your platform and shell. More info
pipenv¶
pipenv install soerp
uv¶
uv add soerp
uv sync
uv venv
uv pip install soerp
poetry¶
poetry add soerp
pdm¶
pdm add soerp
hatch¶
hatch add soerp
conda-forge¶
You can update your environment spec file by adding following snippets.
environment.yml
1. Specifying a version is recommended
channels:
- conda-forge
dependencies:
- pip
- pip:
- soerp # (1)!
Installation can be done using the updated environment spec file.
conda env update --file environment.yml
micromamba env update --file environment.yml
Note
replace environment.yml with your actual environment spec file name if it's different.
conda install -c conda-forge soerp
micromamba install -c conda-forge soerp
git¶
pip install --upgrade "git+https://github.com/eggzec/soerp.git#egg=soerp"
Dependencies¶
- Python >=3.10
- numpy
- scipy
- matplotlib (optional)