Skip to content

refactor(package): rename to openapi-sdk#23

Open
francescobianco wants to merge 1 commit into
mainfrom
package-rename
Open

refactor(package): rename to openapi-sdk#23
francescobianco wants to merge 1 commit into
mainfrom
package-rename

Conversation

@francescobianco

Copy link
Copy Markdown
Member

Summary

Rename the PyPI distribution from openapi-python-sdk to openapi-sdk and the importable module from openapi_python_sdk to openapi_sdk.

The GitHub repository name and the Makefile Project: header are intentionally kept as openapi-python-sdk (the canonical repo name).

Changes

  • pyproject.toml: project name → openapi-sdk, package include → openapi_sdk
  • module dir moved openapi_python_sdk/openapi_sdk/ (history preserved)
  • imports updated across examples/ and tests/
  • docs updated (README.md, docs/readme-pypi.md): PyPI badges, install commands, links

Verification

  • poetry run pytest — 21 passed
  • poetry run ruff check — clean
  • poetry build — produces openapi_sdk-0.3.0

⚠️ Do not merge yet

Publishing as openapi-sdk is blocked by PyPI's name-similarity filter (the name is unregistered, but too similar to openapi / open-api-sdk). A PEP 541 request is pending with PyPI Support — pypi/support#9815.

Merge once the name is granted, then publish and tag the release.

Closes #22 once published.

🤖 Generated with Claude Code

Rename the PyPI distribution from `openapi-python-sdk` to `openapi-sdk`
and the importable module from `openapi_python_sdk` to `openapi_sdk`.

- pyproject.toml: project name and packages include
- move openapi_python_sdk/ -> openapi_sdk/ (history preserved)
- update imports in examples/ and tests/
- update README.md and docs/readme-pypi.md (PyPI badges, install commands)

GitHub repository URLs and the Makefile `Project:` header are intentionally
left as `openapi-python-sdk` (the canonical repo name).

Publishing is currently blocked by PyPI's name-similarity filter; tracked
in pypi/support#9815.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

Rename package to openapi-sdk (PyPI approval in progress)

1 participant