Skip to main content

jaxley-mech

A Jaxley-based library of ion channels and synapses for biophysical neuron models.

Installation

jaxley-mech is available on PyPI:

pip install jaxley-mech

or you can clone the repository and install it via pip's "editable" mode:

git clone git@github.com:jaxleyverse/jaxley-mech.git
pip install -e jaxley-mech

Usage

See the notebooks folder for usage examples.

First author last names and year abbreviations for the papers in which mechanism models are first described are used as the file names in cases where more than one mechanism is included or multiple implementations exist. For single mechanisms, e.g. the ribbon synapse model, the file is simply named ribbon.py.

To view available mechanisms and filter them by species, cell type, reference, etc., it is possible to run the following code:

import jaxley_mech as jm
print(jm.find_channel()) # shows metadata of the available channels
print(jm.find_channel(ion="K", species="rat")) # shows metadata of channels with these properties

all_synapses = jm.find_synapse()
print(all_synapses.reference) # shows the references of all synapses

Metadata

Release files for jaxley-mech 0.3.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 jaxley-mech 0.3.1
File Size Uploaded
jaxley_mech-0.3.1.tar.gz 41.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jaxley-mech 0.3.1
File Interpreter ABI Platform
jaxley_mech-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 97.5 kB

Release files / jaxley_mech-0.3.1.tar.gz

Download URL jaxley_mech-0.3.1.tar.gz
Size 41.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd46cb2f02d1f76af56406ef83c464b6f9fc9742625cd88371a1923e14f601e8
BLAKE2b-256 checksum
How to use checksums
87cf950acda0f61bfdf95343644e57be323b97028edbb6ce83ecfd06a57aad45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2025.

Transparency log

Release files / jaxley_mech-0.3.1-py3-none-any.whl

Download URL jaxley_mech-0.3.1-py3-none-any.whl
Size 56.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc5eda21c8521e32795526f9f85ca52941899449b0a491d3ffdb321f3f0c8cbd
BLAKE2b-256 checksum
How to use checksums
86a1d11bf6853f19eee78b057d8fcee694cea3929165f028852f7923462d2c2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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