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.19.tar.gz
(17.3 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd0f38ff4a0b4c3e205752f268890d8d3542079ec26e954ecc9a764d3c9c407 |
|
MD5 | 8d132d9a1f980494d93ae4f242b5a90a |
|
BLAKE2b-256 | b6a833bf4665aff6fb261d02a607e779f1659aa1968f3027eec9b61586447a90 |