Skip to main content

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

Flask-HTTPAuth-stubs

Add types for Flask-HTTPAuth for mypy.

Installation

$ pip install flask-httpauth-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

Metadata

Release files for Flask-HTTPAuth-stubs 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-HTTPAuth-stubs 0.1.6
File Size Uploaded Provenance
Flask-HTTPAuth-stubs-0.1.6.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-HTTPAuth-stubs 0.1.6
File Interpreter ABI Platform
Flask_HTTPAuth_stubs-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / Flask-HTTPAuth-stubs-0.1.6.tar.gz

Download URL Flask-HTTPAuth-stubs-0.1.6.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c8f6179a58bd3b58747fbc40754c0b35f3b32fd7f4b25ee9ec259fd02e4accda
BLAKE2b-256 checksum
How to use checksums
4cde900970b098fa3e55693cad4813099f7bbb5bd14463e7a8347e0da756196b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / Flask_HTTPAuth_stubs-0.1.6-py3-none-any.whl

Download URL Flask_HTTPAuth_stubs-0.1.6-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
366a4d0b7bd570659ea327e09217595ca96ddec3194425b80256bdadbf145f97
BLAKE2b-256 checksum
How to use checksums
f6fe82b1856a374474c2e505bb19e649ff9d94f667c6ed3d1cef53dcc0cf9754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Security for Flask-HTTPAuth-stubs 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page