Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.93 KB

File metadata and controls

69 lines (47 loc) · 1.93 KB

java-api-stubs

PyPI - Python Version PyPI - Version PyPI - Downloads Join us on GitHub discussions

This package contains a collection of stubs for java-api. These files were generated using mypy's stubgen.

Installation and usage

To use java-api-stubs, you may install it with pip. It requires Python 3.7 through 3.12.

Warning

Python 3.13 will not be supported.

python3 -m pip install \
    java-api-stubs \
    "mypy[python2]==0.971"

To run mypy against your code, execute the following command passing the source directory (typically src) or a single file:

mypy --py2 src

Or

mypy --py2 code.py

Contributing

See CONTRIBUTING.md.

Discussions

Feel free to post your questions and/or ideas at Discussions.

Contributors

Thanks to everyone who has contributed to this project.

Up-to-date list of contributors.

License

See the LICENSE.

Code of conduct

See CODE_OF_CONDUCT.md.