Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

kegger

Latest version: v0.2.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: saltikov
0 Stars
0 Forks
1 Versions
92 Downloads
Python Repo language

Scan summary

kegger was last scanned on 27 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 92 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 27 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

kegger

Documentation PyPI Python Version License: MIT

Interact with the KEGG (Kyoto Encyclopedia of Genes and Genomes) API using Python and Pandas.

Retrieve genes, pathways, and associated data for organisms of interest in the KEGG database. Originally developed for RNA-seq analysis to organize gene expression patterns by KEGG pathways.

Features

  • 🧬 Retrieve pathway information for any organism in KEGG
  • 📊 Returns data as Pandas DataFrames for easy analysis
  • 🔍 Parse KEGG records into structured dictionaries
  • 💾 Built-in request caching for faster repeated queries
  • 🐍 Simple, intuitive Python API

Installation

Install from PyPI using pip:

pip install kegger

Or using uv:

uv add kegger

Quick Start

Get all pathways for an organism
import kegger as kg

org = "eco"  # E. coli K-12 MG1655
org_pathways = kg.list_all_pathways(org)

print(org_pathways.head())

Output:

     pathid                                        description
0  eco01100  Metabolic pathways - Escherichia coli K-12 MG1655
1  eco01110  Biosynthesis of secondary metabolites - Escher...
2  eco01120  Microbial metabolism in diverse environments -...
3  eco01200   Carbon metabolism - Escherichia coli K-12 MG1655
4  eco01210  2-Oxocarboxylic acid metabolism - Escherichia ...
Get all genes and their pathway associations
genes_pathids = kg.genes_to_pathways(org)
genes_pathids = genes_pathids.merge(org_pathways, how="outer")
print(genes_pathids.head())

Output

     pathid   gene                                        description
0  eco00010  b0114  Glycolysis / Gluconeogenesis - Escherichia col...
1  eco00010  b0115  Glycolysis / Gluconeogenesis - Escherichia col...
2  eco00010  b0116  Glycolysis / Gluconeogenesis - Escherichia col...
3  eco00010  b0325  Glycolysis / Gluconeogenesis - Escherichia col...
4  eco00010  b0356  Glycolysis / Gluconeogenesis - Escherichia col...
Get details for a specific pathway from a KEGG Entry

If you need more details about a pathway, use the get_path() function to retrieve the raw text from the KEGG request and kegg_parser() to convert the string into a dictionary.

pathid = "eco00190"  # Oxidative phosphorylation
path_record = kg.get_path(pathid) # the kegg request as a string
path_dict = kg.kegg_parser(path_record)

# Available data fields
print(path_dict.keys())
# dict_keys(['ENTRY', 'NAME', 'CLASS', 'PATHWAY_MAP', 'MODULE', 
#            'ORGANISM', 'GENE', 'ORTHOLOG', 'COMPOUND', 
#            'REFERENCE', 'AUTHORS', 'TITLE', 'JOURNAL', 'KO_PATHWAY'])

# Show the pathway name
print(path_dict.get("NAME"))
# Oxidative phosphorylation - Escherichia coli K-12 MG1655

# Show associated modules
print(path_dict.get("MODULE"))
# [
# 'eco_M00144  NADH:quinone oxidoreductase, prokaryotes [PATH:eco00190]',
# 'eco_M00149  Succinate dehydrogenase, prokaryotes [PATH:eco00190]',
# 'eco_M00150  Fumarate reductase, prokaryotes [PATH:eco00190]',
# 'eco_M00153  Cytochrome bd ubiquinol oxidase [PATH:eco00190]',
# 'eco_M00157  F-type ATPase, prokaryotes and chloroplasts [PATH:eco00190]', 
# 'eco_M00417  Cytochrome o ubiquinol oxidase [PATH:eco00190]'
# ]

# Get genes in this pathway
genes = path_dict.get("GENE")
print(f"Found {len(genes)} genes in pathway")
print(genes[:5])  # First 5 genes
# ['b0428', 'b0429', 'b0430', 'b0431', 'b0432']
Get annotation and KEGG pathways for all genes
import kegger as kg

org = "eco"
annotated_org = kg.get_org(org)
genes_pathways_org = annotated_org.merge(org_pathways, how="outer")
print()

Documentation

Full documentation is available at https://csaltikov.github.io/kegger/

Requirements

  • Python ≥ 3.13
  • pandas ≥ 2.2.3
  • requests ≥ 2.32.5
  • requests-cache ≥ 1.2.1

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Citation

If you use kegger in your research, please cite:

Saltikov, C. (2025). kegger: A Python package for interacting with the KEGG API. 
GitHub repository: https://github.com/csaltikov/kegger

Acknowledgments

This package interfaces with the KEGG API. Please cite KEGG appropriately in your work:

Kanehisa, M. and Goto, S.; KEGG: Kyoto Encyclopedia of Genes and Genomes. Nucleic Acids Res. 28, 27-30 (2000).

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases kegger

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229