Type stubs for openpyxl
Project description
openpyxl-stubs
Add types for openpyxl for mypy.
Installation
$ pip install openpyxl-stubs
Usage
Mypy will automatically use the type annotations in this package, once it is installed. You just need to annotate your code:
from typing import Optional
from flask_httpauth import HTTPAuth, Authorization
def foo(bar: HTTPAuth) -> Optional[Authorization]:
return bar.get_auth()
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
openpyxl-stubs-0.1.5.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e104b6014003b6f88452da2ae1e109a5fbe9af19f1efed75d636c3021b65811d |
|
MD5 | 1b0d0e1a3ab223f788b7c19552326bf5 |
|
BLAKE2b-256 | 40afbf4ac318bc061de67d12ca146d8da75b5c4080724f5402ddfc3a48987ba1 |