semvec/pypi-packages huggingface dataset:
storjkademlia 0.7.4
Kademlia is a distributed hash table for decentralized peer-to-peer computer networks.
License: MIT

# Python Distributed Hash Table
[![Build Status](https://secure.travis-ci.org/bmuller/kademlia.png?branch=master)](https://travis-ci.org/bmuller/kademlia)
[![Docs Status](https://readthedocs.org/projects/kademlia/badge/?version=latest)](http://kademlia.readthedocs.org)

**Documentation can be found at [kademlia.readthedocs.org](http://kademlia.readthedocs.org/).**

This library is an asynchronous Python implementation of the [Kademlia distributed hash table](http://en.wikipedia.org/wiki/Kademlia).  It uses [Twisted](https://twistedmatrix.com) to provide asynchronous communication.  The nodes communicate using [RPC over UDP](https://github.com/bmuller/rpcudp) to communiate, meaning that it is capable of working behind a [NAT](http://en.wikipedia.org/wiki/NAT).

This library aims to be as close to a reference implementation of the [Kademlia paper](http://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf) as possible.

## Installation

```
pip install kademlia
```

## Usage
*This assumes you have a working familiarity with [Twisted](https://twistedmatrix.com).*

Assuming you want to connect to an existing network (run the standalone server example below if you don't have a network):

```python
from twisted.internet import reactor
from twisted.python import log
from kademlia.network import Server
import sys

# log to std out
log.startLogging(sys.stdout)

def quit(result):
    print "Key result:", result
    reactor.stop()

def get(result, server):
    return server.get("a key").addCallback(quit)

def done(found, server):
    log.msg("Found nodes: %s" % found)
    return server.set("a key", "a value").addCallback(get, server)

server = Server()
# next line, or use reactor.listenUDP(5678, server.protocol)
server.listen(5678)
server.bootstrap([('127.0.0.1', 1234)]).addCallback(done, server)

reactor.run()
```

Check out the examples folder for other examples.

## Stand-alone Server
If all you want to do is run a local server, just start the example server:

```
twistd -noy examples/server.tac
```

## Running Tests
To run tests:

```
trial kademlia
```

## Fidelity to Original Paper
The current implementation should be an accurate implementation of all aspects of the paper save one - in Section 2.3 there is the requirement that the original publisher of a key/value republish it every 24 hours.  This library does not do this (though you can easily do this manually).
urwid_timed_progress 1.1.1
Urwid Timed Progress Bar
License: MIT
Keywords: ui widget curses progress bar

|Docs| |Downloads| |License|

urwid_timed_progress
====================

**urwid_timed_progress** is an Urwid progress widget that displays enhanced
progress with custom units, rate of progress, and estimated time remaining.

Screencast
==========

.. image:: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screencast-thumb.png
    :target: https://asciinema.org/a/35925

Example screenshot showing two progress bars
============================================

.. image::  https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screenshot.png
    :alt: Timed Progress Bars
    :target: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/examples/current_file_and_overall_progress.py

Installation
============

.. code::

    pip install urwid_timed_progress

Usage
=====

Create timed progress bar, much like a regular ProgressBar::

	file_size_mb = 1234
	progress = TimedProgressBar('normal', 'complete', label='Current File',
	                            units='MB', done=file_size_mb)

As the file operation proceeds update the progress bar::

	progress.add_progress(1)  # each time 1 unit of progress has been made

``add_progress()`` updates the progress bar rate and estimated time remaining.

To update the timer without adding progress do::

	progress.add_progress(0)

See `example code`_.

Development
===========

The project lives on GitHub. `Bug reports, questions, and comments are most welcome <https://github.com/mgk/urwid_timed_progress/issues>`_.

.. _example code: https://github.com/mgk/urwid_timed_progress/blob/master/examples/

.. |Docs| image:: https://readthedocs.org/projects/urwid-timed-progress/badge/?version=latest&style=flat
    :alt: Documentation Status
    :scale: 100%
    :target: http://urwid-timed-progress.rtfd.org/

.. |Downloads| image:: https://img.shields.io/pypi/dm/urwid_timed_progress.svg
    :target: https://pypi.python.org/pypi/urwid_timed_progress

.. |License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
    :target: https://github.com/mgk/urwid_timed_progress/blob/master/LICENSE
frigg-settings 3.1.2
A module for parsing and discovery of frigg settings file
License: MIT

# frigg-settings [![Build status](https://ci.frigg.io/badges/frigg/frigg-settings/)](https://ci.frigg.io/frigg/frigg-settings/last/) [![Coverage status](https://ci.frigg.io/badges/coverage/frigg/frigg-settings/)](https://ci.frigg.io/frigg/frigg-settings/last/)
A python module for parsing and discovery of frigg settings file

## Installation
```
pip install frigg-settings
```

## Usage
The same content as t.py, thus run `python t.py` to se the output.

```python
from frigg_settings.helpers import FileSystemWrapper
from frigg_settings import build_tasks, load_settings_file, build_settings

path = os.getcwd()
runner = FileSystemWrapper()

print('Tasks: {}'.format(build_tasks(path, runner)))
print('Settings-file: {}'.format(load_settings_file('{}/.frigg.yml'.format(path), runner)))
print('Build-settings: {}'.format(build_settings(path, runner)))
```

The script prints the following:

```text
Tasks: ['tox', 'flake8']
Settings-file: {'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
Build-settings: {'webhooks': [], 'services': [], 'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
```

--------------

MIT © frigg.io