Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ The following people have contributed to PyNN. Their affiliations at the time of
* Rémy Cagnol [21]
* Lungsi Sharma [20]
* Alexandre Detiste
* Charl A.P. Linssen [16]
* Tom Gilke
* Goran Jelic-Cizmek [13]


1. Unité de Neuroscience, Information et Complexité, CNRS, Gif sur Yvette, France
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ your simulator, and are not restricted to the standard models.
- Bug reports: https://github.com/NeuralEnsemble/PyNN/issues


:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.

.. image:: https://github.com/NeuralEnsemble/PyNN/actions/workflows/full-test.yml/badge.svg
Expand Down
25 changes: 20 additions & 5 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"license": "https://spdx.org/licenses/CECILL-2.1",
"codeRepository": "https://github.com/NeuralEnsemble/PyNN",
"contIntegration": "https://github.com/NeuralEnsemble/PyNN/actions",
"dateModified": "2025-04-02",
"downloadUrl": "https://files.pythonhosted.org/packages/f2/04/371f66ed8175e41a3d5ee04d957f6253e378cc4616b485e4c6a1b9f27626/pynn-0.12.4.tar.gz",
"dateModified": "2026-05-06",
"downloadUrl": "https://github.com/NeuralEnsemble/PyNN/archive/refs/tags/0.13.0rc1.tar.gz",
"issueTracker": "https://github.com/NeuralEnsemble/PyNN/issues",
"name": "PyNN",
"version": "0.12.4",
"version": "0.13.0rc1",
"identifier": "RRID:SCR_002715",
"description": "PyNN (pronounced 'pine') is a simulator-independent language for building neuronal network models.\n\nIn other words, you can write the code for a model once, using the PyNN API and the Python programming language, and then run it without modification on any simulator that PyNN supports (currently NEURON, NEST and Brian 2) and on a number of neuromorphic hardware systems.\n\nThe PyNN API aims to support modelling at a high-level of abstraction (populations of neurons, layers, columns and the connections between them) while still allowing access to the details of individual neurons and synapses when required. PyNN provides a library of standard neuron, synapse and synaptic plasticity models, which have been verified to work the same on the different supported simulators. PyNN also provides a set of commonly-used connectivity algorithms (e.g. all-to-all, random, distance-dependent, small-world) but makes it easy to provide your own connectivity in a simulator-independent way.\n\nEven if you don't wish to run simulations on multiple simulators, you may benefit from writing your simulation code using PyNN's powerful, high-level interface. In this case, you can use any neuron or synapse model supported by your simulator, and are not restricted to the standard models.",
"applicationCategory": "neuroscience",
"releaseNotes": "http://neuralensemble.org/docs/PyNN/releases/0.12.4.html",
"releaseNotes": "http://neuralensemble.org/docs/PyNN/releases/0.13.0.html",
"funding": "https://cordis.europa.eu/project/id/945539",
"developmentStatus": "active",
"referencePublication": "https://doi.org/10.3389/neuro.11.011.2008",
Expand All @@ -24,7 +24,7 @@
"operatingSystem": ["Linux", "Windows", "macOS"],
"softwareRequirements": [
"at least one of the supported simulators: e.g. NEURON, NEST, or Brian.",
"Python (version 3.9-3.13)"
"Python (version 3.10-3.14)"
],
"relatedLink": [
"http://neuralensemble.org/docs/PyNN/",
Expand Down Expand Up @@ -191,6 +191,21 @@
"@type": "Person",
"givenName": "Alexandre",
"familyName": "Detiste"
},
{
"@type": "Person",
"givenName": "Charl A.P.",
"familyName": "Linssen"
},
{
"@type": "Person",
"givenName": "Tom",
"familyName": "Gilke"
},
{
"@type": "Person",
"givenName": "Goran",
"familyName": "Jelic-Cizmek"
}
]
}
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ class MockNESTModule(mock.Mock):
# General information about the project.
project = u'PyNN'
authors = u'the PyNN community'
copyright = u'2006-2024, ' + authors
copyright = u'2006-2026, ' + authors

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.12'
version = '0.13'
# The full version, including alpha/beta/rc tags.
release = '0.12.4'
release = '0.13.0rc1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions doc/release_notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release notes
.. toctree::
:maxdepth: 1

releases/0.13.0.txt
releases/0.12.4.txt
releases/0.12.3.txt
releases/0.12.2.txt
Expand Down
85 changes: 85 additions & 0 deletions doc/releases/0.13.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
=========================
PyNN 0.13.0 release notes
=========================

[release date]

Welcome to PyNN 0.13.0!

NESTML support
--------------

