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.12.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4427691e07f733f4f5d077d0a5d1922c71de07e96bb47d9cbe85b9a4819cde |
|
MD5 | 06e9cae0ef960493195f7afda371f780 |
|
BLAKE2b-256 | c7ad58f8724dae4d88745d224917e6c3f3ae6887c61106c790676c309d10c9e0 |