Install and Run


Install the latest release with pip:

$ /usr/bin/pip3 install ndn-python-repo

Optionally, you can install the latest development version from source:

$ git clone
$ cd ndn-python-repo && /usr/bin/pip3 install -e .

Migrate from repo-ng

ndn-python-repo provides a script to migrate existing data from repo-ng:

$ ndn-python-repo-port -d <path-to-repo-ng-dbfile> \
                       -a <ndn-python-repo-ipaddr> \
                       -p <ndn-python-repo-port>

It takes as input a repo-ng database file, reads the Data packets and pipe them through TCP bulk insert into the new repo.

Instruction for developers

Setup virtual environment with editable installation:

$ python3 -m venv venv
$ . venv/bin/activate
$ pip3 install -e .

Run all tests:

$ pip3 install pytest
$ pytest

Compile the documentation with Sphinx:

$ cd docs && pip3 install -r requirements.txt
$ make html
$ open _build/html/index.html