Skip to main content

pre-commit.ci status

OSS-DBSv2

This is the development version of the OSS-DBS rewrite. Use with caution and please wait for the first official release before deploying it. Bug reports are highly welcome, though!

Installation

OSS-DBS is tested with Python 3.8, 3.9, 3.10, and 3.11.

Windows users and Mac users with Python 3.8: Please install NEURON separately before installing OSS-DBS. The instructions can be found here.

All other users can run

pip install ossdbs

Developers

To install OSS-DBS, clone it into a local directory, cd into this directory and run

pip install -e .

To also run the test suite of OSS-DBS, run

pip install -e ".[test]"

To develop OSS-DBS, run

pip install -e ".[dev]"

To locally build the docs of OSS-DBS, run

pip install -e ".[doc]"

To do everything of the above, run

pip install -e ".[all]"

Run OSS-DBS

To run OSS-DBS, cd into the input_files directory, insert your parameters in the input.json and start the simulation with

ossdbs input.json

Also check out the examples directory and the documentation.

Development

The code development follows different coding styles that are checked by git pre-commit hooks. Install pre-commit via pip install pre-commit and run pre-commit install to activate it.

Testing

OSS-DBS has two types of tests:

Unit Tests (tests/): Fast, isolated tests that run on every push/PR.

pytest                    # Run all unit tests
pytest --cov              # With coverage

Simulation Tests (input_test_cases/): Full simulation tests that validate the complete pipeline. These run only on pull requests to avoid slowing down regular development.

pytest input_test_cases/test_simulations.py -m simulation      # All simulation tests
pytest input_test_cases/test_simulations.py -m "simulation and not slow"  # Fast only

See input_test_cases/README.md for detailed documentation on the simulation test suite, including how to add new tests.

Directory Structure

  • tests/ - Unit tests (run on every commit)
  • input_test_cases/ - Simulation tests (run on PR only)
  • input_files/ - Reference input files
  • examples/ - Example code for users (may be resource-intensive)

Release files for ossdbs 0.5.7

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

Source distribution (sdist)

Source distribution for ossdbs 0.5.7
File Size Uploaded
ossdbs-0.5.7.tar.gz 302.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ossdbs 0.5.7
File Interpreter ABI Platform
ossdbs-0.5.7-py3-none-any.whl Python 3 none any Details

Total release size: 525.1 kB

Release files / ossdbs-0.5.7.tar.gz

Download URL ossdbs-0.5.7.tar.gz
Size 302.3 kB
Tags Source
SHA-256 checksum
How to use checksums
43de562366429aa9b92e089893bfc85d3ee5693e97dd07117cd0afa682d53983
BLAKE2b-256 checksum
How to use checksums
5967d212198942e194bf26af562a601c0af3676474197225f33e52ec94149620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 31, 2026.

Transparency log

Release files / ossdbs-0.5.7-py3-none-any.whl

Download URL ossdbs-0.5.7-py3-none-any.whl
Size 222.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a829d4c8478bdf3212293789af60919bd6af164cf8687e8cb458fcc8bb559564
BLAKE2b-256 checksum
How to use checksums
56b2aac61cf8bbdd95b41a19363b63dce6cc3f804ddfb4eefcf9c47b17f750e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 31, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.8

2 release files

This release

0.5.7 This release

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.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