PyNN now supports NESTML_ neuron and synapse models with the NEST_ backend,
via the new :mod:`pyNN.nest.nestml` module.
The :func:`nestml_cell_type` and :func:`nestml_synapse_type` factory functions
allow you to define custom neuron and synapse models in NESTML and use them
as standard PyNN cell and synapse types, with full support for PyNN's
:class:`Population` and :class:`Projection` interfaces.
NESTML compilation is deferred to :func:`sim.setup()` for correct initialisation.

Many thanks to Charl Linssen for co-designing and co-implementing this.

To use NESTML models, install the optional dependency::

pip install PyNN[nestml]


NEURON 9 compatibility
----------------------

This release includes several fixes for compatibility with NEURON_ 9:

- Fixed extern declarations in :file:`vecstim.mod`.
- Fixed mod files for the C23 standard (thanks to Ankur Sinha, PR #819).
- Applied a compatibility patch for random number handling provided by
Goran Jelic-Cizmek.


NEST 3.10 compatibility
-----------------------

PyNN now supports NEST_ v3.10.


morphio is now optional
-----------------------

The morphio_ dependency is now optional. It is only required for models
that use morphologically detailed neuron descriptions. To install with
morphio support::

pip install PyNN[morphologies]


Python and NumPy version support
--------------------------------

We have dropped support for Python 3.9.
Python 3.14 has been added to the test matrix.
PyNN now works with NumPy 2.x.


Bug fixes
---------

- Fix a floating-point precision issue in pyNN.brian2 that could cause a
tiny negative run duration to be computed when resuming a simulation at
a time such as 12.7 ms (where floating-point arithmetic leaves the
internal time fractionally above the target).
- Fixed building of Arbor NMODL mechanisms.
- Fix handling of native Tsodyks synapse types with the NEST backend (issue #810):
``tau_psc`` is now only auto-copied from the post-synaptic neuron for the PyNN
standard ``TsodyksMarkramSynapse``, not for ``native_synapse_type``; fixes also
applied to ``tau_psc`` reading and inhibitory projection attribute access.
- Fix :meth:`StepCurrentSource.set_parameters()` when called after :func:`sim.run()`
with the NEST backend (issue #759): amplitude times were not adjusted relative to
the current biological time, causing NEST to silently ignore the current injection.
- Fix :class:`ParameterSpace` coercion of lists and arrays to the correct
``ArrayParameter`` subtype (e.g. ``Sequence``), fixing ``SpikeSourceArray``
population parameter assignment (issue #709).


.. _NESTML: https://nestml.readthedocs.io
.. _NEST: https://www.nest-simulator.org
.. _NEURON: https://neuron.yale.edu
.. _morphio: https://morphio.readthedocs.io
4 changes: 2 additions & 2 deletions pyNN/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
random
space

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

__version__ = '0.12.4'
__version__ = '0.13.0rc1'
__all__ = ["common", "random", "nest", "neuron", "brian2",
"recording", "errors", "space", "descriptions",
"standardmodels", "parameters", "core", "morphology",
Expand Down
2 changes: 1 addition & 1 deletion pyNN/arbor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This simulator implements the PyNN API, but generates random data rather than
really running simulations.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/arbor/standardmodels.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Standard cells for the Arbor module.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian2 implementation of the PyNN API.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/cells.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Definition of cell classes for the brian2 module.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.

"""
Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/control.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian 2 implementation of simulation control functions

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/populations.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian 2 implementation of Population, PopulationView and Assembly.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/procedural_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian 2 implementation of the "procedural" API

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/projections.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian 2 implementation of Projection

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/recording.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Brian 2 implementation of recording machinery.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
All other functions and classes are private, and should not be used by other
modules.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.

"""
Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/standardmodels/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Standard cells for the Brian2 module.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/standardmodels/electrodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ACSource -- a sine modulated current.
NoisyCurrentSource -- a Gaussian whitish noise current.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.

"""
Expand Down
2 changes: 1 addition & 1 deletion pyNN/brian2/standardmodels/synapses.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Standard cells for the Brian2 module.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
DEFAULT_TIMESTEP
DEFAULT_MIN_DELAY

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.

"""
Expand Down
2 changes: 1 addition & 1 deletion pyNN/common/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
is intended to be reused)
* function factories for generating backend-specific API functions.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/common/populations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

These base classes should be sub-classed by the backend-specific classes.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/common/procedural_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Alternative, procedural API for creating, connecting and recording from individual neurons

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/common/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Common implementation of the Projection class, to be sub-classed by
backend-specific Projection classes.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Simulator modules may use these directly, or may implement their own versions
for improved performance.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/core.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Assorted utility classes and functions.

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/descriptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
descriptions.DEFAULT_TEMPLATE_ENGINE = 'jinja2'


:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyNN/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
NotLocalError
RecordingError

:copyright: Copyright 2006-2024 by the PyNN team, see AUTHORS.
:copyright: Copyright 2006-2026 by the PyNN team, see AUTHORS.
:license: CeCILL, see LICENSE for details.
"""

Expand Down
Loading
Loading