|0.1.0||Jul 31, 2023|
#480 in Network programming
301 downloads per month
What is this?
Rust wrappers around the Bumble Python API.
Method calls are mapped to the equivalent Python, and return types adapted where relevant.
examples directory for usage.
Set up a virtualenv for Bumble, or otherwise have an isolated Python environment for Bumble and its dependencies.
Due to Python being
[picky about how its sys path is set up](https://github.com/PyO3/pyo3/issues/1741,
it's necessary to explicitly point to the virtualenv's
suitable virtualenv paths as appropriate for your OS, as seen here running
PYTHONPATH=..:~/.virtualenvs/bumble/lib/python3.10/site-packages/ \ cargo run --example battery_client -- \ --transport android-netsim --target-addr F0:F1:F2:F3:F4:F5
Run the corresponding
battery_server Python example, and launch an emulator in
Android Studio (currently, Canary is required) to run netsim.
Run the tests:
PYTHONPATH=.. cargo test
cargo clippy --all-targets