Coder Social home page Coder Social logo

mamunm / cathub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suncat-center/cathub

0.0 2.0 0.0 130 KB

Python API for the Surface Reactions database on Catalysis-Hub.org, used for querying and uploading data.

License: GNU General Public License v3.0

Python 100.00%

cathub's Introduction

Introduction

CatHub provides an interface to the Surface Reactions database on Catalysis-Hub.org.

The module includes a command line interface that can be used to access and upload data. A short guide is given below. We refer to the catalysis-hub documentation for details on how to submit data.

Using the cathub cli

Run cathub, like so

cathub --help

or with any of its sub-commands, like so

cathub reactions --help

Examples

Querying the Surface Reactions database:

cathub reactions -q reactants=CO -q chemicalComposition=~Pt

cathub publications -q title=~Evolution -q year=2017

Querying atomic structures on Catalysis Hub with ase db:

cathub ase 'AgSr' --gui

Uploading data

Organizing a general folder into a structured folder:

cathub organize <folderame> -a <ads1,ads2> -c <dft-code> -x <xc-functional> -f <facet> -S <crystal structure>

As an alternative to cathub organize - create an empty organized folderstructure for dropping files yourself. First create a template and edit it, then create the folders. cathub make_folders --create-template cathub make_folders

Reading folders into a local .db file:

cathub folder2db <foldername> --userhandle <slack-username or gmail-address>

Sending the data to the Catalysis Hub server:

cathub db2server <dbfile>

cathub's People

Contributors

kirstenwinther avatar

Watchers

 avatar  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.