Skip to content
forked from lmhale99/pycdcs

Python class for interacting with CDCS databases

License

Notifications You must be signed in to change notification settings

sciserver/pycdcs

 
 

Repository files navigation

Python CDCS REST API client

This is a base Python package for accessing instances of the NIST Configurable Data Curation System (CDCS) databases, versions 2+. It defines a Python CDCS class that streamlines REST calls to a database by

  • Taking access settings once (username, password, etc) and saving them for subsequent REST calls.
  • Defining methods that wrap around REST calls to interact with the database in a more Pythonic way.
  • Automatically converting any accessed information to pandas Series and DataFrame objects to allow for the information to be easily manipulated.

Installation

The package can be installed using pip:

pip install cdcs

or conda (comming soon):

conda install -c conda-forge cdcs

Alternatively, the source code can be downloaded from github at

Documentation

Documentation for the package is given as Jupyter Notebooks that can be found on the github site. Each Notebook is focused on providing details and examples related to different use cases for the package.

  • CDCS Public Data Exploration outlines the basic functions allowing an anonymous user (i.e. not logged in) to explore the available public data on a curator.
  • CDCS Data Management outlines the basic pre-defined functions allowing a logged-in user to manage their own templates, data records and blobs.
  • CDCS Rest Builder provides a simple explanation of how users can easily build their own functions and make their own REST API calls should they wish to interact with the database in ways outside the pre-defined functions.

About

Python class for interacting with CDCS databases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 58.5%
  • Python 41.5%