InstallationΒΆ
Installation is as simple as:
pip install pyballistic
uv add pyballistic
If you have Python 3.10+ and pip
installed, you're good to go.
Optional dependenciesΒΆ
pyballistic has the following optional dependencies:
exts
: Cython based implementation of some classes to increase performance. pyballistic.exts package.charts
: Includes matplotlib for creatingcharts
and pandas for creatingDataFrame tables
.scipy
: Installs support for theSciPyIntegrationEngine
.
To install optional dependencies along with pyballistic:
# with the cython extensions:
pip install "pyballistic[exts]"
# with dependencies for charting:
pip install "pyballistic[charts]"
# with the cython extensions:
uv add "pyballistic[exts]"
# with dependencies for charting:
uv add "pyballistic[charts]"
You can also install requirements manually. For example:
pip install pyballistic.exts pandas matplotlib
uv add pyballistic.exts pandas matplotlib
To install latest version from sources in editable mode:
git clone https://github.com/dbookstaber/pyballistic
cd pyballistic
# from repo root
py -m pip install -e .[dev] # main package editable
py -m pip install -e ./pyballistic.exts[dev] # build/install C extensions (optional)
# from repo root
uv sync --dev # main package editable
uv sync --dev --extra exts # build/install C extensions (optional)