Skip to content

Refactor project structure and architecture #1

Description

@rastr-0
  • Review and reorganize the code into classes, modules and directories
  • Add docstrings (possible can later generate docs from them)

Possible project structure:

bitTorrent_client/
    __init__.py
    core/
        torrent.py
        peer.py
        piece.py
        ...
    network/
        tracker_client.py
        peer_connection.py
    storage/
        file_writer.py
    cli/
        main.py
    utils/
        constants.py
        helpers.py
    test_data/
        test_file1.iso.torrent
        test_file2.iso.torrent

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions