Giter Site home page Giter Site logo

sliutheory / pylada-light Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pylada/pylada-light

0.0 1.0 0.0 6.42 MB

A physics computational framework for python and ipython

License: GNU General Public License v3.0

Python 96.28% C++ 1.41% Fortran 0.40% CMake 0.43% Shell 0.12% Jupyter Notebook 1.20% Gherkin 0.10% Dockerfile 0.05%

pylada-light's Introduction

pylada-crystal

https://travis-ci.org/pylada/pylada-light.svg?branch=master

A python computational physics framework.

Minimal version of pylada necessary to just run the crystal,VASP,ewald,jobs,and database modules

Constructed by Peter Graf from Mayeul d'Avezac's pylada

Usage

There are some IPython notebooks in the notebooks subdirectory. And documentation can be found [online](http://pylada.github.io/pylada-light/), though somewhat out of date. Notably, it does not describe the PWSCF wrapper.

For more examples, look at the tests in each subfolder, and at the BDD scenarios in the espresso/tests/bdd/features folder.

Finally, do join us on [slack](pylada.slack.com). Send one of the authors an email if you need access.

Installation

The simplest approach is to install via pip:

  • global installation

    pip install git+https://github.com/pylada/pylada-light
  • local (user) installation

    pip install --user git+https://github.com/pylada/pylada-light
  • in a virtual environment

    python -m venv pylada
    source pylada/bin/activate
    pip install git+https://github.com/pylada/pylada-light

    This last approach is recommended since it keeps the pylada environment isolated from the rest of the system. Susbsequently, this environment can be accessed by running the second line.

Installation for development

  • python setup.py develop

    python -m venv pylada
    source pylada/bin/activate
    git clone https://github.com/pylada/pylada-light
    cd pylada-light
    python -m pip install cython setuptools wheel scikit-build cmake ninja numpy
    python -m pip install -e .[dev]
    python setup.py test
    ln -s src/pylada . # because https://github.com/scikit-build/scikit-build/issues/363

    The above creates a virtual environment and installs pylada inside it in development mode. This means that the virtual environment will know about the pylada flavor in development. It is possible to edit a file, do :bash:`make`, launch python and debug. One just needs to active the virtual environment once per session.

    When modifying files that are built (.pyx, .cc, .h), it may be necessary to run python setup.py develop again.

pylada-light's People

Contributors

ash-pera avatar ftherrien avatar mdavezac avatar pgraf avatar thiassaith avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.