tvb-framework


Nametvb-framework JSON
Version 2.8.2 PyPI version JSON
download
home_pagehttps://www.thevirtualbrain.org
SummaryA package for performing whole brain simulations
upload_time2023-09-19 08:26:52
maintainer
docs_urlNone
authorMihai Andrei, Lia Domide, Stuart Knock, Bogdan Neacsa, Paula Prodan, Paula Sansz Leon, Marmaduke Woodman
requires_python
licenseGPL-3.0-or-later
keywords tvb brain simulator neuroscience human animal neuronal dynamics models delay
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            TVB FRAMEWORK
=============

The Virtual Brain framework is a complete framework including:

-  a plugable workflow manager;
-  a data persistence layer (with a relational DB and File Storage);
-  an HTML5 based user interface;
-  visualizers for neuro-science related entities.

The easiest way to make use of this code, is to obtain
a Distribution of TVB with Python and all the necessary packages linked,
and then clone this repo nearby. More details `in our
documentation <http://docs.thevirtualbrain.org/manuals/ContributorsManual/ContributorsManual.html>`__.

Alternatively, if you plan to develop long term with TVB, extensively
modify code, add new dependencies, or you simply prefer to use your own
Python installation, you may want to read this:
`here <http://docs.thevirtualbrain.org/manuals/ContributorsManual/ContributorsManual.html#the-unaided-setup>`__.

If you don't require the framework features listed above, the simulator
and associated scientific modules can be used independently; please see
the `tvb-library <https://github.com/the-virtual-brain/tvb-root/tree/master/tvb_library>`__
folder.

Framework structure
-------------------

::

    tvb-gdist
        |
        |
    tvb-library     tvb-data
          \          /
            \       /
            tvb.config
                |
                |
            tvb.core
                |
                |
            tvb.adapters
                |
                |
            tvb.config.init
                |
                |
            tvb.interfaces

**tvb-data** should be installed from **Zenodo**: https://zenodo.org/record/8331301.
After download, unzip and execute `python setup.py develop` in the correct env.

Usage
-----

