Skip to main content

An unofficial client for uniprot.

Project description

uniprot-cli - An Unofficial client for Uniprot

uniprot-cli is an Unofficial client for the Uniprot protein database written in python.

This project is still in its early stages under heavy development. Do not expect this to work properly until v1.0.0.

Installation

Installation is done with pip:

pip install uniprot-cli

Usage

uniprot-cli has two modes of usage, an interactive-mode and a cli-mode. The interactive-mode can be invoked by simply running:

uniprot-cli

And the user will be prompted for relevant input, step by step.

The cli-mode is used by passing arguments to uniprot-cli in the terminal:

Example:

uniprot-cli -q B5ZC00

This will cause uniprot-cli to skip interactive prompts and query Uniprot directly.

Arguments

The following arguments can be passed to uniprot-cli in cli-mode:

Argument Type Default Explaination
-q, --query str None Query string.
-m, --multiple bool False Query multiple results.
-f, --format str 'fasta' Data format for query result.
-d, --dataset str 'uniprotkb' Data set on Uniprot.
-n, --nosave bool False Don't save the result.
-v, --version N/A N/A Print version.
-h, --help N/A N/A Print help and usage information.

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

uniprot_cli-0.3.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

uniprot_cli-0.3.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file uniprot_cli-0.3.4.tar.gz.

File metadata

  • Download URL: uniprot_cli-0.3.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for uniprot_cli-0.3.4.tar.gz
Algorithm Hash digest
SHA256 32d9f63046cf185e2c28fa9ad76d9dbbf6e803e2d463a4f7ccafce0c154c8821
MD5 e4d4e0923a9733412953c0907d3dd10d
BLAKE2b-256 d344a5b2e07d1e6f3506b12d034fbe14b4e4d81cfb383a4a7064f1895d0ef4d2

See more details on using hashes here.

File details

Details for the file uniprot_cli-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: uniprot_cli-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for uniprot_cli-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f67b9219ff2dca9970d4d0fba04b74c5f188a941009380444cf65c0d350ea07f
MD5 a5261c5d3e717a3fc42308a5e3685aca
BLAKE2b-256 708a7467bae578016979bda5e326653eec51094876ce65efaf0cf948cb2d1c8e

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