Skip to main content

Type stubs for openpyxl

Project description

PyPI version Code on Github Code style: black GitHub last commit

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


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.19.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

openpyxl_stubs-0.1.19-py3-none-any.whl (25.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page