Skip to main content

Pulls any and all entries from any and all KEGG databases, pulls KEGG entry IDs, and wraps all the KEGG REST API operations in both Python API and the command line.

Project description

Description

The kegg_pull package provides a number of useful CLI and API features for interacting with the KEGG REST API. This includes wrapper methods/commands for all the REST API operations, pulling lists of KEGG entry IDs, and pulling an arbitrary number of KEGG entries, in a single call, that are automatically separated and saved in individual files.

Documentation

The complete documentation for our API and CLI including tutorials can be found here.

Installation

Requires python 3.10 and above.

Using conda

conda install -c bioconda kegg_pull

Using pip

For Linux, Mac OS X:

python3 -m pip install kegg-pull

For Windows:

py -3 -m pip install kegg-pull

Note: Many KEGG entry IDs contain colons and kegg_pull saves KEGG entry files with their ID in the file name. When running on Windows, all file names with colons will have their colons replaced with underscores.

Note: If py is not installed on Windows (e.g. Python was installed via the Windows store rather than from the official Python website), the installation command is the same as Linux and Mac OS X.

Note: If the kegg_pull console script is not found on Windows, the CLI can be used via python3 -m kegg_pull or py -3 -m kegg_pull or path\to\console\script\kegg_pull.exe. Alternatively, the directory where the console script is located can be added to the Path environment variable. For example, the console script may be installed at:

c:\users\<username>\appdata\local\programs\python\python310\Scripts\

PyPi

See our PyPi page here.

BioConda

See our BioConda page here.

Questions, Feature Requests, and Bug Reports

Please submit any questions or feature requests you may have and report any potential bugs/errors you observe on our GitHub issues page.

Dependencies

Note, the pip and conda commands will install dependencies automatically.

docopt
requests
tqdm
jsonschema

Get the source code

Code is available on GitHub: https://github.com/MoseleyBioinformaticsLab/kegg_pull.

You can clone the repository via:

git clone https://github.com/MoseleyBioinformaticsLab/kegg_pull.git

Once you have a copy of the source, you can embed it in your own Python package, or install it into your system site-packages easily:

Linux, Mac OS X

python3 setup.py install

Windows

py -3 setup.py install

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

kegg_pull-3.2.3.tar.gz (493.1 kB view details)

Uploaded Source

Built Distribution

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

kegg_pull-3.2.3-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file kegg_pull-3.2.3.tar.gz.

File metadata

  • Download URL: kegg_pull-3.2.3.tar.gz
  • Upload date:
  • Size: 493.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kegg_pull-3.2.3.tar.gz
Algorithm Hash digest
SHA256 84210ef4c56d3fff60a62df9b02a474a6ea20a6506be1b06811dbbd1641037e9
MD5 72f0801e821b04f5bbc2a9677ae8c799
BLAKE2b-256 2991e962450ec2c890e8759d15dc4ab8110005aae5beb512e942b5af139d599b

See more details on using hashes here.

File details

Details for the file kegg_pull-3.2.3-py3-none-any.whl.

File metadata

  • Download URL: kegg_pull-3.2.3-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kegg_pull-3.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55878873ba9da5b00163b8493bee6d8d8d433692b325c6148efbdb581d673cd5
MD5 e37904493b2c4efa57528e132b0cd2d4
BLAKE2b-256 7bdf88d0e4ae21823845de0419981e6fed46f30da3710d630a4b8347806c640e

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