# Badger2040-pystub - A Python library providing badger2040 typehinting and more for your IDE

**URL:** <https://forums.pimoroni.com/t/badger2040-pystub-a-python-library-providing-badger2040-typehinting-and-more-for-your-ide/20973>\
**Category:** Learning Resources\
**Created:** [December 14, 2022, 2:44am UTC](https://forums.pimoroni.com/t/badger2040-pystub-a-python-library-providing-badger2040-typehinting-and-more-for-your-ide/20973 "2022-12-14T02:44:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ventus](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ventus/32/8813_2.png) [@Ventus](https://forums.pimoroni.com/u/Ventus)\
**Post date:** [December 14, 2022, 2:44am UTC](https://forums.pimoroni.com/t/badger2040-pystub-a-python-library-providing-badger2040-typehinting-and-more-for-your-ide/20973/1 "2022-12-14T02:44:22Z")

</div>

I was frustrated with how convoluted a badger2040 MicroPython project can be (plus I wanted to use a real IDE like PyCharm and not Thonny), so I ported the badger2040 package API docs into a package you can install onto your local development environment to provide typehinting, function descriptions and args, badger2040 constants, and more.

PyPi: [badger2040-pystub · PyPI](https://pypi.org/project/badger2040-pystub/)  
Github Source: [GitHub - V3ntus/badger2040-pystub: Python stub file for the badger2040 module. Contains some documentation and ports from the CPP/C headers](https://github.com/V3ntus/badger2040-pystub)  
Install: pip install badger2040-pystub

Note: This library is only intended to be a stub file for your IDE so you don’t have to go back and forth from the API docs.
