Type stubs for Hopper Disassembler Python API
Project description
Hopper Disassembler Python API Type Stubs
What is it?
These type stubs provide intelligent code completion, type checking, and enhanced developer experience when writing automation scripts for Hopper. These stubs transform the scripting process from guesswork into a confident, productive workflow by offering:
- Smart Autocomplete: Get instant suggestions for methods, properties, and classes as you type
- Real-time Type Checking: Catch errors before runtime with static type analysis
- Enhanced Documentation: Access comprehensive API documentation directly in your IDE
- Improved Code Navigation: Easily explore the Hopper API with reliable jump-to-definition features
- Professional Development Experience: Enjoy the same comfort of modern Python development tools
Installation
pip install types-hopper-disassembler
Or install from source:
git clone https://github.com/fi5t/hopper-disassembler-stubs.git
cd hopper-disassembler-stubs
pip install -e .
Usage
Once installed, your IDE will automatically provide type hints for Hopper scripts:
# type: ignore
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from hopper_api import Document, GlobalInformation
# Get type hints and autocomplete!
doc: Document = Document.getCurrentDocument()
version = GlobalInformation.getHopperVersion()
print(version)
for segment in doc.getSegmentsList():
print(segment.getName())
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file types_hopper_disassembler-1.0.0.tar.gz.
File metadata
- Download URL: types_hopper_disassembler-1.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad70b6b45886902ed09a530a89ae61efc4ceac36e139006b8f70782b416ea87f
|
|
| MD5 |
00c1fad7d7ee7cad07d2ae74a5705bf7
|
|
| BLAKE2b-256 |
203895cafb4daf04c01a03bc575068dc9e650d64e58f94bf4bd64c6b96bc2de9
|
File details
Details for the file types_hopper_disassembler-1.0.0-py3-none-any.whl.
File metadata
- Download URL: types_hopper_disassembler-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd82588a76b38034c976dc85e15b66738326f92af56d99b021483973fb234eb5
|
|
| MD5 |
9b488261f057865276c34e4507d1c463
|
|
| BLAKE2b-256 |
dd27f44dcadf7cc2b7ff154be1a31616e4aa2624b759ada9281843de115b0a2f
|