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.8.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8734c1a5323d94bb8bae9559e1f686ada92a66ba6e952ec8307b6c03fadd0b4f |
|
MD5 | 35499f857093c028e34e228e9f5e2b82 |
|
BLAKE2b-256 | 9f42d3312e06499b035953bce640c2f3f21209e9ea150b36a00e6252a0d7f8b3 |