Skip to main content

Python API for the Surface Reactions database on Catalysis-Hub.org

Project description

## Introduction

CatHub provides an interface to the Surface Reactions database on [Catalysis-Hub.org](http://www.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](http://docs.catalysis-hub.org/en/latest/tutorials/upload.html) 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 –args 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 <template> cathub make_folders <template>

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Cathub-0.1.1.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

Cathub-0.1.1-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

Details for the file Cathub-0.1.1.tar.gz.

File metadata

  • Download URL: Cathub-0.1.1.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for Cathub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 179a8dd25676a99cd288ee675a81621bd75bab2c7a7b7d8f6f36c9d7ab43ba8f
MD5 950ec8cea3b40cfd2a60c8b6d1a86e50
BLAKE2b-256 861b3b04625e6dce9b0678ff878a77d3d40985480caaedea736823b9ab7295a7

See more details on using hashes here.

File details

Details for the file Cathub-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: Cathub-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 64.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for Cathub-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc72159dc907d59ad1b2225dd9f886272b42a2198af9174dab211b9b3caef847
MD5 8e816eb344b0431131536cbc614d9166
BLAKE2b-256 21c0f822c0e7f0f2e92120f2861a8406c59065a85c3abd12ceb81462b477df63

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page