Skip to main content

Async pythonic interface to Biomart.

Project description

apybiomart

https://img.shields.io/pypi/v/apybiomart.svg Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. https://travis-ci.com/robertopreste/apybiomart.svg?branch=master https://circleci.com/gh/robertopreste/apybiomart.svg?style=svg https://codecov.io/gh/robertopreste/apybiomart/branch/master/graph/badge.svg Documentation Status Updates Python 3 Downloads

Async pythonic interface to BioMart.

Features

apybiomart is a Python module which provides a simple asynchronous interface to Ensembl BioMart. Users can exploit the async interface to schedule multiple queries using all the commodities offered by Python’s asyncio library.

Depending on specific needs, apybiomart offers different entry points:

  • an asynchronous aquery() function, to schedule multiple queries in the same event loop;

  • a synchronous query() function, which can be used for exploratory queries, executed in real time;

  • a set of synchronous list_*() functions, which can be used to retrieve the list of available marts, datasets for a specific mart, attributes and filters for a specific dataset.

Please refer to the Usage section of the documentation for further information.

Background

apybiomart was originally born as a fork of the great pybiomart package.

I was working on a project that employed a series of async calls to several online resources, but I couldn’t manage to perform asynchronous calls to BioMart using that package, so I decided to modify it to better suit my needs. However, it gradually evolved into a very different thing: the original implementation was rewritten and the structure of the package changed a bit, in a way that I found most useful for my purpose.

This said, all the credits go to jrderuiter, which created the original pybiomart package.

Installation

apybiomart only supports Python 3, and can be installed using pip:

pip install apybiomart

Please refer to the Installation section of the documentation for further information.

Credits

This package was created with Cookiecutter and the cc-pypackage project template.

History

0.1.0 (2019-03-26)

  • First development release.

0.1.1 (2019-03-27)

  • Requests are converted to async calls;

  • Code style is clean and Python 3 compatible.

0.1.2 (2019-03-27)

  • Add basic tests.

0.2.0 (2019-03-31)

  • New version with different organisation of classes and functions;

  • Sync query and async aquery functions to query Biomart;

  • Sync list_* functions to retrieve available marts, datasets, filters and attributes.

0.2.1 (2019-04-01)

  • Add tests.

0.2.2 (2019-04-01)

  • Basic functions working and tested;

  • Fix documentation;

  • Update requirements.

0.2.3 (2019-04-02)

  • Update requirements;

  • Fix type hints for query functions;

  • Reorganise query classes into a single class;

  • Update documentation.

0.2.4 (2019-04-04)

  • Fix type hints;

  • Fix docstrings in classes;

  • Add docstrings to main entry points.

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

apybiomart-0.2.4.tar.gz (164.9 kB view details)

Uploaded Source

Built Distribution

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

apybiomart-0.2.4-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file apybiomart-0.2.4.tar.gz.

File metadata

  • Download URL: apybiomart-0.2.4.tar.gz
  • Upload date:
  • Size: 164.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for apybiomart-0.2.4.tar.gz
Algorithm Hash digest
SHA256 74e6820244bc7dc4aa3a421cb6ff7af74699ac222dca8fce81a70abd3bf1b80f
MD5 dbcb0e1dd05a1f4eec62f2d2e3a5bc20
BLAKE2b-256 9a051f1fc5929209bfaa1b047ed59a79bea2fe644d0df75b0911b58833f80a3e

See more details on using hashes here.

File details

Details for the file apybiomart-0.2.4-py2.py3-none-any.whl.

File metadata

  • Download URL: apybiomart-0.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for apybiomart-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0ddda2f5bd424c60e2ac7320499a12d216ecf882e6f09a0e8609666642bbcc12
MD5 466482a8e28e8a09f4ff5271c9c6c1d1
BLAKE2b-256 ed544bee9c7b9b6db2e67b9b895172162c0c32edf59d083c1563bdbcdbaa4371

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