# lbCta - Interface to the CERN Tape Archive spinner disks service
[](https://gitlab.cern.ch/lhcb-online/lhcb-online-cta/-/commits/main)
This package implements a set of console scripts to interface with the CERN Tape
Archive (CTA) in view of listing and recalling files and directories from tape.
## Name
lhcb-online-cta
## Description
Interface to EOS/XROOTD suitable for use with the EOSCTA spinner disks tape archiving
The EOSCTA spinner disks pool is a EOS disk pool that can be used for recalling files
that are stored on the CERN Tape Archive service. These files, once recalled can be
copied to usable locations using XRootD (e.g. with xrdcp). Files on the EOSCTA spinner
disks are not directly usable.
## Usage
```
$ lbcta-status -h
usage: lbcta-status [-h] [-l LOG_LEVEL] [--version] -e ENDPOINT -p PATH [-r] [-d]
Interface to CTA disk pools - list files
optional arguments:
-h, --help show this help message and exit
-l LOG_LEVEL, --loglevel LOG_LEVEL
logging level (default = INFO)
--version print version and exits
-e ENDPOINT, --endpoint ENDPOINT
EOS root end point
-p PATH, --path PATH EOS absolute path
-r, --recursive handle recursively directories
-d, --directory also prints directory entries
```
```
$ lbcta-recall -h
usage: lbcta-recall [-h] [-l LOG_LEVEL] [--version] -p PATH -e ENDPOINT [-r] [-d]
Interface to CTA disk pools - recall files from tape
optional arguments:
-h, --help show this help message and exit
-l LOG_LEVEL, --loglevel LOG_LEVEL
logging level (default = INFO)
--version print version and exits
-p PATH, --path PATH EOS absolute path
-e ENDPOINT, --endpoint ENDPOINT
EOS root end point
-r, --recursive handle recursively directories
-d, --directory also prints directory entries
```
```
$ lbcta-query -h
usage: lbcta-query [-h] [-l LOG_LEVEL] [--version] -e ENDPOINT -p PATH [-r] [--wait] [--silent]
Interface to CTA disk pools - query status of files without disk replica
optional arguments:
-h, --help show this help message and exit
-l LOG_LEVEL, --loglevel LOG_LEVEL
logging level (default = INFO)
--version print version and exits
-e ENDPOINT, --endpoint ENDPOINT
CTA root end point
-p PATH, --path PATH CTA absolute path
-r, --recursive handle recursively directories
--wait wait for all requested file(s) to be copied to disk
--silent silently wait for all requested file(s) to be available to disk
```
## Examples
Detailed usage examples can be found in https://lbtwiki.cern.ch/bin/view/Online/OnlineOfflineEOSCTA
## Installation
pip install lhcb-online-cta
## Authors and acknowledgment
Frédéric Hemmer - CERN/Experimental Physics Department
## License
Copyright © 2024 CERN for the benefit of the LHCb collaboration
Raw data
{
"_id": null,
"home_page": "https://gitlab.cern.ch/lhcb-online/lhcb-online-cta",
"name": "lbCta",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "LHCb",
"author": "LHCb Online team",
"author_email": "lbonsupp@cern.ch",
"download_url": "https://files.pythonhosted.org/packages/b9/36/13ee0f99c30e414fdf4d7c4b77791063b7d0981d2e060a83c9d051e3e7af/lbcta-1.1.12.tar.gz",
"platform": null,
"description": "# lbCta - Interface to the CERN Tape Archive spinner disks service\n\n\n[](https://gitlab.cern.ch/lhcb-online/lhcb-online-cta/-/commits/main)\n\nThis package implements a set of console scripts to interface with the CERN Tape\nArchive (CTA) in view of listing and recalling files and directories from tape.\n\n## Name\nlhcb-online-cta\n\n## Description\nInterface to EOS/XROOTD suitable for use with the EOSCTA spinner disks tape archiving\n\nThe EOSCTA spinner disks pool is a EOS disk pool that can be used for recalling files\nthat are stored on the CERN Tape Archive service. These files, once recalled can be\ncopied to usable locations using XRootD (e.g. with xrdcp). Files on the EOSCTA spinner\ndisks are not directly usable.\n\n## Usage\n\n```\n$ lbcta-status -h\nusage: lbcta-status [-h] [-l LOG_LEVEL] [--version] -e ENDPOINT -p PATH [-r] [-d]\n\nInterface to CTA disk pools - list files\n\noptional arguments:\n -h, --help show this help message and exit\n -l LOG_LEVEL, --loglevel LOG_LEVEL\n logging level (default = INFO)\n --version print version and exits\n -e ENDPOINT, --endpoint ENDPOINT\n EOS root end point\n -p PATH, --path PATH EOS absolute path\n -r, --recursive handle recursively directories\n -d, --directory also prints directory entries\n```\n\n```\n$ lbcta-recall -h\nusage: lbcta-recall [-h] [-l LOG_LEVEL] [--version] -p PATH -e ENDPOINT [-r] [-d]\n\nInterface to CTA disk pools - recall files from tape\n\noptional arguments:\n -h, --help show this help message and exit\n -l LOG_LEVEL, --loglevel LOG_LEVEL\n logging level (default = INFO)\n --version print version and exits\n -p PATH, --path PATH EOS absolute path\n -e ENDPOINT, --endpoint ENDPOINT\n EOS root end point\n -r, --recursive handle recursively directories\n -d, --directory also prints directory entries\n```\n\n```\n$ lbcta-query -h\nusage: lbcta-query [-h] [-l LOG_LEVEL] [--version] -e ENDPOINT -p PATH [-r] [--wait] [--silent]\n\nInterface to CTA disk pools - query status of files without disk replica\n\noptional arguments:\n -h, --help show this help message and exit\n -l LOG_LEVEL, --loglevel LOG_LEVEL\n logging level (default = INFO)\n --version print version and exits\n -e ENDPOINT, --endpoint ENDPOINT\n CTA root end point\n -p PATH, --path PATH CTA absolute path\n -r, --recursive handle recursively directories\n --wait wait for all requested file(s) to be copied to disk\n --silent silently wait for all requested file(s) to be available to disk\n```\n\n## Examples\nDetailed usage examples can be found in https://lbtwiki.cern.ch/bin/view/Online/OnlineOfflineEOSCTA\n\n## Installation\npip install lhcb-online-cta\n\n## Authors and acknowledgment\nFr\u00e9d\u00e9ric Hemmer - CERN/Experimental Physics Department\n\n## License\nCopyright \u00a9 2024 CERN for the benefit of the LHCb collaboration\n",
"bugtrack_url": null,
"license": "GNU General Public License v3",
"summary": "LHCb interface to EOS/CTA package",
"version": "1.1.12",
"project_urls": {
"Homepage": "https://gitlab.cern.ch/lhcb-online/lhcb-online-cta"
},
"split_keywords": [
"lhcb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "571756e613796ae5d731b58290589bffb1a2bfa1ddbbfb6fb4a0da0ddce77bfa",
"md5": "7543fb95229a9efeed3af8b7cdafd96b",
"sha256": "99de067760c536b26e3b0ebe4d7429d488eb1b2f7a2e1117068a1a1e0d50725b"
},
"downloads": -1,
"filename": "lbCta-1.1.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7543fb95229a9efeed3af8b7cdafd96b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 20954,
"upload_time": "2025-01-21T12:03:38",
"upload_time_iso_8601": "2025-01-21T12:03:38.802479Z",
"url": "https://files.pythonhosted.org/packages/57/17/56e613796ae5d731b58290589bffb1a2bfa1ddbbfb6fb4a0da0ddce77bfa/lbCta-1.1.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b93613ee0f99c30e414fdf4d7c4b77791063b7d0981d2e060a83c9d051e3e7af",
"md5": "0df313dcaf23e9291a701fa77b15b19c",
"sha256": "1b4bf9823139060f4a12f09c9cd2c2e52b33cd0d1e05eb3ac9649c4c0c1a6440"
},
"downloads": -1,
"filename": "lbcta-1.1.12.tar.gz",
"has_sig": false,
"md5_digest": "0df313dcaf23e9291a701fa77b15b19c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 28309,
"upload_time": "2025-01-21T12:03:39",
"upload_time_iso_8601": "2025-01-21T12:03:39.898631Z",
"url": "https://files.pythonhosted.org/packages/b9/36/13ee0f99c30e414fdf4d7c4b77791063b7d0981d2e060a83c9d051e3e7af/lbcta-1.1.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 12:03:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lbcta"
}