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.25.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file openpyxl-stubs-0.1.25.tar.gz
.
File metadata
- Download URL: openpyxl-stubs-0.1.25.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108b112df072f7645ca356eacdd5730b1bd986c67ae33366a4a13c6879c369e7 |
|
MD5 | 175ff1462b39cea9e0bd38c0fb770e22 |
|
BLAKE2b-256 | 82c48dfd61c01a2fb0ac8bd37cadf0f19b87a8133eb6f690fc057a9536b4def0 |
File details
Details for the file openpyxl_stubs-0.1.25-py3-none-any.whl
.
File metadata
- Download URL: openpyxl_stubs-0.1.25-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db29f7804993b4a46b155fc4be45314c14538cb475b00591d8096e5af486abf1 |
|
MD5 | e8786f825d3401f335f5ef3dcf259d9e |
|
BLAKE2b-256 | b9045847e2e75c39f80e65c388f8e292719b46c00cda2c987f2d5c53ed617d11 |