Skip to main content

PyPi version Python Actions Documentation Status Coverage Status

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

Combined python documentation

Metadata

Release files for SpiNNUtilities 1!7.4.1

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

Source distribution (sdist)

Source distribution for SpiNNUtilities 1!7.4.1
File Size Uploaded
spinnutilities-1!7.4.1.tar.gz 132.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SpiNNUtilities 1!7.4.1
File Interpreter ABI Platform
spinnutilities-1!7.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 309.2 kB

Release files / spinnutilities-1!7.4.1.tar.gz

Download URL spinnutilities-1!7.4.1.tar.gz
Size 132.2 kB
Tags Source
SHA-256 checksum
How to use checksums
318d54f07b4afe8cdd1003589efab2aa8a9ac75c3ed8922fa391fddc14588687
BLAKE2b-256 checksum
How to use checksums
81cefa7ddfababfd1e5e7f98368acb03b5914190d1243fbb162edcf85ac8b962
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / spinnutilities-1!7.4.1-py3-none-any.whl

Download URL spinnutilities-1!7.4.1-py3-none-any.whl
Size 177.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54af3767aea3fb21b7d5dd02ace08675a8acd420e183d61b6794c4859ce8b144
BLAKE2b-256 checksum
How to use checksums
04bfe8aa9ac360271b154d6b862a7f3110a4d55569fc99730bb78513d48d6d81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12
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