binaryninja-finder
Finds a local Binary Ninja installation so you can import binaryninja in Python. Running outside the GUI requires a license that supports headless use.
Usage
Add it to a project.
uv add binaryninja-finder
Try it without adding a project dependency.
uv run --with binaryninja-finder python -c 'import binaryninja; print(binaryninja.core_version())'
Standalone script
Save this as example.py.
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = ["binaryninja-finder"]
# ///
import binaryninja
print(binaryninja.core_version())
Run the script with uv.
uv run --script example.py
On systems that support shebangs, you can also run chmod +x example.py and then ./example.py.
Configuration
- Set
BN_INSTALL_DIRto your Binary Ninja installation path if automatic discovery misses it. - Set
BN_USER_DIRECTORYif you use a custom Binary Ninja settings directory.
Metadata
Release files for binaryninja-finder 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| binaryninja_finder-0.3.0.tar.gz | 3.4 kB | With provenance | Details for binaryninja_finder-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| binaryninja_finder-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for binaryninja_finder-0.3.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / binaryninja_finder-0.3.0.tar.gz
| Download URL | binaryninja_finder-0.3.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5038d8e1aae2bd2bf8e40b042199618f593d38428385c8b0b17f4ee50ab9ed37
|
|
BLAKE2b-256 checksum How to use checksums |
05beecb5c5941cbd1378e8021b0c38463089450ae33fae36e545ea30d2ffd66a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / binaryninja_finder-0.3.0-py3-none-any.whl
| Download URL | binaryninja_finder-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e63583f077ecc2da5a58a84c4d2e52052c14ba23c964b67e8289b4fd4da0f33c
|
|
BLAKE2b-256 checksum How to use checksums |
dc0b2ef40762f39e3a0f0265675e1ab1ac131fb52503bc42d853f54e939cfc7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logSecurity for binaryninja-finder 0.3.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for binaryninja_finder-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.