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.6.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cceb34450afdbde68b721a364d5d9a85261078a19ee903d4d320f272040e78 |
|
MD5 | 0c358197f5ed962d33313048eb1105dd |
|
BLAKE2b-256 | 1f3659c03715c2cd2fb59f52d3a897ca8444d8da40dd7678ca71bd8a6a12c8dd |