py4cytoscape


Namepy4cytoscape JSON
Version 1.9.0 PyPI version JSON
download
home_pagehttps://github.com/cytoscape/py4cytoscape
SummaryCytoscape Automation API
upload_time2023-12-27 15:50:56
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/30/99/dc4c415802de6b2b18f3f43292018e3ed7ed212a26122c72bd93c722d410/py4cytoscape-1.9.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.9.0",
    "project_urls": {
        "Homepage": "https://github.com/cytoscape/py4cytoscape"
    },
    "split_keywords": [
        "data visualization",
        "visualization",
        "cytoscape",
        "bioinformatics",
        "graph",
        "network"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dad9d04671d8e9b7ac40e01b13869ab2c96a2be5cf15361404f7d1ff30f839e8",
                "md5": "6defd966785345c8baca04bb412664d6",
                "sha256": "7e9088832d49489406d1933596225256652c9d58f1d1ee097fea50762bd70dca"
            },
            "downloads": -1,
            "filename": "py4cytoscape-1.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6defd966785345c8baca04bb412664d6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 180520,
            "upload_time": "2023-12-27T15:50:54",
            "upload_time_iso_8601": "2023-12-27T15:50:54.922945Z",
            "url": "https://files.pythonhosted.org/packages/da/d9/d04671d8e9b7ac40e01b13869ab2c96a2be5cf15361404f7d1ff30f839e8/py4cytoscape-1.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3099dc4c415802de6b2b18f3f43292018e3ed7ed212a26122c72bd93c722d410",
                "md5": "0c74e90afb982d2f9d50ace856fbbaf9",
                "sha256": "ebf214c5888497ecb9db0c166f6e66123e49402522f7058fe1169b87307e8512"
            },
            "downloads": -1,
            "filename": "py4cytoscape-1.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0c74e90afb982d2f9d50ace856fbbaf9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 245394,
            "upload_time": "2023-12-27T15:50:56",
            "upload_time_iso_8601": "2023-12-27T15:50:56.484679Z",
            "url": "https://files.pythonhosted.org/packages/30/99/dc4c415802de6b2b18f3f43292018e3ed7ed212a26122c72bd93c722d410/py4cytoscape-1.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-27 15:50:56",
    "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.17054s