Skip to main content

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_DIR to your Binary Ninja installation path if automatic discovery misses it.
  • Set BN_USER_DIRECTORY if you use a custom Binary Ninja settings directory.

MIT License

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)

Source distribution for binaryninja-finder 0.3.0
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)

Table of built distributions (wheels) for binaryninja-finder 0.3.0
File Interpreter ABI Platform Actions
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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