Skip to content

Rename Python package to numbersprotocol-capture-sdk#4

Merged
bafu merged 2 commits intomainfrom
claude/automate-package-release-FoI1N
Jan 30, 2026
Merged

Rename Python package to numbersprotocol-capture-sdk#4
bafu merged 2 commits intomainfrom
claude/automate-package-release-FoI1N

Conversation

@bafu
Copy link
Contributor

@bafu bafu commented Jan 30, 2026

Summary

Renames the Python SDK package from capture-sdk to numbersprotocol-capture-sdk to align with the npm package naming convention (@numbersprotocol/capture-sdk) and avoid naming conflicts.

Key Changes

  • Package rename: capture_sdknumbersprotocol_capture (module directory)
  • PyPI package name: capture-sdknumbersprotocol-capture-sdk (in pyproject.toml)
  • Import statements: Updated all imports across the codebase to use from numbersprotocol_capture import ...
  • Documentation: Updated all README files, contributing guides, and examples with new package name and import paths
  • CI/CD: Updated GitHub Actions workflows to reference the new package name
  • Build configuration: Updated pyproject.toml to build and publish under the new package name
  • Scripts: Updated maintenance scripts to reference the new module path

Files Modified

  • Python module directory renamed with all internal files
  • pyproject.toml: Package name, build targets, and tool configurations
  • All test files: Import statements updated
  • Documentation: README.md, CONTRIBUTING.md, CLAUDE.md, python/README.md
  • Examples: python/example.py
  • CI workflows: .github/workflows/ci.yml, .github/workflows/release.yml
  • Maintenance scripts: scripts/check-feature-parity.py, scripts/sync-versions.py

Notes

  • This is a breaking change for existing users who will need to update their imports and pip install commands
  • The new naming provides better namespace clarity and consistency across both npm and PyPI packages

https://claude.ai/code/session_01844sqT34tFRq7VGXRr7HMa

Changes:
- Rename Python package from capture-sdk to numbersprotocol-capture-sdk (PyPI)
- Rename Python import from capture_sdk to numbersprotocol_capture
- Add auto-release.yml workflow for automatic releases on main branch commits
- Auto-bump version based on commit message:
  - [major] or BREAKING CHANGE → major bump
  - [minor] or feat: → minor bump
  - Default → patch bump
- Skip release with [skip release] or [no release] in commit message
- Update all imports, tests, docs, and scripts for new package name

Package names:
- npm: @numbersprotocol/capture-sdk (unchanged)
- PyPI: numbersprotocol-capture-sdk
- Python import: numbersprotocol_capture

[skip release]

https://claude.ai/code/session_01844sqT34tFRq7VGXRr7HMa
Remove auto-release workflow and update CLAUDE.md to reflect
tag-based release process (push v* tag to trigger release).

https://claude.ai/code/session_01844sqT34tFRq7VGXRr7HMa
@bafu bafu merged commit d30370d into main Jan 30, 2026
7 checks passed
@bafu bafu deleted the claude/automate-package-release-FoI1N branch January 30, 2026 10:47
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.

2 participants