# PyIcat-Plus
A python client for ICAT+.
## Getting started
Register raw datasets with ICAT
```bash
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
```bash
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
```bash
python -m pip install -e .[test]
pytest
```
With gevent
```bash
python -m pip install -e .[test]
python -m pip install gevent
python -m gevent.monkey --module pytest
```
## Documentation
https://pyicat-plus.readthedocs.io/
Raw data
{
"_id": null,
"home_page": "https://gitlab.esrf.fr/icat/pyicat-plus/",
"name": "pyicat-plus",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "ESRF",
"author_email": "wout.de_nolf@esrf.fr",
"download_url": "https://files.pythonhosted.org/packages/c3/65/a8b0025b716c960a70606f31aa8a52b3085fce6922a68a27657381e0ea63/pyicat-plus-0.1.7.tar.gz",
"platform": null,
"description": "# PyIcat-Plus\n\nA python client for ICAT+.\n\n## Getting started\n\nRegister raw datasets with ICAT\n\n```bash\nicat-store-raw --beamline id00 \\\n --proposal id002207 \\\n --path /data/visitor/path/to/dataset1 \\\n --dataset test1 \\\n --sample mysample\n\nicat-store-raw --beamline id00 \\\n --proposal id002207 \\\n --path /data/visitor/path/to/dataset2 \\\n --dataset test2 \\\n --sample mysample\n```\n\nRegister processed data with ICAT\n\n```bash\nicat-store-processed --beamline id00 \\\n --proposal id002207 \\\n --path /data/visitor/path/to/processed \\\n --dataset testproc \\\n --sample mysample \\\n --raw /data/visitor/path/to/dataset1 \\\n --raw /data/visitor/path/to/dataset2\n```\n\n## Test\n\nWith threads\n\n```bash\npython -m pip install -e .[test]\npytest\n```\n\nWith gevent\n\n```bash\npython -m pip install -e .[test]\npython -m pip install gevent\npython -m gevent.monkey --module pytest\n```\n\n## Documentation\n\nhttps://pyicat-plus.readthedocs.io/\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python client to ICAT+",
"version": "0.1.7",
"project_urls": {
"Documentation": "https://pyicat-plus.readthedocs.io/",
"Homepage": "https://gitlab.esrf.fr/icat/pyicat-plus/",
"Source": "https://gitlab.esrf.fr/icat/pyicat-plus/",
"Tracker": "https://gitlab.esrf.fr/icat/pyicat-plus/issues/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c365a8b0025b716c960a70606f31aa8a52b3085fce6922a68a27657381e0ea63",
"md5": "483d84552201bd94734018c6722fea5c",
"sha256": "f04afb180b7443f6c5ea8236b9e5267eff657592a768829421baf3119750234c"
},
"downloads": -1,
"filename": "pyicat-plus-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "483d84552201bd94734018c6722fea5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 45534,
"upload_time": "2023-10-03T15:13:05",
"upload_time_iso_8601": "2023-10-03T15:13:05.739270Z",
"url": "https://files.pythonhosted.org/packages/c3/65/a8b0025b716c960a70606f31aa8a52b3085fce6922a68a27657381e0ea63/pyicat-plus-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-03 15:13:05",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pyicat-plus"
}