NDEx2 Python Client
Overview
The NDEx2 Python Client provides methods to access NDEx via the NDEx REST Server API. As well as methods for common operations on networks via the NiceCXNetwork class.
Dependencies
Compatibility
Python 3.5+
Note
Python < 3.5 may have some issues
Installation
The NDEx2 Python Client module can be installed from the Python Package Index (PyPI) repository using PIP:
pip install ndex2
If you already have an older version of the ndex2 module installed, you can use this command instead:
pip install --upgrade ndex2
Resources
The NDEx2 Python Client documentation is available on Read the Docs.
Please refer to our Jupyter Notebook Tutorials GitHub repository for code examples to work with networks using the NDEx2 Python Client and NiceCX object class.
License
See LICENSE.txt
- Installation
- Quick Tutorial
- Download network from NDEx
- Upload new network to NDEx
- Update network on NDEx
- Load CX2 file or CX2-JSON to create CX2 Network
- Add nodes, edges, and attributes to network
- Annotate CX2Network objects
- Iterate Over Nodes, Edges, and View Attributes
- Build a lookup table for node names to node ids
- Convert NiceCXNetwork to CX2Network
- More Tutorials and Examples
- Advanced Tutorial
- Reference
- License
- History