types-braintree
Typing stubs for braintree
Decision gist · record as of 2026-08-14
Yes, if you use braintree and want static type checking. Low friction, no runtime cost, and actively maintained. Install it alongside braintree and configure your type checker to use it. Not needed if you don't use braintree or don't perform type checking.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- The braintree package itself must be installed separately for runtime use.
- Low install friction with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 137,752 downloads/mo, #11,358 on PyPI
Alternatives
Verify before relying
pip install types-braintree
# In your code, import braintree normally:
import braintree
# Type checkers will now understand braintree's types when you run:
# mypy your_script.py- Whether this stub package is kept in sync with all braintree 4.46.* patch releases.
- Coverage completeness: which braintree APIs have full vs. partial type annotations.
What it is and what it does
types-braintree is a type stub package from the typeshed project that provides static type information for the braintree payment processing library. It allows Python type checkers like mypy, pyright, and others to understand and validate the types used in braintree code without requiring type hints in braintree itself.
When installed alongside braintree, this package enables your IDE and type checker to catch type mismatches, missing attributes, and incorrect method calls at development time rather than runtime. It has no runtime dependencies and is designed specifically for braintree version 4.46.*. The stubs are tested against multiple type checkers and maintained as part of the typeshed community project.
Use it for
- Enable mypy or pyright to type-check payment processing code that uses braintree without runtime overhead.
- Catch attribute and method errors in braintree API calls during development via IDE autocompletion.
- Enforce type safety in CI/CD pipelines that validate braintree integration code before deployment.
- Document braintree's API surface through type annotations for developers unfamiliar with the library.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use braintree and want static type checking.
Low friction, no runtime cost, and actively maintained. Install it alongside braintree and configure your type checker to use it. Not needed if you don't use braintree or don't perform type checking.
Install
types-braintree on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as part of typeshed, released on 2026-08-14 with recent commits.
Requires Python 3.10 or later. The braintree package itself must be installed separately for runtime use.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-braintree
# In your code, import braintree normally:
import braintree
# Type checkers will now understand braintree's types when you run:
# mypy your_script.py
Verify before relying
- Whether this stub package is kept in sync with all braintree 4.46.* patch releases.
- Coverage completeness: which braintree APIs have full vs. partial type annotations.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 137,752 / month, #11,358 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_braintree-4.46.0.20260814-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs braintree”
- types-braintreeProvides type hints for the braintree payment processing library,…
- braintreeProvides Python bindings to the Braintree payment gateway, enabling…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-yt-dlp · braintree · optype · types-docker · types-openpyxl · types-networkx · types-Pygments · types-docutils · types-reportlab · types-lxml