semvec/pypi-packages huggingface dataset:
mochad_dispatch 0.1.8
mochad_dispatch is a daemon written in Python that translates mochad's tcp-based events to MQTT messages
License: MIT

mochad_dispatch
===============
**mochad_dispatch** allows you to connect your X10 security devices (door/window sensors, motion sensors, remotes) to home automation software like `OpenHAB <http://www.openhab.org/>`_, `Home Assistant <https://home-assistant.io/>`_ or `Domoticz <https://domoticz.com/>`_

What exactly does it do?
------------------------
**mochad_dispatch** connects to `mochad <https://sourceforge.net/projects/mochad/>`_ (which reads messages from a USB receiver like the X10 CM15a) and listens for X10 security messages then publishes those to an MQTT broker.

How do I use it?
----------------
Run mochad_dispatch with a mochad hostname and a MQTT URI
::

    $ mochad_dispatch -s hal9000 mqtt://localhost:1833

Then subscribe to the appropriate device topics.  The general format is

    X10/**MOCHAD_HOST**/security/**ADDRESS**

Troubleshooting
---------------
Start by making sure your MQTT broker is relaying X10 messages by subscribing to the topic

    X10/#

For example, using the mosquitto broker:
::

    $ mosquitto_sub -v -t X10/#
    X10/hal9000/security/C8:21:B2 {"dispatch_time": "2016-02-18T18:36:12.147877+00:00", "func": {"event_type": "contact", "event_state": "normal", "device_type": "DS10A", "delay": "min"}}
    X10/hal9000/security/33:8C:30 {"dispatch_time": "2016-02-18T18:30:42.763780+00:00", "func": {"event_state": "normal", "device_type": "DS10A", "delay": "min", "event_type": "contact"}}
django-js-utils-nextgen 0.9.0
Django JS Urls: urlpatterns for clientside
License: MIT

Django JS Utils [![Build Status](https://travis-ci.org/mixman/django-js-utils.svg?branch=master)](https://travis-ci.org/mixman/django-js-utils)
===============

A fork of dutils, a library for using Django urlpatterns on the clientside.

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

1. Add `django_js_utils` to INSTALLED_APPS

2. Set the file to hold the generated urls
```URLS_JS_GENERATED_FILE = 'static/js/dutils.conf.urls.js'```

3. Add inclusion/exclusions patterns
```
    URLS_INCLUDE_PREFIX = ['^api',]
    URLS_INCLUDE_PATTERN = ['index','status']
    URLS_EXCLUDE_PREFIX = ['^internal',]
    URLS_EXCLUDE_PATTERN = ['index',]
```

4. Add to your project:
```
    <script type="text/javascript" src="{{STATIC_URL}}dutils.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}dutils.conf.urls.js"></script>
```

Usage
-----

1. Create the `URLS_JS_GENERATED_FILE` (for production remember to run `collectstatic`):
```
    python manage.py js_urls
```

2. Clientside Django urlpatterns:
```
    url('time_edit', {'project_id': 1, time_id: 2}
    url('time_edit', [1, 2])
```

Credits
-------

Credit contributing to django-js-utils goes to:
* Marco Louro (author)
* Chris Reeves
* Dimitri Gnidash
* Luke Zapart
* Robby Dermody
* Antti Kaihola
* Simon Williams
* Jussi Vaihia
Juice 0.0.23
A full stack Flask based framework that put structure in the file system. Features: Caching, Mailing, Storage, CSRF, recaptcha and more
License: MIT
Keywords: flask,juice,templates,views,classy,framework,mvc,blueprint,juice

Juice

Juice is a Flask based framework to help quickly develop web applications, by
adding structure to your views and templates.

Philosophy:

To create a framework that runs everywhere, regardless of the platform, by
providing cloud balh...

It made the following decisions for you: (of course you can change them)


It comes with pre-built components:


And it is still Flask.

https://github.com/mardix/Juice
chClassifier 0.6.4
Neural Network to classify short strings
License: MIT
Keywords: deep-learning machine-learning string classifier

Char Classifier
---------

Given a short phrase, train a neural network to classify it based on the characters that it contains.

The trainer takes in a file of phrases (separated by new line) and a file of target values (separated by new line).

To train on the sample data (parts of speech classification):

```
import chClassifier
p = chClassifier.Trainer("sample/words", "sample/parts-of-speech")
p.train([100, 100], 20, 100)
p.save("sample", "example-run")
```

This will save a trained model with the tag 'example-run' in the sample directory. To use that model, run:

```
import chClassifier
k = chClassifier.Classifier("sample", "example-run")
print k.classify("dog")
```

This will return an array of tuples of original label + likelyhood that the label is correct, like so:

```
>> print k.classify("dog")
[(u'VB', 0.050349433), (u'NN', 3.8027303)]
```

The higher the number, the more sure we are of the classification (`dog` is definitely a noun, for example, and probably not a verb).
safeurl 0.0.7
Simple and clever analyzer, decoder, encoder ... urls on python, using requests
License: MIT
Keywords: python,analizer,urls

SafeUrl: link analyzer on Python
================================
Simple and clever analyzer, decoder, encoder ... urls on python, using requests

.. image:: https://badge.fury.io/py/safeurl.svg
    :target: https://badge.fury.io/py/safeurl


.. image:: https://travis-ci.org/FrodoTheTrue/safeurl.svg?branch=master
    :target: https://travis-ci.org/FrodoTheTrue/safeurl


.. image:: https://coveralls.io/repos/github/FrodoTheTrue/safeurl/badge.svg?branch=master
    :target: https://coveralls.io/github/FrodoTheTrue/safeurl?branch=master


Installation
------------
.. code-block:: bash

    $ pip install safeurl

Usage
-----
Easy way to get real url:

.. code-block:: python

    from safeurl.core import getRealURL
    getRealURL('http://bit.ly/1gaiW96')
    # https://www.yandex.ru/

    from safeurl.core import getRealURL
    getRealURL(['http://bit.ly/1gaiW96', 'http://bit.ly/1gaiW96'])
    # ['https://www.yandex.ru/', 'https://www.yandex.ru/']


Аlso you can find broken urls:

.. code-block:: python

    from safeurl.core import getRealURL
    getRealURL('http://bit.ly.wrong/wrong')
    # 'Failed'

    from safeurl.core import getRealURL
    getRealURL(['http://bit.ly.wrong/wrong', 'http://bit.ly/1gaiW96'])
    # ['Failed', 'https://www.yandex.ru/']