Skip to main content

A Python Client for ONCat (the ORNL Neutron Catalog).

Project description

Welcome to PyONCat, a Python client designed to facilitate interaction with the ONCat API.

Introduction

ONCat is a data cataloging system that assists scientists and researchers in managing and navigating their data. It aggregates metadata about data, experiments and users from various systems, offering a convenient and manageable way to access neutron data and associated information.

The pyoncat package serves as a Python client to more easily interact with the ONCat API.

Installation

Requirements

  • Python version: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4
  • Python packages: requests
  • Optional packages for authenticated API access: oauthlib, requests-oauthlib

Installing with pip

For basic unauthenticated installation, use the following command:

pip install pyoncat

To install the package with support for the authenticated version of the API, use the following command:

pip install pyoncat oauthlib requests-oauthlib

Installing with Conda

A Conda package will be available soon as an alternative installation method.

Usage

Authenticating with the API

To use the authenticated version of the API, you need to obtain credentials from an ONCat administrator. Please contact ONCat Support at oncat-support@ornl.gov to request credentials.

Examples

For usage examples, please refer to the API documentation at oncat.ornl.gov as well as the iPython Notebook tutorial available at this link.

Getting Help

If you encounter any issues or require assistance with the pyoncat package, please reach out to the ONCat Support at oncat-support@ornl.gov.

Resources

Thank you for using PyONCat!

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

pyoncat-1.6.2.tar.gz (53.2 kB view hashes)

Uploaded Source

Built Distribution

pyoncat-1.6.2-py2.py3-none-any.whl (41.0 kB view hashes)

Uploaded Python 2 Python 3

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