D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
blackhat.pw
:
/
kunden
/
usr
/
lib
/
python3
/
dist-packages
/
fastbencode-0.2.egg-info
/
Filename :
PKG-INFO
back
Copy
Metadata-Version: 2.2 Name: fastbencode Version: 0.2 Summary: Implementation of bencode with optional fast C extensions Home-page: https://github.com/breezy-team/fastbencode Maintainer: Breezy Developers Maintainer-email: breezy-core@googlegroups.com License: GPLv2 or later Project-URL: GitHub, https://github.com/breezy-team/fastbencode Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Operating System :: POSIX Classifier: Operating System :: Microsoft :: Windows Requires-Python: >=3.7 License-File: COPYING Provides-Extra: cext Requires-Dist: cython>=0.29; extra == "cext" fastbencode =========== fastbencode is an implementation of the bencode serialization format originally used by BitTorrent. The package includes both a pure-Python version and an optional C extension based on Cython. Both provide the same functionality, but the C extension provides significantly better performance. Example: >>> from fastbencode import bencode, bdecode >>> bencode([1, 2, b'a', {b'd': 3}]) b'li1ei2e1:ad1:di3eee' >>> bdecode(bencode([1, 2, b'a', {b'd': 3}])) [1, 2, b'a', {b'd': 3}] License ======= fastbencode is available under the GNU GPL, version 2 or later. Copyright ========= * Original Pure-Python bencoder (c) Petru Paler * Cython version and modifications (c) Canonical Ltd * Split out from Bazaar/Breezy by Jelmer Vernooij