semvec/pypi-packages huggingface dataset:
flatbencode 0.2.1
Fast, safe and non-recursive implementation of Bittorrent bencoding for Python 3
License: MIT
Keywords: bencoding bencode bittorrent fast non-recursive stack maximum recursion

flatbencode
============

.. image:: https://travis-ci.org/acatton/flatbencode.svg?branch=master
    :target: https://travis-ci.org/acatton/flatbencode

Fast, safe and thoroughly tested implementation of ``bencode`` in pure Python
3, without any C extension.

This is called ``flatbencode`` because the algorithm for decoding a ``bencode``
structure is non-recursive, thus preventing ``RuntimeException``.


Usage
-----


.. code:: python

    >>> from flatbencode import encode, decode
    >>> encode({b'foo': [b'bar', 1]})
    b'd3:fool3:bari1eee'
    >>> decode(b'ldei0e0:e')
    [OrderedDict(), 0, b'']


Run tests
---------

.. code::

    $ pip install pytest hypothesis
    $ py.test -v


Changelog
---------

v0.2.1 (2016-10-22)
^^^^^^^^^^^^^^^^^^^

* Do not accept strings as dictionary keys [Antoine Catton]


v0.2.0 (2016-10-22)
^^^^^^^^^^^^^^^^^^^

* Raise an exception when there's still data left. [Tim Ruffing, #2]
* Use bytes as python dictionary keys (instead of strings) [Tim Ruffing, #2]
* Sort dictionary keys when serializing (follows the BEP-0003) [Antoine Catton]


v0.1.0 (2016-06-12)
^^^^^^^^^^^^^^^^^^^

* Initial release.
* Can decode bencoding into a python datastructure.
* Can encode a python datastructure into bencoding serialization format.
genutils 0.3.0
General utilities.
License: MIT
Keywords: development tools

=========================================================
genutils: general utilities for Python development.
=========================================================

.. image:: https://travis-ci.org/stbraun/genutils.svg?branch=master

.. image:: https://readthedocs.org/projects/genutils/badge/?version=latest


Just some easily reusable general stuff.

Please find the documentation at http://genutils.readthedocs.org/en/latest/.


Installation
------------

The easiest way to install is via ``pip`` ::

    $ pip install genutils

There are tests that can be run with with ``pytest`` or ``nosetest``.



Copyright & License
-------------------

  * Copyright 2015, Stefan Braun
  * License: MIT
pypcappy 0.0.7
Pure Python3 PcapNg reader
License: MIT
Keywords: pcap

PyPcapPy
========
**A Pure Python3 PcapNg reader**

[![Build Status](https://travis-ci.org/TheBiggerGuy/pypcappy.svg?branch=master)](https://travis-ci.org/TheBiggerGuy/pypcappy)
[![Coverage Status](https://coveralls.io/repos/github/TheBiggerGuy/pypcappy/badge.svg?branch=master)](https://coveralls.io/github/TheBiggerGuy/pypcappy?branch=master)
[![Requirements Status](https://requires.io/github/TheBiggerGuy/pypcappy/requirements.svg?branch=master)](https://requires.io/github/TheBiggerGuy/pypcappy/requirements/?branch=master)
[![PyPI version](https://badge.fury.io/py/pypcappy.svg)](https://badge.fury.io/py/pypcappy)

Use
===
```python
with PcapNgFile('file_name.pcapng.gz') as pcap_file:
  for packet in pcap_file.packets:
    print(packet)
```

Why not pypcap or pypcapfile?
=============================
* Pure python
 * Will work on CPython, PyPy, Jpython or whatever
* Python 3
 * No legacy packet data as strings
* PcapNG
 * Only support for the new *next gen* format
* Gzip
 * Build in support for both *.pcapng and *.pcapng.gz files
 
Downloads
=========
* Source tar.gz via [GitHub](https://github.com/TheBiggerGuy/pypcappy/releases/latest)
* [PyPI](https://pypi.python.org/pypi/pypcappy)

Links
=====
* http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html