Skip to main content

Python client to ICAT+

Project description

PyIcat-Plus

A python client for ICAT+.

Getting started

Register raw datasets with ICAT

icat-store-raw --beamline id00 \
    --proposal id002207 \
    --path /data/visitor/path/to/dataset1 \
    --dataset test1 \
    --sample mysample

icat-store-raw --beamline id00 \
    --proposal id002207 \
    --path /data/visitor/path/to/dataset2 \
    --dataset test2 \
    --sample mysample

Register processed data with ICAT

icat-store-processed --beamline id00 \
    --proposal id002207 \
    --path /data/visitor/path/to/processed \
    --dataset testproc \
    --sample mysample \
    --raw /data/visitor/path/to/dataset1 \
    --raw /data/visitor/path/to/dataset2

Test

With threads

python -m pip install -e .[test]
pytest

With gevent

python -m pip install -e .[test]
python -m pip install gevent
python -m gevent.monkey --module pytest

Documentation

https://pyicat-plus.readthedocs.io/

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

pyicat-plus-0.1.0.tar.gz (45.1 kB view details)

Uploaded Source

File details

Details for the file pyicat-plus-0.1.0.tar.gz.

File metadata

  • Download URL: pyicat-plus-0.1.0.tar.gz
  • Upload date:
  • Size: 45.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pyicat-plus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb7f328df11f8adc88f1d47ddcd1ef8294850f76632c51bcbf70283b1d60bfd2
MD5 c7b472daa4616fe790184cb42c56144d
BLAKE2b-256 f781968c8e80bd894b015ff6e5e081decd2f21d7cfba31780a3d3ee9aa50c0ef

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