# KEGGutils:
Working with **KEGG** in **Python** and **NetworkX**
# <img src="/img/logo_cut.png" alt="Drawing" width = "630"></img>
**KEGGutils** is a toolkit designed for working with the *Kyoto Encyclopedia of Genes and Genome* database in *Python* with a quick and easy to use interface: in a single line you can download data from KEGG's REST API, organize in a graph-like format provided by *NetworkX* and immediately start exploring.
*KEGGutils* is much more than just an API interface: other than a series of tools to better interface yourself with the service, it provides expanded *NetworkX* classes and methods ( totally nx-compatible ) to handle different types of data and help you better exploit underlying structures.
KEGGutils is easily expandable and can be immediately integrated anywhere you use *NetworkX* to process data.
## Current build status:
*master branch* : [![CircleCI](https://circleci.com/gh/filippocastelli/KEGGutils.svg?style=shield)](https://circleci.com/gh/filippocastelli/KEGGutils)
*devel branch* : [![CircleCI](https://circleci.com/gh/filippocastelli/KEGGutils/tree/devel.svg?style=shield)](https://circleci.com/gh/filippocastelli/KEGGutils/tree/dev)
## Installing KEGGutils
# <a href="https://pypi.org/"><img alt = PyPi src="https://pypi.org/static/images/logo-large.72ad8bf1.svg" height="100"></img></a>
You can just clone this repo and use it's content as any other python package, but if you just need a super easy drop-in solution *KEGGutils* is available as a *PyPi* package:
to install it you just need to run
`pip install KEGGutils`
and that should be it!
## Dependencies
KEGGutils is tested and working against python `3.8`, `3.9`, `3.10` and `3.11`.
`3.6` and `3.7` are untested but should work.
To make sure KEGGutils works as it should, a few dependencies must be satisfied:
- `networkx`
- `matplotlib`
- `awesome-slugify`
- `requests`
- `Pillow`
- `scipy`
note: if you use pip to install KEGGutils, it should automatically get the needed dependencies for you!
note: you can create an environment with all the required dependencies using the incldued anaconda environment configurator, you just need to run
`conda env create -f keggutils_env.yml`
to create a `keggutils_env` anaconda environment with all the required dependencies.
## Getting started
In this repo can find four dense yet easy to follow tutorials covering most of *KEGGutils*'s functionalities and more are coming in the next future.
To start just follow the links below:
- [**Tutorial 0 - Basics and KEGG API**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%200%20-%20Basics%20and%20KEGG%20API.ipynb)
- [**Tutorial 1 - Enzymatic Graphs**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%201%20-%20EnzymeGraphs.ipynb)
- [**Tutorial 2 - KEGGgraphs, KGGlinkgraphs and KEGGchains**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%202%20-%20KEGGgraphs%2C%20KGGlinkgraphs%20and%20KEGGchains.ipynb)
- [**Tutorial 3 - KEGGpathways**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%203%20-%20KEGGpathways.ipynb)
## Contributing
The project is open to contributions and suggestions, just open an issue on the repo or contact me directly (contacts below).
## External links
Here are a few useful links
- [KEGG: Kyoto Encyclopedia of Genes and Genomes](https://www.kegg.jp/)
- [KEGG REST API reference page](https://www.kegg.jp/kegg/rest/keggapi.html)
- [KEGG KGML (KEGG Markup Language) reference page](https://www.kegg.jp/kegg/xml/)
- [Networkx Github IO](https://networkx.github.io/)
## Contacts
**Author:**
Filippo Maria Castelli
castelli@lens.unifi.it
LENS, European Laboratory for Non-linear Spectroscopy
Via Nello Carrara 1
50019 Sesto Fiorentino (FI), Italy
Raw data
{
"_id": null,
"home_page": "https://github.com/filippocastelli/KEGGutils",
"name": "KEGGutils",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "KEGG networkx utils",
"author": "Filippo Castelli",
"author_email": "filippocastelli42@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fa/d9/44c080def3e22242287be0f4a9f97b8ac986eeb6fabf5ea1fbfa70cf50e8/KEGGutils-0.4.0.tar.gz",
"platform": null,
"description": "# KEGGutils:\nWorking with **KEGG** in **Python** and **NetworkX**\n# <img src=\"/img/logo_cut.png\" alt=\"Drawing\" width = \"630\"></img>\n\n\n\n**KEGGutils** is a toolkit designed for working with the *Kyoto Encyclopedia of Genes and Genome* database in *Python* with a quick and easy to use interface: in a single line you can download data from KEGG's REST API, organize in a graph-like format provided by *NetworkX* and immediately start exploring.\n\n*KEGGutils* is much more than just an API interface: other than a series of tools to better interface yourself with the service, it provides expanded *NetworkX* classes and methods ( totally nx-compatible ) to handle different types of data and help you better exploit underlying structures. \nKEGGutils is easily expandable and can be immediately integrated anywhere you use *NetworkX* to process data.\n\n## Current build status:\n\n*master branch* : [![CircleCI](https://circleci.com/gh/filippocastelli/KEGGutils.svg?style=shield)](https://circleci.com/gh/filippocastelli/KEGGutils)\n\n*devel branch* : [![CircleCI](https://circleci.com/gh/filippocastelli/KEGGutils/tree/devel.svg?style=shield)](https://circleci.com/gh/filippocastelli/KEGGutils/tree/dev)\n\n## Installing KEGGutils\n# <a href=\"https://pypi.org/\"><img alt = PyPi src=\"https://pypi.org/static/images/logo-large.72ad8bf1.svg\" height=\"100\"></img></a>\n\nYou can just clone this repo and use it's content as any other python package, but if you just need a super easy drop-in solution *KEGGutils* is available as a *PyPi* package:\n\nto install it you just need to run\n\n`pip install KEGGutils`\n \n and that should be it!\n \n## Dependencies\nKEGGutils is tested and working against python `3.8`, `3.9`, `3.10` and `3.11`.\n\n`3.6` and `3.7` are untested but should work.\n\nTo make sure KEGGutils works as it should, a few dependencies must be satisfied:\n- `networkx`\n- `matplotlib`\n- `awesome-slugify`\n- `requests`\n- `Pillow`\n- `scipy`\n\nnote: if you use pip to install KEGGutils, it should automatically get the needed dependencies for you!\n\nnote: you can create an environment with all the required dependencies using the incldued anaconda environment configurator, you just need to run\n\n`conda env create -f keggutils_env.yml` \n\nto create a `keggutils_env` anaconda environment with all the required dependencies.\n\n## Getting started\n\nIn this repo can find four dense yet easy to follow tutorials covering most of *KEGGutils*'s functionalities and more are coming in the next future.\nTo start just follow the links below: \n- [**Tutorial 0 - Basics and KEGG API**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%200%20-%20Basics%20and%20KEGG%20API.ipynb)\n- [**Tutorial 1 - Enzymatic Graphs**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%201%20-%20EnzymeGraphs.ipynb)\n- [**Tutorial 2 - KEGGgraphs, KGGlinkgraphs and KEGGchains**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%202%20-%20KEGGgraphs%2C%20KGGlinkgraphs%20and%20KEGGchains.ipynb)\n- [**Tutorial 3 - KEGGpathways**](https://github.com/filippocastelli/KEGGutils/blob/dev/tutorials/Tutorial%203%20-%20KEGGpathways.ipynb)\n\n\n## Contributing\n\nThe project is open to contributions and suggestions, just open an issue on the repo or contact me directly (contacts below).\n\n## External links\n\nHere are a few useful links\n- [KEGG: Kyoto Encyclopedia of Genes and Genomes](https://www.kegg.jp/)\n- [KEGG REST API reference page](https://www.kegg.jp/kegg/rest/keggapi.html)\n- [KEGG KGML (KEGG Markup Language) reference page](https://www.kegg.jp/kegg/xml/)\n- [Networkx Github IO](https://networkx.github.io/)\n\n\n\n## Contacts\n\n**Author:**\n\nFilippo Maria Castelli \ncastelli@lens.unifi.it \nLENS, European Laboratory for Non-linear Spectroscopy \nVia Nello Carrara 1 \n50019 Sesto Fiorentino (FI), Italy\n\n\n",
"bugtrack_url": null,
"license": "Unlicense",
"summary": "Simple utils to work with KEGG data on NetworkX",
"version": "0.4.0",
"split_keywords": [
"kegg",
"networkx",
"utils"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "de65e6a3a75cc1d1750b5b454941ca67",
"sha256": "343e93de627873a29d010f4430d84df2275a65a37ffdf0e3901ac5871d9911cb"
},
"downloads": -1,
"filename": "KEGGutils-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "de65e6a3a75cc1d1750b5b454941ca67",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 24546,
"upload_time": "2022-12-24T19:34:37",
"upload_time_iso_8601": "2022-12-24T19:34:37.425427Z",
"url": "https://files.pythonhosted.org/packages/57/9d/ac5626682fe0c988e8ff18e53fa77da42700882c793ed78b601d9c61d9fe/KEGGutils-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "84ff07b186adf22087459c5f025886ec",
"sha256": "465f0fae504b8722e440caa075d56aaabc3b31fa824d446d4bd179ebc8c61136"
},
"downloads": -1,
"filename": "KEGGutils-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "84ff07b186adf22087459c5f025886ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22847,
"upload_time": "2022-12-24T19:34:39",
"upload_time_iso_8601": "2022-12-24T19:34:39.395795Z",
"url": "https://files.pythonhosted.org/packages/fa/d9/44c080def3e22242287be0f4a9f97b8ac986eeb6fabf5ea1fbfa70cf50e8/KEGGutils-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-24 19:34:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "filippocastelli",
"github_project": "KEGGutils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"circle": true,
"requirements": [],
"lcname": "keggutils"
}