semvec/pypi-packages huggingface dataset:
visdebug 0.0.1
Visual utils for debugging
License: MIT
Keywords: debugging development

Some Debugging Utilities
=======================

Right now there's just one:
parr(array, indexes)
This will print the array, and color each index of indexes in array.

For example:
parr([5, 6, 9], [1]) Will print "5 6 9", where 6 has a grey background.
fsplit 1.0.0
Split files into small portable chunks
License: MIT
Keywords: files chunk split parts portable join tar

fsplit
******
Split file into small portable chunks.

.. image:: https://travis-ci.org/leosartaj/fsplit.svg
    :target: https://travis-ci.org/leosartaj/fsplit

Installation
============
fsplit can be installed using pip::

    pip install fsplit

Uninstalling
============
fsplit can be uninstalled using pip::

    pip uninstall fsplit

Dependencies
============
fsplit is based on Python 2.7.

Documentation
=============

Splitting files
---------------
fsplit can be used for splitting files::

    fsplit target [options]

Run the following command, for various options::

    fsplit --help 

Joining files split using fsplit
--------------------------------
fsplit provides a utility, **fjoin** for joining files split using fsplit::

    fjoin target [options]

Run the following command, for various options::

    fjoin --help 

Bugs
====
.. |issues| replace:: https://github.com/leosartaj/fsplit/issues

For filing bugs raise an issue at |issues|


Releases
********

1.0.0
=====
* split files into small chunks
* Convert chunks into tarfiles
* join files
timeout_wrapper 0.1.0
Timeout decorator with defaults and exceptions.
License: MIT

Timeout wrapper
===============

.. image:: https://badge.fury.io/py/timeout_wrapper.png
    :target: http://badge.fury.io/py/timeout_wrapper

.. image:: https://pypip.in/d/timeout_wrapper/badge.png
        :target: https://pypi.python.org/pypi/timeout_wrapper


Timeout decorator with defaults and exceptions.

Documentation
-------------

Usage of this decorator is really simple - to set the timeout, just add
``@timeout(time)`` decorator to your function definition::

    @timeout(3)  # 3 seconds
    def myfunc(..):
        ..

If the ``myfunc()`` call timeouts, ``TimeoutException`` is raised.

Optionally, you can also set your own message for exception::

    @timeout(3, exception_message="Oh noez")
    def myfunc(..):
        ..

or use default value, instead of exception::

    @timeout(3, False):
    def myfunc(..):
        ..

Thats all.

Changelog
=========



0.1.0
-----
    - Project created.
uuid64 0.2.0
Generate 64bit UUIDs
License: MIT
Keywords: uuid 64bit

This is a simple script that generates a 64bit UUID. The normal type of UUID
(e.g. those available in the uuid module) are 128bit, which provides
substantially greater ability to avoid collision between generated values.
However, it is sometimes convenient to have a smaller UUID, e.g. if the number
of generated values is not terribly large or will not be generated in large
batches. Or, perhaps, due to a lack of support for 128bit integers.

The algorithm used to generate these UUIDs is very simple. The UUID consists of
two 32bit parts. The first part is base upon the current time (seconds since the
beginning of epoch). When UUIDs are not generated in batches, i.e. all at the
same time, the time acts as an incrementing value so that UUID generate many
seconds apart are almost certain to be different (note that clock timing on
different machines means that this is not a guarantee).

The second part is a 32bit random number taken from the system that the script
is running on, e.g. on linux the value is taken from /dev/urandom rather than a
pseudo-random generator.
chinadns 0.2.3
A DNS forwarder that ignore incorrect responses
License: MIT

ChinaDNS
========

|PyPI version| |Build Status|

A DNS forwarder that ignores incorrect(you know it) responses.

Install
-------

::

    pip install chinadns

or

::

    easy_intall chinadns

Usage
-----

Run ``sudo chinadns`` on your local machine. ChinaDNS creates a DNS
server at ``127.0.0.1:53``.

Set your DNS to 127.0.0.1 and you're done.

::

    $ nslookup www.youtube.com
    Server:     127.0.0.1
    Address:    127.0.0.1#53

    Non-authoritative answer:
    www.youtube.com canonical name = youtube-ui.l.google.com.
    youtube-ui.l.google.com canonical name = youtube-ui-china.l.google.com.
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.102
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.101
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.113
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.100
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.139
    Name:   youtube-ui-china.l.google.com
    Address: 173.194.72.138

Advanced
--------

::

    $ chinadns -h
    usage: chinadns [-h] [-b BIND_ADDR] [-s DNS]

    Forward DNS requests.

    optional arguments:
      -h, --help            show this help message and exit
      -b BIND_ADDR, --local_address BIND_ADDR
                            address that listens, default: 127.0.0.1
      -s DNS, --dns DNS     DNS server to use, default: 8.8.8.8

License
-------

MIT

Bugs and Issues
---------------

Please visit `Issue
Tracker <https://github.com/clowwindy/ChinaDNS/issues?state=open>`__

Mailing list: http://groups.google.com/group/shadowsocks

.. |PyPI version| image:: https://img.shields.io/pypi/v/chinadns.svg?style=flat
   :target: https://pypi.python.org/pypi/chinadns
.. |Build Status| image:: https://img.shields.io/travis/clowwindy/ChinaDNS/master.svg?style=flat
   :target: https://travis-ci.org/clowwindy/ChinaDNS