Mypy plugin and stubs for munch
Project description
munch-stubs
Add types for munch for mypy.
Installation
$ pip install munch-stubs
Usage
Mypy will automatically use the type annotations in this package, once it is installed. You just need to annotate your code:
from munch import Munch
def foo(bar: Munch) -> int:
return bar.foo
For general hints how to use type annotations, please read Type Annotations in Python 3.8.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
munch-stubs-0.1.2.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file munch-stubs-0.1.2.tar.gz
.
File metadata
- Download URL: munch-stubs-0.1.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9346cdbe9ab7b7b7fb99844588c5ac6289c8225ff11f1479e95fcea3bec32c |
|
MD5 | 19c1c8db28dfeb07d756978a58e8ddfa |
|
BLAKE2b-256 | a2fdbbe5772a7e0d92bd2f953e75759de6e6ca8e4d592da56aa7404a42abd2cc |
File details
Details for the file munch_stubs-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: munch_stubs-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06338441663b4e1fbe33ac0a3911977d3ff63e9714e5c356f61910be623393ac |
|
MD5 | 051230dfc465a383e7f192261c60767d |
|
BLAKE2b-256 | eebc8acd19d0f4a1e97408667381d7e972f6f324174fda9449f270cd7eeb2e45 |