Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • legacy-metainfo
  • nomad-coe
  • lauri-restructure
  • preMetaRename
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.0.0
11 results

python-common

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Markus Scheidgen authored
    cf843eda
    History

    python-common

    This repository contains the common python files that are part of the NOMAD Laboratory. The official version lives at

    git@gitlab.mpcdf.mpg.de:nomad-lab/python-common.git

    you can browse it at

    https://gitlab.mpcdf.mpg.de/nomad-lab/python-common

    Some things rely on having the nomad-meta-info checked out at the same level. The simplest way to have this is to check out nomad-lab-base recursively:

    git clone --recursive git@gitlab.mpcdf.mpg.de:nomad-lab/nomad-lab-base.git

    then this will be in python-common within it.

    Installation

    The code is python>=2.7 and python>=3.4 compatible. First download and install this package:

    git clone https://gitlab.mpcdf.mpg.de/nomad-lab/python-common.git
    cd python-common
    pip install -r requirements.txt
    pip install -e .

    Then download the metainfo definitions to the same folder where the 'python-common' repository was cloned:

    git clone https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-meta-info.git