Skip to content

p2p-ld/torrent-pyd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torrent-pyd

.torrent file parsing and creation with pydantic

~ alpha software primarily intended for use with sciop ~

Initial development

  • Parsing
    • v1
    • v2
  • Generation

See also

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 v2
  • torrentfile 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 present
  • dottorrent can only write, not parse torrent files.
  • torrenttool doesn't validate torrents
  • PyBitTorrent doesn't validate torrents
  • torrent_parser doesn't validate torrents and doesn't have a torrent file class

About

.torrent file parsing and creation with pydantic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages