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

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.1
File Size Uploaded Provenance
bevor_sdk-0.1.1.tar.gz 75.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 192.4 kB

Release files / bevor_sdk-0.1.1.tar.gz

Download URL bevor_sdk-0.1.1.tar.gz
Size 75.9 kB
Tags Source
SHA-256 checksum
How to use checksums
014b442d4a755cbc2f9bb99d7cb78c9ec12563ee350559233742c343b35fc8ff
BLAKE2b-256 checksum
How to use checksums
f6a8e3f8b4caab01687a0135da66afbe2e893972b737f95006f17ff9ce52cb57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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.1-py3-none-any.whl

Download URL bevor_sdk-0.1.1-py3-none-any.whl
Size 116.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca46f79770e4084555e1458e83b1de6663a60651ad0f29451cbb68226f081bc1
BLAKE2b-256 checksum
How to use checksums
d5d9eeeec34d390b094f037b80144bc546f4d51cf8dad97c816d3f2b62c3fec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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.1

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