Skip to content

Phase 4: rename package to pAMICA/pamica #169

Closed

Description

@neuromechanist

Part of epic #165. PyPI pyamica is taken; rename distribution + import naming to be consistent.

Activity

  1. added
    feature
    on Jul 17, 2026
  2. neuromechanist commented on Jul 17, 2026

    @neuromechanist
    MemberAuthor

    Ready-to-execute plan (surveyed)

    Rename the Python distribution + import package pyAMICA -> pamica (user decision: PyPI pamica, import pamica, all lowercase). Phases 1-3 of epic #165 are merged; this is the last phase.

    Must rename (the identifier pyAMICA as package/import/path)

    • git mv pyAMICA pamica (moves the package dir incl. native/, sample_data/, amica15.f90, funmod2.f90).
    • Imports across 36 .py files: from pyAMICA / import pyAMICA / pyAMICA. -> pamica.
    • pyproject.toml: name, the packages = [...] list, package-data keys.
    • Package-dir path refs in configs/scripts: codecov.yml, mkdocs.yml, _typos.toml, native/validate_shim.sh, native/build.sh ($repo_root/pyAMICA), .github/workflows/ci.yml and release-binaries.yml (pyAMICA/sample_data, pyAMICA/amica15.f90), validate_implementations.py (pyAMICA/sample_data/amica15mac).
    • Docs prose import examples.

    MUST PRESERVE (do NOT rename)

    • The GitHub repo: sccn/pyAMICA, github.com/sccn/pyAMICA (~15 refs across docs, CITATION.cff, .zenodo.json, paper.md, pyproject urls, and the _REPO default in native/resolver.py -- the binaries release from this repo).
    • The docs domain eeglab.org/pyAMICA (~8 refs).

    Safe transform: protect sccn/pyAMICA and eeglab.org/pyAMICA as placeholders, blanket-replace pyAMICA->pamica, restore placeholders.

    Verification (all required before merge)

    • import pamica and from pamica import AMICA, AMICATorchNG, AMICA_NumPy, AMICANative.
    • Full non-slow suite green (paths in tests: pamica/sample_data/...).
    • native/build.sh + native/validate_shim.sh still build/pass (AMICA_SRC path moved).
    • uv build wheel contains pamica.* incl. pamica.native; mkdocs build --strict.
    • The env vars/cache are ALREADY PAMICA_*/pamica (forward-looking, no change needed).

    Note: PyPI pyamica is taken (see the release-readiness track); pamica unblocks that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions