معرفی شرکت ها


cmsrucio-import-0.1.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Utility tool to upload files and datasets from local machine to rucio
ویژگی مقدار
سیستم عامل -
نام فایل cmsrucio-import-0.1.1
نام cmsrucio-import
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Rahul Chauhan
ایمیل نویسنده rahul.chauhan@cern.ch
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cmsrucio-import/
مجوز -
# User DataManagement Tools ## Requirements - initialise rucio (installs rucio_client) - `source /cvmfs/cms.cern.ch/rucio/setup-py3.sh` - initalise proxy - `voms-proxy-init -voms cms -rfc -valid 192:00` - export RUCIO_ACCOUNT=$USER ## Additionally pip3 install -r requirements.txt ## How to Show list of available commands: `python3 upload.py --help` Show help related to a specific commands (cmd): `python3 upload.py <cmd> --help` <br> To upload a local file and create a rule on it: - Copy template from `lib/templates/file-upload.yml` - Specify parameters: - `filePath`: location of local file - `lfn`: lfn (logical file name) for the file - `store/user/rucio/<username>/<filename>` - `tempRSE`: temp RSE to use for the intermediate hop (can be left to template value) - `rse`: destination RSE/RSE Expression on which rule should be created - `lifetime`: life of rule - `copies`: number of copies required - Execute: `python3 upload.py upload-file-yaml <yaml-file-path>` <br> To upload a dataset create a rule on it: - Copy template from `lib/templates/dataset-upload.yml` - Specify parameters: - `datasetPath`: location of folder to use as dataset - `datasetName`: name of dataset conforming to CMS naming conventions - `tempRSE`: temp RSE to use for the intermediate hop (can be left to template value) - `rse`: destination RSE/RSE Expression on which rule should be created - `lifetime`: life of rule - `copies`: number of copies required - Execute: `python3 upload.py upload-dataset-yaml <yaml-file-path>` ## Build Instructions ### Prerequisite We will be using [poetry](https://python-poetry.org/) to build the package. ### Create a wheel package ``` cd CMSRucio/UserDMTools/cmsrucio_import poetry build ``` ### Installing from the wheel package ``` pip3 install --user dist/cmsrucio_import-0.1.0-py3-none-any.whl ```


نیازمندی

مقدار نام
>=0.6.1,<0.7.0 typer
>=1.6.1,<2.0.0 strictyaml
>=1.28.3,<2.0.0 rucio-clients


زبان مورد نیاز

مقدار نام
>=3.6,<4.0 Python


نحوه نصب


نصب پکیج whl cmsrucio-import-0.1.1:

    pip install cmsrucio-import-0.1.1.whl


نصب پکیج tar.gz cmsrucio-import-0.1.1:

    pip install cmsrucio-import-0.1.1.tar.gz