Skip to main content

bevor-sdk

Python SDK for the Bevor API: smart contract security analysis for Solidity.

Research preview. The API and this SDK may change between minor versions until 1.0.

Install

uv add bevor-sdk
# or
pip install bevor-sdk

Requires Python 3.13+.

Quickstart

Create an API key in the Bevor dashboard, then:

import asyncio

from bevor_sdk import AsyncBevorClient


async def main() -> None:
    async with AsyncBevorClient(api_key="bvr_...") as client:
        code = await client.codes.create_paste({"content": open("Vault.sol").read()})

        created = await client.analyses.create_root({"code_id": code.id})
        analysis = created.analysis

        run_result = await client.analyses.run(analysis.id, with_streaming=True)

        async for event in run_result.stream_completion(client):
            print(event)

        findings = await client.analyses.list_findings(analysis.id)
        for finding in findings.results:
            print(finding.level, finding.name)


asyncio.run(main())

A synchronous client with the same interface is available as BevorClient.

Documentation

Full API reference and guides: https://bevor.io/docs

License

MIT

Metadata

Release files for bevor-sdk 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bevor-sdk 0.1.2
File Size Uploaded Provenance
bevor_sdk-0.1.2.tar.gz 76.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bevor-sdk 0.1.2
File Interpreter ABI Platform
bevor_sdk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 193.3 kB

Release files / bevor_sdk-0.1.2.tar.gz

Download URL bevor_sdk-0.1.2.tar.gz
Size 76.4 kB
Tags Source
SHA-256 checksum
How to use checksums
858650329f956282fad59476f8eae309e06a577eb5ddf6a7200a7b2ff0f09764
BLAKE2b-256 checksum
How to use checksums
7e7cf98d9118f44c8e4165b629b18061e68b3469d4a395c82f2323cf75d753b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bevor_sdk-0.1.2-py3-none-any.whl

Download URL bevor_sdk-0.1.2-py3-none-any.whl
Size 116.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6a2886c019ac824bb03451ba8440488b3a741f480bd5bed73dfc7d20426710b
BLAKE2b-256 checksum
How to use checksums
d463d0857b4d2730c6c86f1f8f558c4aabec28688536a870826988cb17190079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for bevor-sdk 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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