Skip to main content

Simplified & efficient GISAID interactions.

Project description

gisaid-uploader

alt text alt text

Simplified & efficient GISAID interactions.

** This package is in development **

Features to be added soon:

  • STARLIMS REST API support for pipelines
  • GISAID API download functionality

  1. Register for a GISAID account

  2. Email GISAID & request a client ID

Installation:

    >>> pip install gisaid

Authenticate once:

    >>> import gisaid as gs
    >>> gs.GiSaid(authenticate=True, client_id="foo",
    >>>              username="bar", password="foobar", filename="authfile.json")
    "Authentication successful"

CSV + fasta file:

    >>> import gisaid as gs
    >>> x = gs.GiSaid("upload.csv", "fasta.fa")
    >>> x.upload()
    "93 Successful Uploads"
    "15 Failed Uploads"

Collated CSV:

    >>> import gisaid as gs
    >>> x = gs.GiSaid("collated", "upload.csv")
    >>> x.upload()
    "93 Successful Uploads"

Upload to a SQL database:

    >>> import gisaid as gs
    >>> table_name = "foobar"
    >>> method = "append"
    >>> x = gs.GiSaid("upload.csv", "fasta.fa")
    >>> x.upload_sql(table_name, method, conn)

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

gisaid-1.0.5b0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

gisaid-1.0.5b0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file gisaid-1.0.5b0.tar.gz.

File metadata

  • Download URL: gisaid-1.0.5b0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.2

File hashes

Hashes for gisaid-1.0.5b0.tar.gz
Algorithm Hash digest
SHA256 64ec80d83a8ded90172da81f1f925f6d61ca46d880e7d80fff36447f5f176ad5
MD5 3ff38a7a5b69031d674b2f99369b07b8
BLAKE2b-256 92371014e1373a51035616c5d4a122edde620647ccde1fbcfe22f8b6ed816371

See more details on using hashes here.

File details

Details for the file gisaid-1.0.5b0-py3-none-any.whl.

File metadata

  • Download URL: gisaid-1.0.5b0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.2

File hashes

Hashes for gisaid-1.0.5b0-py3-none-any.whl
Algorithm Hash digest
SHA256 478afe542148733c3bbc7ed5c60fb4fb524e677708217e099a6db127d6909f76
MD5 438e843fbb7297dac2d8d88a17e15c29
BLAKE2b-256 21c2e565627b2c583187d5e9cb205eb6fd1b7ecdbfd419b63c4b67a818e0a686

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