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
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.3.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file munch-stubs-0.1.3.tar.gz.
File metadata
- Download URL: munch-stubs-0.1.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
074291ea0c9e43be59366b598fc1469ddca234ed03ad7bfa39ca30a28f21dedb
|
|
| MD5 |
700fb61182510a2ddc0f83da69aed4e6
|
|
| BLAKE2b-256 |
e8389bbeaaf001a41bd3d962fcaac8a9a00f1ad03a753a3c5774c499710342c5
|
File details
Details for the file munch_stubs-0.1.3-py3-none-any.whl.
File metadata
- Download URL: munch_stubs-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc2cd1bd13e3a3db5a2cab93cbec37c173291c3e899b03b99fc1873f01245e9
|
|
| MD5 |
0643231c4c3e7afbd7dca45dd2491603
|
|
| BLAKE2b-256 |
72dacb4487f113e26e26c32639a0acec7b303bad2048579ce3f175272a0dcd8b
|