Skip to main content

The Python interface to the 64-bit Son library

Project description

SonPy is a Python module that provides an interface to the 64 bit SON filing system, provided and maintained by CED. With it, you can read, write and create Spike2 data files from within Python.

SonPy is available for Python 3 only, starting with 3.7 It is provided for 32- and 64-bit versions of Windows 10, MacOS 10.15 (Catalina) and later, and Linux distros based on Debian (e.g. Ubuntu). We expect it to be very portable, working on later versions of each OS, but we cannot guarantee this to be the case. It is provided ‘as is’ with no warranty.

You can install the latest version of SonPy from PyPI with: “pip install sonpy”. This should install the numpy dependency. The example files also use matplotlib, which is not included by default but can be pip installed, and tkinter, which should come already packaged with relevant versions of Python.

There is documentation and a few example files provided with SonPy, but to summarise: * Because of cross-platform requirements, the actual SonPy library is the sub-package sonpy.lib * The test scripts are available in the installation directory, and can be invoked within Python with “import sonpy.ExampleName”. More information is provided in the included documentation. They are not laid out for any particular use case, but are simply provided in order to show some of the objects, functions, enumerations etc. in the SonPy module. * Detailed documentation is provided in the module installation directory, as well as the help that is available from within Python by calling help(sonpy). Note that the detailed documentation is not Pythonic, as it has been compiled from C++ source code. We have endeavoured to make sure that all names have been maintained in the binding code, but we cannot guarantee that every name in the help pages matches the internal Python help, which will always have the correct names.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sonpy-1.9.5-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file sonpy-1.9.5-py3-none-any.whl.

File metadata

  • Download URL: sonpy-1.9.5-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for sonpy-1.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 852160cc4eb59cc2194c37fca42aa8daee43f90b188c501989af4edd368b5a9e
MD5 dad4f9d87fa14a7368c0cc7ed5aced30
BLAKE2b-256 e5202b960e67218fbf7179232faf7df12966308e0cb71794caba0301ab64d9e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page