py4cytoscape


Namepy4cytoscape JSON
Version 1.11.0 PyPI version JSON
download
home_pagehttps://github.com/cytoscape/py4cytoscape
SummaryCytoscape Automation API
upload_time2024-09-29 22:20:41
maintainerBarry Demchak
docs_urlNone
authorBarry Demchak
requires_python>=3.8
licenseMIT License
keywords data visualization visualization cytoscape bioinformatics graph network
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # py4cytoscape

This project recreates the [R-based ``RCy3`` Cytoscape Automation library](https://github.com/cytoscape/RCy3) 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](https://github.com/cytoscape/py2cytoscape)) has different features than the Cytoscape R library, and is therefore deprecated.

Additionally, this project attempts to maintain the same [function signatures](https://docs.google.com/spreadsheets/d/1XLWsKxGLqcBWLzoW2y6HyAUU2jMXaEaWw7QLn3NE5nY/edit#gid=1999503690), 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](https://docs.google.com/spreadsheets/d/1XLWsKxGLqcBWLzoW2y6HyAUU2jMXaEaWw7QLn3NE5nY/edit?usp=sharing). 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](https://docs.google.com/spreadsheets/d/1uhBTbOMI4QMKUpLaOTuf6BP5wgqU6-pOzkj6BNmC4CY/edit?usp=sharing). 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](https://py4cytoscape.readthedocs.io/en/latest/).

# Quick Start

The quickest way to see ``py4cytoscape`` in action is via the [Overview of py4cytoscape](https://github.com/cytoscape/cytoscape-automation/blob/master/for-scripters/Python/Overview-of-py4cytoscape.ipynb) 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](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](https://github.com/cytoscape/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](LOGGING.rst) file.

## How to build and release

``py4cytoscape`` maintainers can build a new release using the process in [BUILDING.rst](BUILDING.rst).

## How to test

``py4cytoscape`` has extensive test suites. Maintainers can learn more about testing in the [TESTING.rst](TESTING.rst) file.

 
 


## License

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cytoscape/py4cytoscape",
    "name": "py4cytoscape",
    "maintainer": "Barry Demchak",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "bdemchak@ucsd.edu",
    "keywords": "data visualization, visualization, cytoscape, bioinformatics, graph, network",
    "author": "Barry Demchak",
    "author_email": "bdemchak@ucsd.edu",
    "download_url": "https://files.pythonhosted.org/packages/83/4c/1df6abdfa07f9f6f4d949b7883e4dee751651eaf6e1e92572f46deddce5c/py4cytoscape-1.11.0.tar.gz",
    "platform": null,
    "description": "# py4cytoscape\r\n\r\nThis project recreates the [R-based ``RCy3`` Cytoscape Automation library](https://github.com/cytoscape/RCy3) 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](https://github.com/cytoscape/py2cytoscape)) has different features than the Cytoscape R library, and is therefore deprecated.\r\n\r\nAdditionally, this project attempts to maintain the same [function signatures](https://docs.google.com/spreadsheets/d/1XLWsKxGLqcBWLzoW2y6HyAUU2jMXaEaWw7QLn3NE5nY/edit#gid=1999503690), return values, function implementation and module structure as the RCy3, thereby enabling smooth maintenance and evolution of both ``RCy3`` and ``py4cytoscape``.\r\n\r\nThis project uses PyCharm because of its excellent code management and debugging features.\r\n\r\nOver 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](https://docs.google.com/spreadsheets/d/1XLWsKxGLqcBWLzoW2y6HyAUU2jMXaEaWw7QLn3NE5nY/edit?usp=sharing). The API is versioned, and you can see which API version RCy3 or py4cytoscape implements by executing the cytoscape_version_info() or cytoscapeVersionInfo() function.\r\n\r\nAn overall scorecard comparing Py2Cytoscape, ``RCy3`` and ``py4cytoscape`` can be found [here](https://docs.google.com/spreadsheets/d/1uhBTbOMI4QMKUpLaOTuf6BP5wgqU6-pOzkj6BNmC4CY/edit?usp=sharing). Pay close attention to columns E and F, which show how much of RCy3 is reflected in py4cytoscape.\r\n\r\n\r\n# Documentation\r\n\r\nTo understand the API structure and see calling examples, see the ``py4cytoscape`` [documentation](https://py4cytoscape.readthedocs.io/en/latest/).\r\n\r\n# Quick Start\r\n\r\nThe quickest way to see ``py4cytoscape`` in action is via the [Overview of py4cytoscape](https://github.com/cytoscape/cytoscape-automation/blob/master/for-scripters/Python/Overview-of-py4cytoscape.ipynb) Jupyter-based workflow.\r\n\r\nYou 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. \r\n\r\nYou can follow the notes in the Jupyter Notebook as the workflow automates Cytoscape execution.\r\n \r\n## How to install and test\r\n\r\nFor an explanation of ``py4cytoscape`` installation and testing, see the [INSTALL.rst](INSTALL.rst) file.\r\n\r\n## How to learn more about ``py4cytoscape``\r\n\r\nA broad set of Cytoscape Automation samples and tutorials is available on the [Cytoscape Automation Wiki](https://github.com/cytoscape/cytoscape-automation/wiki).\r\n\r\n## How to configure logging\r\n\r\n``py4cytoscape`` logging is based on the Python ``logging`` package, which is based on the Java ``logging`` framework. \r\n\r\nFor an explanation of log configuration and use, see the [LOGGING.rst](LOGGING.rst) file.\r\n\r\n## How to build and release\r\n\r\n``py4cytoscape`` maintainers can build a new release using the process in [BUILDING.rst](BUILDING.rst).\r\n\r\n## How to test\r\n\r\n``py4cytoscape`` has extensive test suites. Maintainers can learn more about testing in the [TESTING.rst](TESTING.rst) file.\r\n\r\n \r\n \r\n\r\n\r\n## License\r\n\r\n``py4cytoscape`` is released under the MIT License (see [LICENSE.rst](LICENSE.rst) file):\r\n\r\n```\r\n    Copyright (c) 2018-2022 The Cytoscape Consortium\r\n    Barry Demchak <bdemchak@ucsd.edu>\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Cytoscape Automation API",
    "version": "1.11.0",
    "project_urls": {
        "Homepage": "https://github.com/cytoscape/py4cytoscape"
    },
    "split_keywords": [
        "data visualization",
        " visualization",
        " cytoscape",
        " bioinformatics",
        " graph",
        " network"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "132df3877b53e95102064c5f6767bb83e5c337cbbf80563c9f3acb44c51ad1e1",
                "md5": "260904115e44c411fdab3e906573b451",
                "sha256": "59a8611e02734dd3868476b457202f07d05880dc2ae30801f947765b90e94303"
            },
            "downloads": -1,
            "filename": "py4cytoscape-1.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "260904115e44c411fdab3e906573b451",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 181809,
            "upload_time": "2024-09-29T22:20:39",
            "upload_time_iso_8601": "2024-09-29T22:20:39.917884Z",
            "url": "https://files.pythonhosted.org/packages/13/2d/f3877b53e95102064c5f6767bb83e5c337cbbf80563c9f3acb44c51ad1e1/py4cytoscape-1.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "834c1df6abdfa07f9f6f4d949b7883e4dee751651eaf6e1e92572f46deddce5c",
                "md5": "fe4ac7d0e3dd15bf054c76921fb361d9",
                "sha256": "28596b2d78adb7a65aa9ae5dcf696c0e6d1d1e9ce0b3f85c423cceef36484114"
            },
            "downloads": -1,
            "filename": "py4cytoscape-1.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fe4ac7d0e3dd15bf054c76921fb361d9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 246772,
            "upload_time": "2024-09-29T22:20:41",
            "upload_time_iso_8601": "2024-09-29T22:20:41.575505Z",
            "url": "https://files.pythonhosted.org/packages/83/4c/1df6abdfa07f9f6f4d949b7883e4dee751651eaf6e1e92572f46deddce5c/py4cytoscape-1.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-29 22:20:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cytoscape",
    "github_project": "py4cytoscape",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "py4cytoscape"
}
        
Elapsed time: 0.34220s