Skip to content

Added PyWorld type stubs to support IDE type checkers. - #105

Open
FlorenceZh wants to merge 1 commit into
JeremyCCHsu:masterfrom
FlorenceZh:master
Open

Added PyWorld type stubs to support IDE type checkers.#105
FlorenceZh wants to merge 1 commit into
JeremyCCHsu:masterfrom
FlorenceZh:master

Conversation

@FlorenceZh

Copy link
Copy Markdown

Hi!

I recently worked on a project that used this package, and I noticed that the IDE couldn't seem to detect the type declarations in the pyd file. I tried adding the pyi file, and that fixed the problem. Do you think it's necessary to add the pyi file to this repository?

Best regards.

JeremyCCHsu added a commit that referenced this pull request Aug 18, 2026
- Add PEP 561 type stubs (pyworld/pyworld.pyi, pyworld/py.typed) and package_data in setup.py (#104, #105)
- Migrate from pkg_resources to importlib.metadata with fallback (#99, #103)
- Add Cython <3.1.0 constraint for Python <3.9 in pyproject.toml (#106)
- Clean requirements.txt to core dependencies and update AppVeyor demo setup (#103)
- Add sabonerune to README acknowledgements (#103)
JeremyCCHsu added a commit that referenced this pull request Aug 20, 2026
* Update lib/World submodule to latest commit, bump version to 0.3.6, fix Cython syntax

* Merge requests from open PRs (#96, #99, #103, #104, #105, #106)
- Add PEP 561 type stubs (pyworld/pyworld.pyi, pyworld/py.typed) and package_data in setup.py (#104, #105)
- Migrate from pkg_resources to importlib.metadata with fallback (#99, #103)
- Add Cython <3.1.0 constraint for Python <3.9 in pyproject.toml (#106)
- Clean requirements.txt to core dependencies and update AppVeyor demo setup (#103)
- Add sabonerune to README acknowledgements (#103)

* add 3.12 & 3.13 tests

* Pin libsndfile version for Py 3.6/3.7

* Another attempt to fix 3.6/3.7
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.

1 participant