Installation
PyPI
Optype is available as optype on PyPI:
For optional NumPy support, ensure that you use the optype[numpy] extra.
This ensures that the installed numpy and the required numpy-typing-compat
versions are compatible with each other.
See the optype.numpy docs for more info.
Conda
Optype can also be installed with conda from the conda-forge channel:
If you want to use optype.numpy, you should instead install
optype-numpy: