Goal
Rename the package so it can be published on PyPI under the name openapi-sdk (currently openapi-python-sdk), and rename 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).
Work in progress
- Branch:
package-rename — https://github.com/openapi/openapi-python-sdk/tree/package-rename
- Commit
f43344b already contains the full rename:
pyproject.toml: project name → openapi-sdk, package include → openapi_sdk
- module dir moved
openapi_python_sdk/ → openapi_sdk/
- imports updated across
examples/ and tests/
- docs updated (
README.md, docs/readme-pypi.md)
- Tests pass (21 passed), lint clean,
poetry build produces openapi_sdk-0.3.0.
Blocker — PyPI approval in progress
Publishing as openapi-sdk is currently blocked by PyPI's automatic name-similarity filter:
HTTP Error 400: The name 'openapi-sdk' is too similar to an existing project.
The name openapi-sdk is not registered (404 on PyPI) — the block is the similarity check against existing projects (openapi, open-api-sdk), not an ownership conflict.
A PEP 541 / name request has been filed with PyPI Support and is awaiting their approval:
Next steps
Goal
Rename the package so it can be published on PyPI under the name
openapi-sdk(currentlyopenapi-python-sdk), and rename the importable module fromopenapi_python_sdktoopenapi_sdk.The GitHub repository name and the Makefile
Project:header are intentionally kept asopenapi-python-sdk(the canonical repo name).Work in progress
package-rename— https://github.com/openapi/openapi-python-sdk/tree/package-renamef43344balready contains the full rename:pyproject.toml: project name →openapi-sdk, package include →openapi_sdkopenapi_python_sdk/→openapi_sdk/examples/andtests/README.md,docs/readme-pypi.md)poetry buildproducesopenapi_sdk-0.3.0.Blocker — PyPI approval in progress
Publishing as
openapi-sdkis currently blocked by PyPI's automatic name-similarity filter:The name
openapi-sdkis not registered (404 on PyPI) — the block is the similarity check against existing projects (openapi,open-api-sdk), not an ownership conflict.A PEP 541 / name request has been filed with PyPI Support and is awaiting their approval:
Next steps
openapi-sdkpoetry publish/make publish)package-renameintomain