semvec/pypi-packages huggingface dataset:
zmote 2017.7
Unofficial zmote.io interface
License: MIT
Keywords: sample setuptools development

Unofficial zmote.io interface
=======================

This module serves as a Python interface for the [zmote.io](http://zmote.io/) 
IoT gadget- it's basically a USB-powered, WiFI connected IR blaster.

The module was written using the 
[zmote.io API documentation](http://www.zmote.io/apis) and tested against two 
real devices.

----

#### Overview

This module supports the discovery of devices via multicast and interacting
with devices via HTTP or TCP; in all instances communication is directly
with the device (and not via the zmote.io cloud application).

#### To install for use standalone/in your project

<code>pip install zmote</code>

##### To passively discover all devices on your network until timeout (30 seconds)

<code>python -m zmote.discoverer</code>  

##### To actively discover two devices on your local network

<code>python -m zmote.discoverer -l 2 -a</code>  

##### To passively discover a particular device on your local network (e.g. in case of DHCP)

<code>python -m zmote.discoverer -u CI001f1234</code>  

##### To put a device into learn mode via TCP

<code>python -m zmote.connector -t tcp -d 192.168.1.1 -c learn</code>

##### To tell a device to send an IR signal via HTTP
<code>python -m zmote.connector -t http -d 192.168.1.1 -c send -p 1:1,0,36000,1,1,32,32,64,32,32,64,32,3264</code>

### To install for further development

Prerequisites:
 * [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/])

#### Clone the repo
<code>git clone https://github.com/initialed85/zmote

cd zmote</code>

#### Build the virtualenv
<code>mkvirtualenv zmote

pip install -r requirements-dev.txt</code>

#### Run the tests
<code>py.test -v</code>
boto3facade 0.5.9
A simple facade for Boto3
License: MIT

boto3facade
=========================

[![Build Status](https://travis-ci.org/FindHotel/boto3facade.svg?branch=master)](https://travis-ci.org/FindHotel/boto3facade)
[![PyPI](https://img.shields.io/pypi/v/boto3facade.svg?style=flat)](https://pypi.python.org/pypi/boto3facade)

A simple facade for [boto3][boto3] that makes some common tasks easier. The 
`boto3facade` module is not intended to be used directly but as a shared
components of projects that use boto3.


[boto3]: https://github.com/boto/boto3


## Installation

To install the development version:

```
    pip install git+https://github.com/FindHotel/boto3facade
```

To install the latest stable release:

```
    pip install boto3facade
```

## Quickstart

The `boto3facade` package contains a collection of modules that implement
facades to different AWS services. For instance the `boto3facade.ec2` module
implements the facade to [AWS EC2 service][ec2]. Each of these modules 
typically contain just one class, named as the corresponding AWS service. E.g.
the `boto3facade.ec2` module contains an `Ec2` class. In some cases, there may
also be public module functions that implement utilities that don't require
access to the [AWS boto3 SDK][boto3]. For instance in the EC2 facade:

[ec2]: https://aws.amazon.com/ec2/

```python
import boto3facade.ec2 as ec2

# Get the name of the role associated to the EC2 instance
if ec2.in_ec2():
    # If this code is running in an EC2 instance
    role_name = ec2.get_instance_profile_role()
else:
    role_name = None
```

Facade methods that actually use `boto3` are always implemented as instance
methods:

```python
from boto3facade.ec2 import Ec2

# Create the facade object
my_ec2_facade = Ec2()

# Get the list of AMIs that have tags matching the provided ones
ami_tags = {'Name': 'niceimage', 'Version', 'latest'}
ami_list = my_ec2_facade.get_ami_by_tag(ami_tags)

# Get the SecurityGroup boto3 resource with a certain name
my_sg = my_ec2_facade.get_sg_by_name('sgname')
```


## Development

```
    make develop
    . .env/bin/activate
```


## Contact

If you have questions, bug reports, suggestions, etc. please create an issue on
the [GitHub project page](http://github.com/FindHotel/boto3facade).


## License

This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License)

See [License file](https://github.com/FindHotel/boto3facade/blob/master/LICENSE)


© 2016 German Gomez-Herrero, and FindHotel.
vblapi 1.1.0
Wrapper for the Flemish Basketball League's API.
License: MIT

================
MODULE: ezsocket
================

The Python module 'vblapi' provides a small API wrapper for the Flemish
Basketball League's (VBL) data service. Only a portion of the API's 
functionality is covered as only team-specific information should be requested. 

Given the GUID of any team, you can request:
 - the current season's ranking of the team (incl. rankings of other teams)
 - the current season's matches


Retrieving Team GUID
--------------------

The GUID can be determined by using the actual service at the following link:
http://www.vlaamsebasketballiga.be/competitie/resultaten-en-kalender

Find your team(s) of interest, and extract the GUID of those teams by
inspecting the embedded frame within the page (urls, AJAX requests, etc.)

The GUID looks like 'BVBLXXXXCCC++T', where:
 - XXXX is the numeric club identifier
 - CCC is the age category (ex. HSE)
 - T is a numeric value that identifies different teams at the same club in 
   the same age category (A->1,B->2,C->3,...)

Ex. BVBL1004HSE++2 is the code given to the following team:
 - 1004 = Port of Antwerp Giants
 - HSE = Heren, Senioren (Male, Seniors)
 - 2 = 'B-Team'


Built-in Tool
-------------

This module comes with a simple test tool to check its output.

    $ python -m vblapi <GUID>


Running Unit Tests
------------------

To run the available unit tests, execute the following command from the 
project's root directory:

    $ python -m unittest
doozerify 0.2.0
A tool to aid the transition from Henson to Doozer
License: MIT
Requires Python: >=3.6

#########
doozerify
#########

Are you a Henson_ user? Are you looking to take advantage of unreleased
features? Have you discovered Doozer_ and are curious to try it but are
concerned about missing extensions or the work involved in updating your
imports?

If you've answered "yes" to these questions then ``doozerify`` is for you.
``doozerify`` is a module that you can install that will make ``import`` look
for Doozer equivalents for all of your Henson imports, falling back to the
Henson version if no equivalent is found.


Installation
############

    $ pip3 install doozerify


Usage
#####

Place the following code at the beginning of the entry point to your
application::

    import doozerify
    doozerify.install()


Example
=======

.. code::

    import doozerify
    doozerify.install()

    from henson import Application


    class Consumer(object):
        async def read(self):
            return {}


    async def callback(app, message):
        return message

    app = Application('doozerified', callback=callback, consumer=consumer)
    app.run()


But wait, there's more!
=======================

What if you already use Doozer_ but want to use an extension that's only
available for Henson_? ``doozerify`` lets you do that, too!

.. code::

    import doozerify
    doozerify.install()
    doozerify.install_fallback()

    from doozer import Application
    from doozer_henson_only import Extension


.. _Doozer: https://doozer.readthedocs.io
.. _Henson: https://henson.readthedocs.io
copyingmock 0.2
A subclass of MagicMock that copies the arguments
License: MIT

Copying Mock
============

|travis|_ |coveralls|_ |pypi|_ |pyversions|_ |womm|_

.. |travis| image:: https://img.shields.io/travis/wimglenn/copyingmock.svg?branch=master
.. _travis: https://travis-ci.org/wimglenn/copyingmock

.. |coveralls| image:: https://img.shields.io/coveralls/wimglenn/copyingmock.svg
.. _coveralls: https://coveralls.io/github/wimglenn/copyingmock?branch=master

.. |pypi| image:: https://img.shields.io/pypi/v/copyingmock.svg
.. _pypi: https://pypi.python.org/pypi/copyingmock

.. |pyversions| image:: https://img.shields.io/pypi/pyversions/copyingmock.svg
.. _pyversions: 

.. |womm| image:: https://cdn.rawgit.com/nikku/works-on-my-machine/v0.2.0/badge.svg
.. _womm: https://github.com/nikku/works-on-my-machine


``MagicMock`` has problems when used on a function with mutable arguments.  This is called out in the `documentation <https://docs.python.org/3/library/unittest.mock-examples.html#coping-with-mutable-arguments>`_:

   Another situation is rare, but can bite you, is when your mock is called with mutable arguments. ``call_args`` and ``call_args_list`` store references to the arguments. If the arguments are mutated by the code under test then you can no longer make assertions about what the values were when the mock was called.

They then go on to propose a workaround, using ``side_effect``, but it's not very likable.  There is also an elegant recipe offered which copies arguments at call-time.  It's simply a subclass of ``MagicMock`` which copies the arguments, instead of storing references.  I'm not sure why the recipe wasn't included directly in ``mock``, so here it is as a third-party package.
django-acc 0.0.5.dev8
A simple Django app for account managemnt
License: MIT
Requires Python: >=3.5

DON'T USE ME. I'M BEING USED INTERNALLY ONLY.

Django-acc: Another reusable DjangoRestFramework account management
application

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

``pip install django-acc``

Requirements
------------

-  django >= 2.0
-  djangorestframework >= 3.7.7

Configurations
--------------

settings.py
~~~~~~~~~~~

-  Add ``rest_framework``, ``rest_framework.authtoken``, ``django_acc``
   to INSTALLED\_APPS
-  Set

   ::

       REST_FRAMEWORK = {
       'DEFAULT_AUTHENTICATION_CLASSES': (
           'rest_framework.authentication.TokenAuthentication',
       ),
       'DEFAULT_PERMISSON_CLASSES': (
           'rest_framework.permissions.IsAuthenticated'
       )
       }

urls.py
~~~~~~~

-  Add ``path('accounts/', include('django_acc.urls'))`` to
   ``urlpatterns`` in your project's ``urls.py``

Features
========

-  api views for creating users ('/users/') and logging in users
   ('/login/')
-  Profile mamangement:

   -  Every user has an associated profile which provide:

      -  name

-  Organization management

   -  Default organization with the same name for all account

Concepts
========

*Organization* An organization is a group of accounts. It's optional to
create a new organization, but when a new user is created, a default
organization with the same name is also created.
quoteBot 0.2.52.dev0
a package to create text quote bots on twitter quickly
License: MIT

quoteBot
========

this package will allow you to quickly make a twitter bot that tweets
quotes with options for image generation of said quote.
.

inspired heavily by my previous creations, `@Baudrillard\_Bot <https://github.com/ejmg/baudrillardBot>`_ and `@TOUGHLOVEBOT <https://github.com/ejmg/toughLoveBot/>`_.

WORK IN PROGRESS
----------------
ulam-spiral 1.2
Ulam spiral
License: MIT
Keywords: ulam spiral numbers

About
----------

It's very simple and interesting program, that's helps you sometimes!
I realy hope, that I helped someone. If it's true, let me know by star. Thanks.

I'm a man, who like math and programming. Thats why I wrote this. And by this I want to help other.

Using
----------
::

    import ulam
    test = ulam.Spiral()
    test.cout()
    # 4 3
    # 1 2
    test.run(16)
    test.cout()
    # 16 15 14 13
    #  5  4  3 12
    #  6  1  2 11
    #  7  8  9 10

Installation
---------------
***************
By pip
***************
::

    $pip install ulam_spiral

***************
>From source
***************
::

    $ git clone https://gitlab.com/VadVergasov/ulam.git
    $ cd ulam
    $ python setup.py install

License
----------

The project is licensed under the MIT license.
ward-metrics 0.9.5
Tools for event-based evaluation for activity recognition problems.
License: MIT
Keywords: machine learning,activity recognition,evaluation

# ward-metrics
Python implementation of the event-based evaluation metrics for activity recognition tasks proposed by Ward et. all 

For academic citations you can use this [paper](http://dl.acm.org/citation.cfm?id=1889687).

# Installation
```
pip install ward-metrics
```

# Usage and documentation
For examples and documentation check out the documentation website at [http://ward-metrics.readthedocs.io].