Installation¶
Installing Curvesim should be straightforward for most use-cases. We recommend using the pip install option, but those looking to contribute or use bleeding-edge features may want to use the source code option.
Python version¶
Only versions 3.10 to 3.11 are officially supported. For users with high performance requirements, we recommend 3.11.
Virtual environments¶
It is highly recommended to use a virtual environment to do an install. Using a virtual env ensures that changes in your other packages installed for other projects do not conflict with crvUSDsim or its dependencies. In general, it is considered best practice to separate project dependencies with virtual envs.
Or you can easily create virtual environments and manage dependencies using poetry.
Instructions for installing and using a virtual env
$ python3 -m pip install crvusdsim¶
To install crvUSDsim, simply run this simple command in your terminal of choice:
$ python3 -m pip install curvesim
Now that you’ve installed crvUSDsim, we recommend you check out the Quickstart.
Get the source code (developers and advanced users)¶
Curvesim is actively developed on GitHub, where the code is always available.
You can either clone the public repository:
$ git clone git://github.com/0xreviews/crvusdsim.git
Or, download the tarball:
$ curl -OL https://github.com/0xreviews/crvusdsim/tarball/main
# optionally, zipball is also available (for Windows users).
Once you have a copy of the source:
$ cd crvusdsim
You can install it with poetry:
$ poetry install