BinaryAI-SDK is a library provides an abstracted client module to simplify the procedure of uploading file for analysis.
Project description
BinaryAI Python SDK
BinaryAI is a binary file security analysis platform. This SDK aims at providing a simple client to upload file and get analysis result. It can also works as a demo on calling BinaryAI's GraphQL API directly. The Python3 SDK for BinaryAI provides an abstracted client module to simplify the procedure of uploading file for analysis.
To use SDK, you need a valid credentials. Read BinaryAI docs about detailed instructions.
Dependency
Python >= 3.9
Download and installation
python3 -m pip install binaryai
Contributing
See CONTRIBUTING.md.
Internals
Endpoints
The default endpoint is https://api.binaryai.cn/v1/endpoint
.
API Credentials
API Credentials are used for signing requests. We suggest you using our SDK or our library to sign it, but you can also
have your own implementation. We are using the signing method TC3-HMAC-SHA256
, same with the Tencent Cloud. You can
read their document about how to sign requests. BinaryAI would
require following fields:
Region = "ap-shanghai"
service = "binaryai"
Action = "BinaryAI"
Version = "2023-04-15"
Additional Reading
Read the Changelog of our product, and hope you can also have fun reading papers related to our job:
- Yu, Zeping, et al. "Codecmr: Cross-modal retrieval for function-level binary source code matching." Advances in Neural Information Processing Systems 33 (2020): 3872-3883.
- Yu, Zeping, et al. "Order matters: Semantic-aware neural networks for binary code similarity detection." Proceedings of the AAAI conference on artificial intelligence. Vol. 34. No. 01. 2020.
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
Hashes for binaryai-0.7.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7480c68c13c6ca49e51ed9dd19b609c3b91e224b904dcc2104f60746bcb32ea1 |
|
MD5 | 395af7512767543f3402cc070be0ea5d |
|
BLAKE2b-256 | d1b236cefd554f9abd07e0197f62e2459c83320e5012f3f959481e88bb49a657 |