Skip to main content

py4cytoscape

This project recreates the R-based RCy3 Cytoscape Automation library as a Python package. The idea is to allow a Cytoscape workflow to be written in one language (R or Python) and translated to another language (Python or R) without having to learn different Cytoscape interfaces. The previous Cytoscape Python interface (Py2Cytoscape) has different features than the Cytoscape R library, and is therefore deprecated.

Additionally, this project attempts to maintain the same function signatures, return values, function implementation and module structure as the RCy3, thereby enabling smooth maintenance and evolution of both RCy3 and py4cytoscape.

This project uses PyCharm because of its excellent code management and debugging features.

Over time, py4cytoscape functionality should match RCy3 functionality. Once that occurs, novel Py2Cytoscape functions will be added to both as appropriate. The official Automation API definition met by both RCy3 and py4cytoscape is here. The API is versioned, and you can see which API version RCy3 or py4cytoscape implements by executing the cytoscape_version_info() or cytoscapeVersionInfo() function.

An overall scorecard comparing Py2Cytoscape, RCy3 and py4cytoscape can be found here. Pay close attention to columns E and F, which show how much of RCy3 is reflected in py4cytoscape.

Documentation

To understand the API structure and see calling examples, see the py4cytoscape documentation.

Quick Start

The quickest way to see py4cytoscape in action is via the Overview of py4cytoscape Jupyter-based workflow.

You can avoid installing Python or py4cytoscape by clicking on the Open in Colab button, and running the Python workflow in the Google Cloud, though you will still have to install Cytoscape on your workstation.

You can follow the notes in the Jupyter Notebook as the workflow automates Cytoscape execution.

How to install and test

For an explanation of py4cytoscape installation and testing, see the INSTALL.rst file.

How to learn more about py4cytoscape

A broad set of Cytoscape Automation samples and tutorials is available on the Cytoscape Automation Wiki.

How to configure logging

py4cytoscape logging is based on the Python logging package, which is based on the Java logging framework.

For an explanation of log configuration and use, see the LOGGING.rst file.

How to build and release

py4cytoscape maintainers can build a new release using the process in BUILDING.rst.

How to test

py4cytoscape has extensive test suites. Maintainers can learn more about testing in the TESTING.rst file.

License

py4cytoscape is released under the MIT License (see LICENSE.rst file):

    Copyright (c) 2018-2022 The Cytoscape Consortium
    Barry Demchak <bdemchak@ucsd.edu>

Metadata

Release files for py4cytoscape 1.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py4cytoscape 1.13.0
File Size Uploaded
py4cytoscape-1.13.0.tar.gz 249.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py4cytoscape 1.13.0
File Interpreter ABI Platform
py4cytoscape-1.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 445.2 kB

Release files / py4cytoscape-1.13.0.tar.gz

Download URL py4cytoscape-1.13.0.tar.gz
Size 249.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ddf29f3e668eff5a210c819e8b52928d09bc3480801b28d1c19820ccb2a430a5
BLAKE2b-256 checksum
How to use checksums
5c7ae9729b2728ff1b2b81e045620e3662d9305632c81c6ae92de1f3e3469e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / py4cytoscape-1.13.0-py3-none-any.whl

Download URL py4cytoscape-1.13.0-py3-none-any.whl
Size 196.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60341e5201adb3286a3cc09dcfd42a1faa4571b69a4796f9ce0fd1356fb78df7
BLAKE2b-256 checksum
How to use checksums
a431ed757bbba7f33bade5316812b6b3914be78364130fb0b61d7db89f1e39de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.13.0 This release

2 release files

1.12.0

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page