🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

bencode-cpp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bencode-cpp

A fast and correct bencode serialize/deserialize library

0.0.4a1
PyPI
Maintainers
1

bencode-c

bencode serialize/deserialize written with c++, with pybind11.

pip install bencode-cpp
import bencode_cpp

# NOTICE: we decode bencode bytes to bytes, not str.
assert bencode_cpp.bdecode(b'd5:hello5:worlde') == {b'hello': b'world'}

assert bencode_cpp.bencode(...) == b'...'

Keywords

bencode

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts