Skip to content

groops-devs/groopsio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

groopsio - Read and write GROOPS file formats in Python

What is groopsio

groopsio is a free Open Source software package for reading and writing GROOPS file formats in Python. It is written as a C/C++ extension to NumPy and requires a few GROOPS source files.

Installation

The recommended way to install groopsio is in a conda environment:

conda create -n groopsio_env
conda activate groopsio_env

To install the current development version of the package, first clone the repository or download the zip archive. Depending on your platform run

  • Linux Terminal

      GROOPS_SOURCE_DIR=/path/to/groops/source pip install .
    
  • Windows Command Prompt

      set GROOPS_SOURCE_DIR=/path/to/groops/source 
      pip install .
    
  • Windows PowerShell

      $env:GROOPS_SOURCE_DIR = '/path/to/groops/source '
      pip install .
    

in the root directory of the package (i.e. the directory containing the setup.py file). The environment variable GROOPS_SOURCE_DIR should point to the source folder of GROOPS (if ommitted, $HOME/groops/source or the Windows equivalent C:\Users\NAME\groops\source is used).

Note that you will need a toolchain capable of building GROOPS. See the GROOPS installation guide for Windows or Linux for details (no optional steps are necessary for groopsio).

License

groopsio a free Open Source software released under the GPLv3 license.