Skip to main content

phylib

CI codecov.io

Electrophysiological data analysis library used by phy, a spike sorting visualization software, and ibllib.

Contribution

  • participation in phylib is governed by the project Code of Conduct
  • run all tests using pytest pytest phylib
  • PR to master
  • keep phylib/__init__.py on the next development version (for example, 2.7.1.dev0)
  • for a release, follow the steps below
  • after publishing, immediately bump phylib/__init__.py to the next .dev0 version

Release

Before merging the release PR, confirm maintainer approval and green CI. Update CHANGELOG.md with all changes since the previous release, replace the pending release date with the actual release date, and remove the .dev0 suffix from phylib/__init__.py.

Validate the final release checkout in a dedicated environment:

uv venv --python 3.12 .venv-release
uv pip install --python .venv-release -r requirements-dev.txt -e . setuptools build twine
.venv-release/bin/python -m flake8 phylib
.venv-release/bin/python -m pytest phylib

After the approved PR is merged, create an annotated tag from the merged release commit (for example, git tag -a 2.7.1 -m "phylib 2.7.1"). Build fresh artifacts from that tagged checkout into an empty output directory:

.venv-release/bin/python -m build --outdir dist/2.7.1
.venv-release/bin/python -m twine check dist/2.7.1/*

Install the wheel in a separate clean environment and verify its version and imports. Verify the downstream phy template-less waveform regression against this wheel before publishing. Upload only the artifacts just checked:

.venv-release/bin/python -m twine upload dist/2.7.1/*

Verify installation of the published version from PyPI in another clean environment. Then bump master to 2.7.2.dev0 and add an Unreleased changelog section. Substitute the appropriate version numbers for subsequent releases.

Metadata

Release files for phylib 2.7.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 phylib 2.7.1
File Size Uploaded Provenance Actions
phylib-2.7.1.tar.gz 83.0 kB Without provenance Details for phylib-2.7.1.tar.gz

Built distribution (wheel)

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

Total release size: 176.6 kB

Release files / phylib-2.7.1.tar.gz

Download URL phylib-2.7.1.tar.gz
Size 83.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4007d35e43189495c460ba6c342ea84f9ef3632cf27384f56c2ae29f7b649721
BLAKE2b-256 checksum
How to use checksums
054b515a9372fb55064c03b92a905dbc918457231c79b513d844d92ed2c1cf7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / phylib-2.7.1-py3-none-any.whl

Download URL phylib-2.7.1-py3-none-any.whl
Size 93.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9c58f5785f2370fcedd2f4850f6576595fba8817649a6e24e6b07287f8fa421
BLAKE2b-256 checksum
How to use checksums
bd421dcc78f6c9d9667e540176c78a5859d4b99e7677bd1d95cc1e92ce1cd373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for phylib 2.7.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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