Skip to content

Getting Started

  1. Installation
    BioShift can be installed from the Python Package Index (PyPI) using your favourite Python package manager (pip, uv, poetry, etc.). You are very strongly recommended to use BioShift inside of a virtual environment. This guide assumes you are familiar with how to use virtual environments in Python.
    pip install bioshift
  2. Usage
    import bioshift
    # Load a spectrum from a .ucsf file
    spectrum = bioshift.Spectrum.load('./nhsqc.ucsf')