$npx skillfedfor your agent

mygene

Python Client for MyGene.Info services.

With conditionsPyPI UtilitiesReleased Apr 20211.5M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mygene-3.2.2-py2.py3-none-any.whl
v3.2.2 · released 2021-04-05 · 1 runtime deps: biothings-client

Yes, if you need to query gene annotations and can tolerate dormant maintenance. The package is stable and has low install friction, but verify that the remote MyGene.Info API remains compatible with your use case. For active development, consider using biothings-client directly, which mygene wraps.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency.
  • Maintenance is dormant—the latest release was in April 2021—but the repository remains active with recent commits and the package is marked Production/Stable.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing use in both open-source and proprietary projects with minimal restrictions.

last release 2021-04-05 (1957 days) · last repo commit 2025-01-14 · 99 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,468,965 downloads/mo, #3,871 on PyPI

Verify before relying

pip install mygene

import mygene
mg = mygene.MyGeneInfo()
result = mg.getgene(1017, fields='name,symbol')
print(result)
  • Whether the package continues to work reliably against the current MyGene.Info API despite dormant maintenance status.
  • Current compatibility with Python versions beyond 3.9, given classifiers only list up to 3.9 and no recent releases.
Same gist for agents: .md · .json

What it is and what it does

Mygene is a thin Python wrapper around the MyGene.Info REST web service, which provides gene annotation data. Since v3.1.0, it has been built on top of biothings-client, a universal client for BioThings APIs. The package lets you query gene information by ID (Entrez, Ensembl, etc.), retrieve specific fields, and search across multiple species. Results can be returned as dictionaries or as pandas DataFrames.

The package is designed for bioinformatics workflows where you need to look up or cross-reference gene identifiers and their associated metadata. It handles both single-gene queries and batch operations, making it suitable for annotation pipelines and exploratory analysis. The underlying REST API is remote, so network access is required.

Use it for

  • Map gene IDs between different identifier systems (Entrez, Ensembl, gene symbol) for annotation pipelines.
  • Retrieve gene metadata such as names, RefSeq accessions, and protein sequences for a list of gene identifiers.
  • Search for genes by symbol or name across multiple species to identify orthologs or related genes.
  • Export gene annotation results as a pandas DataFrame for downstream analysis or reporting.
  • Integrate gene data lookup into bioinformatics workflows without maintaining a local gene database.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to query gene annotations and can tolerate dormant maintenance.

The package is stable and has low install friction, but verify that the remote MyGene.Info API remains compatible with your use case. For active development, consider using biothings-client directly, which mygene wraps.

Install

mygene on PyPI

Before you install

Low install friction with a single runtime dependency. Maintenance is dormant—the latest release was in April 2021—but the repository remains active with recent commits and the package is marked Production/Stable.

License in practice

BSD license is permissive, allowing use in both open-source and proprietary projects with minimal restrictions.

Quickstart

pip install mygene

import mygene
mg = mygene.MyGeneInfo()
result = mg.getgene(1017, fields='name,symbol')
print(result)

Verify before relying

  • Whether the package continues to work reliably against the current MyGene.Info API despite dormant maintenance status.
  • Current compatibility with Python versions beyond 3.9, given classifiers only list up to 3.9 and no recent releases.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
biothings-client
MaintenanceDormant 1,957 days since the last release
Last repo commit
First released
Downloads1,468,965 / month, #3,871 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Bio-InformaticsTopic :: Utilities

Evidence: mygene-3.2.2-py2.py3-none-any.whl

Tags

Capabilities
gene annotation lookup pythonentrez gene id querygene symbol to id mappingbioinformatics gene data apigene information retrievalcross-species gene searchgene annotation client
Topics
bioinformaticsgene-annotationrest-api-client
PyPI keywords
biologygeneannotationwebserviceclientapi

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “gene annotation lookup python”

  • mygeneMygene is a Python wrapper for the MyGene.Info REST API that…
  • gprofiler-officialPython interface to g:Profiler toolkit for functional enrichment…
  • pyensemblPyEnsembl provides a Python interface to query Ensembl reference…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also biothings-client · gprofiler-official · pyensembl · gtfparse · bio · biotite · refgenie · bionty · gseapy · logomaker