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.9.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for openpyxl_stubs-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc67dc88f9112703be365470d7f99f0bb0ffa79f179eb0018594890fe01e30e7 |
|
MD5 | ece8d28ff46708c137cb0ab8b708838b |
|
BLAKE2b-256 | 15e6c624c38b859d09f31334c015d69564ed243f87a18c5378ecbea598ece59b |