معرفی شرکت ها


cirro-0.6.9


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

CLI tool and SDK for interacting with the Cirro platform
ویژگی مقدار
سیستم عامل -
نام فایل cirro-0.6.9
نام cirro
نسخه کتابخانه 0.6.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Fred Hutch
ایمیل نویسنده cirro@fredhutch.org
آدرس صفحه اصلی https://github.com/FredHutch/Cirro-client
آدرس اینترنتی https://pypi.org/project/cirro/
مجوز MIT
# Cirro Client [![Build Python package](https://github.com/FredHutch/Cirro-client/actions/workflows/package.yml/badge.svg)](https://github.com/FredHutch/Cirro-client/actions/workflows/package.yml) [![Lint and run tests](https://github.com/FredHutch/Cirro-client/actions/workflows/lint.yml/badge.svg)](https://github.com/FredHutch/Cirro-client/actions/workflows/lint.yml) ![](https://img.shields.io/pypi/v/cirro.svg) A Python 3.8+ library for the Cirro platform. ## Installation You can install Cirro using pip: `pip install cirro` or by cloning the repository and running: `python setup.py install` ## Set Up Run a one-time configuration of your login credentials in the command line using: `cirro-cli configure` This will ask you to select an authentication method. If you are a member of Fred Hutch or the University of Washington, select the default method which will give you a link to use to log through the browser. If you are not a member of those institutions, select the non-institutional authentication method and enter your Data Portal username and password into the command line when prompted. ## Command Line Usage #### Downloading a dataset: ```bash Usage: cirro-cli download [OPTIONS] Download dataset files Options: --project TEXT Name or ID of the project --dataset TEXT ID of the dataset --data-directory TEXT Directory to store the files -i, --interactive Gather arguments interactively --help Show this message and exit. ``` #### Uploading a dataset: ```bash Usage: cirro-cli upload [OPTIONS] Upload and create a dataset Options: --name TEXT Name of the dataset --description TEXT Description of the dataset (optional) --project TEXT Name or ID of the project --process TEXT Name or ID of the ingest process --data-directory TEXT Directory you wish to upload -i, --interactive Gather arguments interactively --help Show this message and exit. ``` #### Listing datasets: ```bash Usage: cirro-cli list-datasets [OPTIONS] List available datasets Options: --project TEXT ID of the project -i, --interactive Gather arguments interactively --help Show this message and exit. ``` ### Interactive Commands When running a command, you can specify the `--interactive` flag to gather the command arguments interactively. Example: ```bash $ cirro-cli upload --interactive ? What project is this dataset associated with? Test project ? Enter the full path of the data directory /shared/biodata/test ? Please confirm that you wish to upload 20 files (0.630 GB) Yes ? What type of files? Illumina Sequencing Run ? What is the name of this dataset? test ? Enter a description of the dataset (optional) ``` ## Python Usage See the following set of Jupyter notebooks that contain examples on the following topics: | Jupyter Notebook | Topic | |--------------------------------------------------------------------|--------------------------------------| | [Introduction](samples/Getting_started.ipynb) | Installing and authenticating | | [Uploading a dataset](samples/Uploading_a_dataset.ipynb) | Uploading data | | [Downloading a dataset](samples/Downloading_a_dataset.ipynb) | Downloading data | | [Interacting with a dataset](samples/Interacting_with_files.ipynb) | Calling data and reading into tables | | [Analyzing a dataset](samples/Analyzing_a_dataset.ipynb) | Running analysis pipelines | | [Using references](samples/Using_references.ipynb) | Managing reference data | ## R Usage | Jupyter Notebook | Topic | |-----------------------------------------------------|---------------------| | [Downloading a dataset in R](samples/Using-R.ipynb) | Reading data with R | ## Advanced Usage ### Supported environment variables | Name | Description | Default | |-------------|-------------------------------|-----------------| | PW_HOME | Local configuration directory | ~/.cirro | | PW_BASE_URL | Base URL of the data portal | data-portal.io | ### Configuration The `cirro-cli configure` command creates a file in `PW_HOME` called `config.ini`. You can set the `base_url` property in the config file rather than using the environment variable. The `transfer_max_retries` configuration property specifies the maximum number of times to attempt uploading a file to Cirro in the event of a transfer failure. When uploading files to Cirro, network issues or temporary outages can occasionally cause a transfer to fail. It will pause for an increasing amount of time for each retry attempt. ```ini [General] base_url = data-portal.io transfer_max_retries = 15 ```


نیازمندی

مقدار نام
>=8.1.3,<9.0.0 click
>=1.24.0,<2.0.0 boto3
>=1.10.0,<2.0.0 questionary
>=2.28.0,<3.0.0 requests
>=1.1.2,<2.0.0 requests_aws4auth
==2022.12.0 pycognito
>=4.62.3,<5.0.0 tqdm
==1.58.0 pygithub
>=4.6.1,<5.0.0 jsonschema
>=3.4.0,<4.0.0 gql[requests]
>=1.5.0,<2.0.0 pandas
==2023.1.0 s3fs
>=2.4.0,<3.0.0 pyjwt
>=1.0.0,<2.0.0 msal-extensions


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

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


نحوه نصب


نصب پکیج whl cirro-0.6.9:

    pip install cirro-0.6.9.whl


نصب پکیج tar.gz cirro-0.6.9:

    pip install cirro-0.6.9.tar.gz