Skip to main content

An interface to the Wormbase REST API

Project description

wormbase_parasite

This package is an interface to the WormBase ParaSite REST API. You can use it in your Python programs to retrieve data from the WormBase ParaSite REST API without needing to learn the details of REST API interactions. The function names are intelligent and documentation is provided. This package is targeted toward Wormbase users who want to get data from WormBase faster than using the web site.

Installation

Installation is simple with pip. Simply run

> pip install wormbase-parasite

to retrieve this package from the PyPI package index.

Usage

The WormBase ParaSite REST API is free and open. No credentials, keys, or tokens are needed to access it. This makes PyWormbase easy to use in scripts, too. First, import wormbase_parasite, then instantiate a WormbaseClient object:

>>> import wormbase_parasite
>>> api = wormbase_parasite.WormbaseClient()

A WormbaseClient object will have a variety of member functions that provide access to Wormbase API endpoints. You can use dir(api) to see all functions available (or read the associated documentation in the Github wiki).

Support

If you use PyWormbase and are experiencing problems with the package, or if you have a request for an additional feature, please file an issue at https://github.com/c-anna/PyWormbase/issues.

A note: wormbase_parasite is a wrapper around the WormBase ParaSite REST API. This API is subject to change and so both the content and format of the responses may change without notice. While every effort will be made to keep this package aligned with the output of the REST API, it is still possible for scripts relying on this package to change their execution results even if no code changes were made. If you use wormbase_parasite and notice a change in a function's execution, please open an issue on Github.

License

wormbase_parasite is free and open-source, licensed under the GPLv3 license.

     . .  .  .  . . .
   .                     .                _.-/`/`'-._
   . Thanks for using     .             /_..--''''_-'
    . wormbase_parasite! .             //        \
     . .  .  .     .                  //-.__\_\.-'
                `..'  _\\\//  --.___ // ___.---.._
                  _- /@/@\  \       ||``          `-_
                .'  ,\_\_/   |    \_||_/      ,-._   `.
               ;   { o    /   }     ""        `-._`.   ;
              ;     `-==-'   /                    \_|   ;
             |        |>o<|  }@@@}                       |
             |       <(___<) }@@@@}                      |
             |       <(___<) }@@@@@}                     |
             |        <\___<) \_.?@@}                    |
              ;         V`--V`__./@}                    ;
               \      tx      ooo@}                    /
                \                                     /
                 `.                                 .'
                   `-._                         _.-'
                       ``------'''''''''------``

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

wormbase_parasite-0.5.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

wormbase_parasite-0.5.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file wormbase_parasite-0.5.0.tar.gz.

File metadata

  • Download URL: wormbase_parasite-0.5.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

File hashes

Hashes for wormbase_parasite-0.5.0.tar.gz
Algorithm Hash digest
SHA256 451dc64cc1e151528fc5b088788b09dd17914494ab9e8b4ed6cf3835cea43609
MD5 24412d99f10f4665c55d52bcdb2b4982
BLAKE2b-256 38c0e11c51202c3adcd5c4b76a21cac3ff898d81d121dac16e3fa00a5c5f80e8

See more details on using hashes here.

File details

Details for the file wormbase_parasite-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: wormbase_parasite-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

File hashes

Hashes for wormbase_parasite-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa69810958bafe874ef6eb2188047286b2d0cddc2db49573ff6a77de602b6c8
MD5 67f8cb9370fe5a7823be54346b2e7821
BLAKE2b-256 6d75e2e5b40c15310603bfeadb4137ef348f7aeb759f8f0e1c492deae4b35cdf

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