mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
4304098977160b9de105b28ee3c2ff04b5a5f27f
py-libp2p
Development
py-libp2p requires Python 3.6 and the best way to guarantee a clean Python 3.6 environment is with virtualenv
virtualenv -p python3.6 venv
. venv/bin/activate
pip install -r requirements.txt
Testing
After installing our requirements (see above), you can:
cd tests
pytest
Note that tests/libp2p/test_libp2p.py contains an end-to-end messaging test between two libp2p hosts, which is the bulk of our proof of compass.
Description
Languages
Python
97.5%
JavaScript
1.1%
PowerShell
0.6%
Shell
0.5%
Makefile
0.3%
