├── .gitignore ├── Dockerfile ├── LICENCE ├── Makefile ├── README.md ├── pieces.py ├── pieces ├── __init__.py ├── bencoding.py ├── cli.py ├── client.py ├── protocol.py ├── torrent.py └── tracker.py ├── requirements.txt └── tests ├── __init__.py ├── data ├── SXSW_2016_Showcasing_Artists_Part1.torrent ├── ubuntu-16.04-desktop-amd64.iso.torrent ├── ubuntu-16.04.1-server-amd64.iso.torrent ├── ubuntu-18.04.3-desktop-amd64.iso.torrent └── ubuntu-19.04-desktop-amd64.iso.torrent ├── test_bendoding.py ├── test_client.py ├── test_protocol.py ├── test_torrent.py └── test_tracker.py /.gitignore: -------------------------------------------------------------------------------- 1 | .coverage 2 | .idea 3 | __pycache__ 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/LICENCE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/README.md -------------------------------------------------------------------------------- /pieces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces.py -------------------------------------------------------------------------------- /pieces/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/__init__.py -------------------------------------------------------------------------------- /pieces/bencoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/bencoding.py -------------------------------------------------------------------------------- /pieces/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/cli.py -------------------------------------------------------------------------------- /pieces/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/client.py -------------------------------------------------------------------------------- /pieces/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/protocol.py -------------------------------------------------------------------------------- /pieces/torrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/torrent.py -------------------------------------------------------------------------------- /pieces/tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/pieces/tracker.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | flake8==2.5.4 2 | coverage==4.1 3 | bitstring==3.1.5 4 | aiohttp==0.22.5 5 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/data/SXSW_2016_Showcasing_Artists_Part1.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/data/SXSW_2016_Showcasing_Artists_Part1.torrent -------------------------------------------------------------------------------- /tests/data/ubuntu-16.04-desktop-amd64.iso.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/data/ubuntu-16.04-desktop-amd64.iso.torrent -------------------------------------------------------------------------------- /tests/data/ubuntu-16.04.1-server-amd64.iso.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/data/ubuntu-16.04.1-server-amd64.iso.torrent -------------------------------------------------------------------------------- /tests/data/ubuntu-18.04.3-desktop-amd64.iso.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/data/ubuntu-18.04.3-desktop-amd64.iso.torrent -------------------------------------------------------------------------------- /tests/data/ubuntu-19.04-desktop-amd64.iso.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/data/ubuntu-19.04-desktop-amd64.iso.torrent -------------------------------------------------------------------------------- /tests/test_bendoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/test_bendoding.py -------------------------------------------------------------------------------- /tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/test_client.py -------------------------------------------------------------------------------- /tests/test_protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/test_protocol.py -------------------------------------------------------------------------------- /tests/test_torrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/test_torrent.py -------------------------------------------------------------------------------- /tests/test_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eliasson/pieces/HEAD/tests/test_tracker.py --------------------------------------------------------------------------------