Installation¶
This page covers the fastest way to install anafibre and check that it works.
Requirements¶
- Python 3.10 or newer
pip(usually included with Python)
Install from PyPI¶
Core install:
Optional extras¶
Install only what you need:
units: support for unit-aware workflows (Astropy)refractiveindex: refractive index database integrationipython: richer interactive display in notebooks/shellsall: all optional features above
pip install "anafibre[units]"
pip install "anafibre[refractiveindex]"
pip install "anafibre[ipython]"
pip install "anafibre[all]"
Verify installation¶
Run a quick import check:
If that succeeds, continue to Quickstart.
Install from source (contributors)¶
From the repository root:
With all optional dependencies: