SpiNNUtilities


NameSpiNNUtilities JSON
Version 1!7.1.0 PyPI version JSON
download
home_pagehttps://github.com/SpiNNakerManchester/SpiNNUtils
SummaryUtility classes and functions for SpiNNaker projects
upload_time2023-10-02 09:18:34
maintainerSpiNNakerTeam
docs_urlNone
author
requires_python<4,>=3.7
licenseApache-2.0
keywords spinnaker utilities
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
SpiNNUtils
==========
This provides basic utility functions and classes to other parts of SpiNNaker's
tooling. Nothing in here knows anything about SpiNNaker functionality.


`spinn_utilities.abstract_base`
-------------------------------
Provides a simplified (and faster) version of the standard Python Abstract
Base Class functionality.

`spinn_utilities.conf_loader`
-----------------------------
The structure to handle loading of SpiNNaker-style configuration files.

`spinn_utilities.executable_finder`
-----------------------------------
Utility for discovering executables to load onto SpiNNaker nodes.

`spinn_utilities.helpful_functions`
-----------------------------------
Miscellaneous bits.

`spinn_utilities.ordered_set`
-----------------------------
A set class where the elements have an order defined by when they were
inserted.

`spinn_utilities.overrides`
---------------------------
Decorator for declaring where a method overrides another method.

`spinn_utilities.progress_bar`
------------------------------
Generalised progress bar printer.

`spinn_utilities.socket_address`
--------------------------------
Holder for the locations of network resources.

`spinn_utilities.timer`
-----------------------
General code timer utility.

Generating Aggregated Citation Files
====================================
The `spinn_utilities.citation.citation_aggregator` module can be executed to generate a .cff file consisting of the Citation.cff file from the given top-level module, plus references made up from the dependencies of the top-level module.  If these dependencies have .cff files themselves, the references will contain the information from those files, otherwise it will use the version number and name of the module as a reference.  The tool can also create a DOI for the version of the tools in use which can then be cited.  This makes use of the Zenodo service.

To use the tool, run the following after installing SpiNNUtils:

```
python -m spinn_utilities.citation.citation_aggregator [-h] [--create_doi] [--publish_doi] [--doi_title DOI_TITLE] [--previous_doi PREVIOUS_DOI] [--zenodo_access_token ZENODO_ACCESS_TOKEN] output_path top_module

positional arguments:
  output_path           The file to store the result in
  top_module            The module to start with

optional arguments:
  -h, --help                                 show this help message and exit
  --create_doi                               Create a DOI from the resulting citation on Zenodo
  --publish_doi                              Publish the DOI created
  --doi_title DOI_TITLE                      The title to give the created DOI
  --previous_doi PREVIOUS_DOI                The DOI this is a newer version of
  --zenodo_access_token ZENODO_ACCESS_TOKEN  Access token for Zenodo
```

Documentation
=============
[SpiNNUtils python documentation](http://spinnutils.readthedocs.io/en/7.1.0)

[Combined python documentation](http://spinnakermanchester.readthedocs.io/en/7.1.0)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SpiNNakerManchester/SpiNNUtils",
    "name": "SpiNNUtilities",
    "maintainer": "SpiNNakerTeam",
    "docs_url": null,
    "requires_python": "<4,>=3.7",
    "maintainer_email": "spinnakerusers@googlegroups.com",
    "keywords": "spinnaker,utilities",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/23/5f/3c508c104d1a7bf41b897a9a68fac1e75b43f6233cffe823b6f601675f76/SpiNNUtilities-1!7.1.0.tar.gz",
    "platform": null,
    "description": "\nSpiNNUtils\n==========\nThis provides basic utility functions and classes to other parts of SpiNNaker's\ntooling. Nothing in here knows anything about SpiNNaker functionality.\n\n\n`spinn_utilities.abstract_base`\n-------------------------------\nProvides a simplified (and faster) version of the standard Python Abstract\nBase Class functionality.\n\n`spinn_utilities.conf_loader`\n-----------------------------\nThe structure to handle loading of SpiNNaker-style configuration files.\n\n`spinn_utilities.executable_finder`\n-----------------------------------\nUtility for discovering executables to load onto SpiNNaker nodes.\n\n`spinn_utilities.helpful_functions`\n-----------------------------------\nMiscellaneous bits.\n\n`spinn_utilities.ordered_set`\n-----------------------------\nA set class where the elements have an order defined by when they were\ninserted.\n\n`spinn_utilities.overrides`\n---------------------------\nDecorator for declaring where a method overrides another method.\n\n`spinn_utilities.progress_bar`\n------------------------------\nGeneralised progress bar printer.\n\n`spinn_utilities.socket_address`\n--------------------------------\nHolder for the locations of network resources.\n\n`spinn_utilities.timer`\n-----------------------\nGeneral code timer utility.\n\nGenerating Aggregated Citation Files\n====================================\nThe `spinn_utilities.citation.citation_aggregator` module can be executed to generate a .cff file consisting of the Citation.cff file from the given top-level module, plus references made up from the dependencies of the top-level module.  If these dependencies have .cff files themselves, the references will contain the information from those files, otherwise it will use the version number and name of the module as a reference.  The tool can also create a DOI for the version of the tools in use which can then be cited.  This makes use of the Zenodo service.\n\nTo use the tool, run the following after installing SpiNNUtils:\n\n```\npython -m spinn_utilities.citation.citation_aggregator [-h] [--create_doi] [--publish_doi] [--doi_title DOI_TITLE] [--previous_doi PREVIOUS_DOI] [--zenodo_access_token ZENODO_ACCESS_TOKEN] output_path top_module\n\npositional arguments:\n  output_path           The file to store the result in\n  top_module            The module to start with\n\noptional arguments:\n  -h, --help                                 show this help message and exit\n  --create_doi                               Create a DOI from the resulting citation on Zenodo\n  --publish_doi                              Publish the DOI created\n  --doi_title DOI_TITLE                      The title to give the created DOI\n  --previous_doi PREVIOUS_DOI                The DOI this is a newer version of\n  --zenodo_access_token ZENODO_ACCESS_TOKEN  Access token for Zenodo\n```\n\nDocumentation\n=============\n[SpiNNUtils python documentation](http://spinnutils.readthedocs.io/en/7.1.0)\n\n[Combined python documentation](http://spinnakermanchester.readthedocs.io/en/7.1.0)\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Utility classes and functions for SpiNNaker projects",
    "version": "1!7.1.0",
    "project_urls": {
        "Homepage": "https://github.com/SpiNNakerManchester/SpiNNUtils"
    },
    "split_keywords": [
        "spinnaker",
        "utilities"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cea3244d5941e2ae2824e449b214fbc0d5c34012ed4d0c724b9d8fbd1ef26011",
                "md5": "1b68033a78e0fd816fbb529815d581cb",
                "sha256": "c55dbbbc5f7f22c4bf9c7f9aa9b4985a725bf53d67bcc1261c0c93a6315fbe72"
            },
            "downloads": -1,
            "filename": "SpiNNUtilities-1!7.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1b68033a78e0fd816fbb529815d581cb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.7",
            "size": 123298,
            "upload_time": "2023-10-02T09:18:31",
            "upload_time_iso_8601": "2023-10-02T09:18:31.894483Z",
            "url": "https://files.pythonhosted.org/packages/ce/a3/244d5941e2ae2824e449b214fbc0d5c34012ed4d0c724b9d8fbd1ef26011/SpiNNUtilities-1!7.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "235f3c508c104d1a7bf41b897a9a68fac1e75b43f6233cffe823b6f601675f76",
                "md5": "266d1c05a9dcdd0c71a76a0e95f375f5",
                "sha256": "9abfc0e299f06bdf30d61b36d3b8c8b73ada625611cb7ce7eb0b124d90f7f882"
            },
            "downloads": -1,
            "filename": "SpiNNUtilities-1!7.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "266d1c05a9dcdd0c71a76a0e95f375f5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.7",
            "size": 78601,
            "upload_time": "2023-10-02T09:18:34",
            "upload_time_iso_8601": "2023-10-02T09:18:34.027796Z",
            "url": "https://files.pythonhosted.org/packages/23/5f/3c508c104d1a7bf41b897a9a68fac1e75b43f6233cffe823b6f601675f76/SpiNNUtilities-1!7.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-02 09:18:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SpiNNakerManchester",
    "github_project": "SpiNNUtils",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "spinnutilities"
}
        
Elapsed time: 0.14109s