Skip to content

Rename package pyAMICA to pamica - #176

Merged
neuromechanist merged 3 commits into
mainfrom
feature/issue-169-phase4-rename
Jul 18, 2026
Merged

Rename package pyAMICA to pamica#176
neuromechanist merged 3 commits into
mainfrom
feature/issue-169-phase4-rename

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Summary

Renames the Python distribution + import package pyAMICA -> pamica (PyPI pyamica is taken; pamica unblocks the release). Final phase of epic #165.

Closes #169. Completes epic #165.

What changed

  • git mv pyAMICA pamica (package dir incl. native/, sample_data/, Fortran sources); test_pyAMICA.py -> test_pamica.py.
  • Identifier pyAMICA -> pamica across 121 tracked files: imports (from pamica import AMICA, AMICATorchNG, AMICA_NumPy, AMICANative), pyproject.toml (name/packages/package-data/coverage source), package-dir path refs in ci.yml, release-binaries.yml, native/build.sh, native/validate_shim.sh, codecov.yml, _typos.toml, validate_implementations.py, and docs.

Preserved (NOT renamed)

The GitHub repo sccn/pyAMICA, all github.com/sccn/pyAMICA URLs, and the docs domain eeglab.org/pyAMICA -- including the _REPO default in native/resolver.py (binaries release from this repo). Done via a protect-tokens -> replace -> restore transform; verified no sccn/pamica or eeglab.org/pamica mangling.

Verified

  • import pamica and the full public surface import.
  • Full non-slow suite: 294 passed, 1 xfailed, no regressions.
  • uv build -> pamica-0.1.2-py3-none-any.whl containing pamica.* (incl. pamica.native).
  • mkdocs build --strict clean; native/build.sh builds with the moved source path.
  • ruff + ty clean. The env vars/cache were already PAMICA_*/pamica (no change needed).

Note: the GitHub repo name is unchanged; only the Python package identity moves to pamica.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.31%. Comparing base (79d1fa7) to head (5fd96d9).

Files with missing lines Patch % Lines
pamica/native/__main__.py 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #176      +/-   ##
==========================================
- Coverage   82.62%   82.31%   -0.31%     
==========================================
  Files          23       23              
  Lines        2607     2607              
  Branches      441      441              
==========================================
- Hits         2154     2146       -8     
- Misses        326      335       +9     
+ Partials      127      126       -1     
Files with missing lines Coverage Δ
pamica/__init__.py 100.00% <ø> (ø)
pamica/amica.py 92.68% <ø> (ø)
pamica/metrics/__init__.py 100.00% <ø> (ø)
pamica/metrics/_common.py 100.00% <ø> (ø)
pamica/metrics/mir.py 100.00% <ø> (ø)
pamica/metrics/pmi.py 100.00% <ø> (ø)
pamica/native/__init__.py 100.00% <ø> (ø)
pamica/native/engine.py 83.56% <ø> (ø)
pamica/native/resolver.py 87.34% <ø> (ø)
pamica/numpy_impl/__init__.py 100.00% <100.00%> (ø)
... and 13 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@neuromechanist
neuromechanist merged commit 30b32be into main Jul 18, 2026
7 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-169-phase4-rename branch July 18, 2026 00:05
@neuromechanist neuromechanist mentioned this pull request Jul 18, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 4: rename package to pAMICA/pamica

2 participants