semvec/pypi-packages huggingface dataset:
pyenet311 1.3.14
A python wrapper for the ENet library

pyenet
======

pyenet is a python wrapper for the ENet library by Lee Salzman,
http://enet.bespin.org

It was originally written by Scott Robinson scott@tranzoa.com and is
currently maintained by Andrew Resch andrewresch@gmail.com

This fork is being maintained by the piqueserver team for purposes of
including patches for bugs found while developing piqueserver, and to
provide a package on pypi.

License
-------

pyenet is licensed under the BSD license, see LICENSE for details. enet
is licensed under the MIT license, see
http://enet.bespin.org/License.html

Dependencies
------------

Building pyenet requires all the same dependencies as enet plus Cython
and, obviously, Python.

Installation
------------

From pypi
~~~~~~~~~

::

    pip install pyenet

Manually from git
~~~~~~~~~~~~~~~~~

Run the setup.py build:

::

    $ python setup.py build

Once that is complete, install the new pyenet module:

::

    # python setup.py install

Packaging notes
---------------

-  update package version in ``setup.py``
-  create a virtualenv
   (``python3 -m venv venv && source venv/bin/activate``)
-  install the requirements: ``pip install -r dev-requirements.txt``
-  build the source dist: ``python setup.py sdist``
-  make sure docker is installed and running and you re on a 64bit linux
   machine
-  build the binary dists: ``./scripts/build_packages.sh``
-  upload to pypi: ``twine upload dist/* wheelhouse/pyenet*``
-  commit, tag, push to github

Usage
-----

Once you have installed pyenet, you only need to import the enet module
to start using enet in your project.

Example server:

::

    >>> import enet
    >>> host = enet.Host(enet.Address("localhost", 33333), 1, 0, 0)
    >>> event = host.service(0)

Example client:

::

    >>> import enet
    >>> host = enet.Host(None, 1, 0, 0)
    >>> peer = host.connect(enet.Address("localhost", 33333), 1)

More information on usage can be obtained from:
http://enet.bespin.org/Tutorial.html
pyfuf 0.0.3
support for fuff in python

# A simple wrapper for fuff fuzzer in python

## Install!

```bash
pip install pyfuf
```

or 

```bash
git clone git@github.com:0xleft/pyfuf.git
cd pyfuf
pip install .
```

## Usage

There is a good example in `example.py` file.

```python
import pyfuf

# callback function when a line from fuff is parsed
def callback(line):
    # if the line is a finding, parse it
    if pyfuf.get_line_type(line) == pyfuf.LineType.FINDING:
        finding = pyfuf.parse_finding_line(line)
        # print the parsed finding object
        print(finding)

# arguments for fuff
args = pyfuf.FuffCommandBuilder()
args.set_target("http://localhost/FUZZ.php")
args.set_wordlist("wordlist.txt")
args.set_method("GET")
args.set_user_agent("PyFuf")
args.follow_redirects()
args.ignore_wordlist_comments()

# start fuzzing
pyfuf.fuzz(args, callback)
```

# TODO

- Add tests
- Add docs
- Make codebase cleaner