py-libp2p/README.md
2018-11-12 13:32:55 -05:00

695 B

py-libp2p

py-libp2p hex logo

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.