Registry / type-stubs / types-prettytable

types-prettytable

JSON →
library3.4.2.6pypypiunverified

Typing stubs for prettytable, providing type annotations for the prettytable library. Current version 3.4.2.6. Updated frequently alongside typeshed.

pip install types-prettytable
INSTALL
IMPORT
SIG · TYPES-PRETTYTABLE
T
types-prettytable
type-stubspythonv3.4.2.6
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.4.2.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PrettyTable
from prettytable_stubs import PrettyTable
from prettytable import PrettyTable

Basic usage of PrettyTable with type stubs.

from prettytable import PrettyTable table = PrettyTable() table.field_names = ["City", "Population"] table.add_row(["New York", 8419000]) print(table)
Debug
Known issues
gotchatypes-prettytable only provides stubs; do not import from types_prettytable. Import from prettytable directly.
fix
Use 'from prettytable import PrettyTable'
affects: all
deprecatedSome methods like 'printt' (deprecated since prettytable 3.0) have no stub support. Use 'print' or str(table).
fix
Use print(table) instead of table.printt()
affects: >=3.4.0
Upgrade
Version history
3.4.2.6latest on PyPI · released Mar 27, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
OpenAI (training)
1
Resources
types-prettytable — pip install types-prettytable · libregistry