To use TVB code, clone from GitHub (https://github.com/the-virtual-brain/tvb-root), or get from Pypi::

    pip install tvb-framework
    python -m tvb.interfaces.web.run WEB_PROFILE tvb.config


Your port **8080** should be free, as a CherryPy service will try to run there.
Your default browser should automatically open http://localhost:8080/ which is the way to
interact with TVB Web Interface.

Testing
=======

For testing the package, the `Pytest  <https://docs.pytest.org/>`_
framework is used. Pytest can be installed using pip.

In addition to tvb-framework needed just for
launching the web, tests require few extra dependencies just for test (e.g. pytest-benchmark), which
need to be installed manually. The entire list of these dependencies for testing is found in `tvb_framework/setup.py`
under **extras_require**.

Pytest will run all files in the current directory and its subdirectories
of the form test_*.py or \*_test.py.
More generally, it follows `standard test discovery rules
<https://docs.pytest.org/en/latest/getting-started.html>`_

The command for running our tests has two forms.
Recommendation when working with a git clone of tvb-framework::

    cd [folder_where_tvb_framework_is]
    pytest tvb/test/framework [--profile=TEST_POSTGRES_PROFILE] [--junitxml=path]
    # default profile value is TEST_SQLITE_PROFILE

The second alternative form of running TVB tests, when installing TVB from Pypi, is::

    pip install -U tvb-framework
    pytest --pyargs tvb.tests.framework


Coverage
========

A coverage report can be generated with::

    pip install pytest-cov
    cd [folder_where_tvb_framework_is]
    py.test --cov=tvb tvb/tests/ --cov-branch --cov-report xml:[file_where_xml_will_be_generated]


Further Resources
=================

-  For issue tracking we are using Jira: http://req.thevirtualbrain.org
-  For API documentation and live demos, have a look here:
   http://docs.thevirtualbrain.org
-  A public mailing list for users of The Virtual Brain can be joined
   and followed using: tvb-users@googlegroups.com
-  Raw demo IPython Notebooks can be found under:
   https://github.com/the-virtual-brain/tvb-root/tree/master/tvb_documentation/demos


Acknowledgments
===============
This project has received funding from the European Union’s Horizon 2020 Framework Programme for Research and
Innovation under the Specific Grant Agreement Nos. 785907 (Human Brain Project SGA2), 945539 (Human Brain Project SGA3)
and VirtualBrainCloud 826421.

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.thevirtualbrain.org",
    "name": "tvb-framework",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "tvb brain simulator neuroscience human animal neuronal dynamics models delay",
    "author": "Mihai Andrei, Lia Domide, Stuart Knock, Bogdan Neacsa, Paula Prodan, Paula Sansz Leon, Marmaduke Woodman",
    "author_email": "tvb.admin@thevirtualbrain.org",
    "download_url": "https://files.pythonhosted.org/packages/76/5a/5fd83f810da8c9c02b0397811e631676365f79cb14e1ffdab4ac9bb6d3b3/tvb-framework-2.8.2.tar.gz",
    "platform": null,
    "description": "TVB FRAMEWORK\n=============\n\nThe Virtual Brain framework is a complete framework including:\n\n-  a plugable workflow manager;\n-  a data persistence layer (with a relational DB and File Storage);\n-  an HTML5 based user interface;\n-  visualizers for neuro-science related entities.\n\nThe easiest way to make use of this code, is to obtain\na Distribution of TVB with Python and all the necessary packages linked,\nand then clone this repo nearby. More details `in our\ndocumentation <http://docs.thevirtualbrain.org/manuals/ContributorsManual/ContributorsManual.html>`__.\n\nAlternatively, if you plan to develop long term with TVB, extensively\nmodify code, add new dependencies, or you simply prefer to use your own\nPython installation, you may want to read this:\n`here <http://docs.thevirtualbrain.org/manuals/ContributorsManual/ContributorsManual.html#the-unaided-setup>`__.\n\nIf you don't require the framework features listed above, the simulator\nand associated scientific modules can be used independently; please see\nthe `tvb-library <https://github.com/the-virtual-brain/tvb-root/tree/master/tvb_library>`__\nfolder.\n\nFramework structure\n-------------------\n\n::\n\n    tvb-gdist\n        |\n        |\n    tvb-library     tvb-data\n          \\          /\n            \\       /\n            tvb.config\n                |\n                |\n            tvb.core\n                |\n                |\n            tvb.adapters\n                |\n                |\n            tvb.config.init\n                |\n                |\n            tvb.interfaces\n\n**tvb-data** should be installed from **Zenodo**: https://zenodo.org/record/8331301.\nAfter download, unzip and execute `python setup.py develop` in the correct env.\n\nUsage\n-----\n\nTo use TVB code, clone from GitHub (https://github.com/the-virtual-brain/tvb-root), or get from Pypi::\n\n    pip install tvb-framework\n    python -m tvb.interfaces.web.run WEB_PROFILE tvb.config\n\n\nYour port **8080** should be free, as a CherryPy service will try to run there.\nYour default browser should automatically open http://localhost:8080/ which is the way to\ninteract with TVB Web Interface.\n\nTesting\n=======\n\nFor testing the package, the `Pytest  <https://docs.pytest.org/>`_\nframework is used. Pytest can be installed using pip.\n\nIn addition to tvb-framework needed just for\nlaunching the web, tests require few extra dependencies just for test (e.g. pytest-benchmark), which\nneed to be installed manually. The entire list of these dependencies for testing is found in `tvb_framework/setup.py`\nunder **extras_require**.\n\nPytest will run all files in the current directory and its subdirectories\nof the form test_*.py or \\*_test.py.\nMore generally, it follows `standard test discovery rules\n<https://docs.pytest.org/en/latest/getting-started.html>`_\n\nThe command for running our tests has two forms.\nRecommendation when working with a git clone of tvb-framework::\n\n    cd [folder_where_tvb_framework_is]\n    pytest tvb/test/framework [--profile=TEST_POSTGRES_PROFILE] [--junitxml=path]\n    # default profile value is TEST_SQLITE_PROFILE\n\nThe second alternative form of running TVB tests, when installing TVB from Pypi, is::\n\n    pip install -U tvb-framework\n    pytest --pyargs tvb.tests.framework\n\n\nCoverage\n========\n\nA coverage report can be generated with::\n\n    pip install pytest-cov\n    cd [folder_where_tvb_framework_is]\n    py.test --cov=tvb tvb/tests/ --cov-branch --cov-report xml:[file_where_xml_will_be_generated]\n\n\nFurther Resources\n=================\n\n-  For issue tracking we are using Jira: http://req.thevirtualbrain.org\n-  For API documentation and live demos, have a look here:\n   http://docs.thevirtualbrain.org\n-  A public mailing list for users of The Virtual Brain can be joined\n   and followed using: tvb-users@googlegroups.com\n-  Raw demo IPython Notebooks can be found under:\n   https://github.com/the-virtual-brain/tvb-root/tree/master/tvb_documentation/demos\n\n\nAcknowledgments\n===============\nThis project has received funding from the European Union\u2019s Horizon 2020 Framework Programme for Research and\nInnovation under the Specific Grant Agreement Nos. 785907 (Human Brain Project SGA2), 945539 (Human Brain Project SGA3)\nand VirtualBrainCloud 826421.\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "A package for performing whole brain simulations",
    "version": "2.8.2",
    "project_urls": {
        "Download": "https://github.com/the-virtual-brain/tvb-root",
        "Homepage": "https://www.thevirtualbrain.org"
    },
    "split_keywords": [
        "tvb",
        "brain",
        "simulator",
        "neuroscience",
        "human",
        "animal",
        "neuronal",
        "dynamics",
        "models",
        "delay"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be3cef8549eceb7d3a6bf67122d92b6ae2e6674b697c440655c56c49325a2520",
                "md5": "f01cd90e3a1d04d7fe73e5f5997216a0",
                "sha256": "5ff4304c2e67c96d36886bb735a1d939da3779ca48a9a88d664c1b04481bd5b1"
            },
            "downloads": -1,
            "filename": "tvb_framework-2.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f01cd90e3a1d04d7fe73e5f5997216a0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11281815,
            "upload_time": "2023-09-19T08:26:14",
            "upload_time_iso_8601": "2023-09-19T08:26:14.324462Z",
            "url": "https://files.pythonhosted.org/packages/be/3c/ef8549eceb7d3a6bf67122d92b6ae2e6674b697c440655c56c49325a2520/tvb_framework-2.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "765a5fd83f810da8c9c02b0397811e631676365f79cb14e1ffdab4ac9bb6d3b3",
                "md5": "350d643f8fac6931ec6364e27adae6f7",
                "sha256": "00f4bdfc9faccf2df1a95695e231d7d4890cbf5ca7eac0474d52b976a51d91d5"
            },
            "downloads": -1,
            "filename": "tvb-framework-2.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "350d643f8fac6931ec6364e27adae6f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10089599,
            "upload_time": "2023-09-19T08:26:52",
            "upload_time_iso_8601": "2023-09-19T08:26:52.771284Z",
            "url": "https://files.pythonhosted.org/packages/76/5a/5fd83f810da8c9c02b0397811e631676365f79cb14e1ffdab4ac9bb6d3b3/tvb-framework-2.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-19 08:26:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "the-virtual-brain",
    "github_project": "tvb-root",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "tvb-framework"
}
        
Elapsed time: 0.11102s