Skip to main content

A CLI tool for cataloging pilot 1 data

Project description

Globus Pilot

https://readthedocs.org/projects/globus-pilot/badge/?version=latest&style=flat https://github.com/globusonline/globus-pilot/actions/workflows/tests.yml/badge.svg https://img.shields.io/pypi/v/globus-pilot.svg https://img.shields.io/pypi/wheel/globus-pilot.svg License

A Command Line tool for managing data in Globus Search as well as transferring corresponding data to and from a Globus Endpoint.

Installation

Pilot requires python 3.6+, you can install with the following:

pip install globus-pilot

See the Read-The-Docs Page for more options.

Quick Start

For a full walkthrough, see the User Guide. Administrators can also view the Admin Guide.

A quick walkthrough is below.

First, login using Globus:

pilot login

Set your Search Index:

pilot index set <myindex>

Then choose your project. See pilot project info for info on any listed project:

pilot project
pilot project set <myproject>

You can use list to get a high level overview of the data:

pilot list

If you want more detail about a specific search record, you can use describe to view details:

pilot describe dose_response/rescaled_combined_single_drug_growth

You can also download the data associated with the search record:

pilot download dose_response/rescaled_combined_single_drug_growth

When you want to add more data to the collection, you can use the upload command. This will upload the data in addition to creating a record in Globus Search to track it.

touch my_data.tsv
pilot upload my_data.tsv test_dir --dry-run --verbose -j my_metadata.json

The two flags ‘–dry-run –verbose’ are optional but handy for testing. ‘-j my_metadata.json’ is for providing any extra metadata the pilot tool can’t automatically determine. Here is an example of the metadata:

{
    "title": "Drug Identifiers",
    "description": "Drug identifiers, including InChIKey, SMILES, and PubChem.",
    "data_type": "Drug Response",
    "dataframe_type": "List",
    "source": [
        "InChIKey",
        "SMILES",
        "PubChem"
    ]
}

Running Tests

Ensure packages in test-requirements.txt are installed, then run:

pytest

And for coverage:

pytest --cov pilot

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

globus-pilot-0.7.0.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

globus_pilot-0.7.0-py3-none-any.whl (95.5 kB view details)

Uploaded Python 3

File details

Details for the file globus-pilot-0.7.0.tar.gz.

File metadata

  • Download URL: globus-pilot-0.7.0.tar.gz
  • Upload date:
  • Size: 74.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for globus-pilot-0.7.0.tar.gz
Algorithm Hash digest
SHA256 015ea5da611f86e96ad00b861789cec1fa2f4e633c04f319262d794ec7c17b7e
MD5 ec9a0be3840aacc48f2ee060e611e35d
BLAKE2b-256 67af4e96dc9b7374f9d98cddcb45f3b4e15ac184055af80a903f26a85c99a83b

See more details on using hashes here.

File details

Details for the file globus_pilot-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: globus_pilot-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 95.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for globus_pilot-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73022e20d41ea325d61c1adf9b37f5666c99580b5e03b5c29b36a4b1baf5b541
MD5 caca9128b6a86f15982b4707c5cd6210
BLAKE2b-256 4f02cf7326b3f5f414ac5187eff9498fb32cdb5b6dc4f56668c892c057550c9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page