.torrent file parsing and creation with pydantic
~ alpha software primarily intended for use with sciop ~
- Parsing
- v1
- v2
- Generation
These are also good projects, and probably more battle tested (but we don't know them well and can't vouch for their use):
The reason this package exists is that none of them are a pure, complete parser and generator of torrent files that...
- can handle v1, v2, hybrid, and all other .torrent-related BEPs
- is focused on library usage
- is simple and focused
- has few dependencies
- is performant
- uses modern python typing
Specifically
torf
has some notable performance problems, and doesn't support v2torrentfile
is focused on the cli and doesn't appear to be able to validate torrent files, and there is no dedicated method for parsing them, e.g. editing directly manipulates the bencoded dict and rebuilding requires the files to be presentdottorrent
can only write, not parse torrent files.torrenttool
doesn't validate torrentsPyBitTorrent
doesn't validate torrentstorrent_parser
doesn't validate torrents and doesn't have a torrent file class