Skip to main content

PyBiomart

https://travis-ci.org/jrderuiter/pybiomart.svg?branch=develop https://coveralls.io/repos/github/jrderuiter/pybiomart/badge.svg?branch=develop

A simple and pythonic biomart interface for Python.

The intent of pybiomart is to provide a simple interface to biomart, which can be used to easily query biomart databases from Python. In this sense, pybiomart aims to provide functionality similar to packages such as biomaRt (which provides access to biomart from R).

Documentation

Documentation is available at: https://jrderuiter.github.io/pybiomart.

Examples

Retrieving and querying a dataset using the server interface:

from pybiomart import Server

server = Server(host='http://www.ensembl.org')

dataset = (server.marts['ENSEMBL_MART_ENSEMBL']
                 .datasets['hsapiens_gene_ensembl'])

dataset.query(attributes=['ensembl_gene_id', 'external_gene_name'],
              filters={'chromosome_name': ['1','2']})

Retrieving a dataset directly with known dataset name:

from pybiomart import Dataset

dataset = Dataset(name='hsapiens_gene_ensembl',
                  host='http://www.ensembl.org')

dataset.query(attributes=['ensembl_gene_id', 'external_gene_name'],
              filters={'chromosome_name': ['1','2']})

License

Released under the MIT license.

Metadata

Release files for pybiomart 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybiomart 0.2.0
File Size Uploaded Provenance
pybiomart-0.2.0.tar.gz 195.8 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pybiomart 0.2.0
File Interpreter ABI Platform
pybiomart-0.2.0-py3-none-any.whl Python 3 none any Details
pybiomart-0.2.0-py2-none-any.whl Python 2 none any Details

Total release size: 217.0 kB

Release files / pybiomart-0.2.0.tar.gz

Download URL pybiomart-0.2.0.tar.gz
Size 195.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9eac20db921820670c646d99725b0ee279e407379e5e8c3ec7245a07425d8fe
BLAKE2b-256 checksum
How to use checksums
91223c7f20669238c228c2768c733377078e57b60bc58b93a7b517f56b795df0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pybiomart-0.2.0-py3-none-any.whl

Download URL pybiomart-0.2.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c88bdd97887e2144a8be44036901aa032a824c82b42c33e24515b6c786b80933
BLAKE2b-256 checksum
How to use checksums
4a6d23cf5ae8b0a549a60164c49836c8e8eb393747b5fd00a7b5d9445886e0d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pybiomart-0.2.0-py2-none-any.whl

Download URL pybiomart-0.2.0-py2-none-any.whl
Size 10.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a5f6b74341784d848db23cc755707dc26b03afe6be3513bc8bd97a1d080daa8f
BLAKE2b-256 checksum
How to use checksums
56e891d1f19cf71471b5baac69df805cc41c0aec82b6b4646c535a7a9af4edec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pybiomart 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page