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.1.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fc5c9902c5945ce810ba20c2a38245de1ced667eb26b1bada416062b867ff0 |
|
MD5 | ac0485ac343bc83674ec77a73acf04fc |
|
BLAKE2b-256 | cc60675a698ed4ef1e4157d1e44c28b8d67137f0ce48a4e0c8e4b718edc55ed6 |