semvec/pypi-packages huggingface dataset:
playtest 0.0.10
A library for rapid prototyping of boardgames.
License: MIT
Requires Python: >=3.7

# PyPlaytest

[![Build Status](https://travis-ci.org/dat-boris/py-playtest.svg?branch=master)](https://travis-ci.org/dat-boris/py-playtest)
[![codecov](https://codecov.io/gh/dat-boris/py-playtest/branch/master/graph/badge.svg)](https://codecov.io/gh/dat-boris/py-playtest)

A library for implementing framework to do virtual playtesting for
boardgames.

- Provide basic components to make it easy to create new prototypes

- Wraps an API around the game you created to integrate with [OpenAI gym](https://gym.openai.com/)
  or a default integration harness.

# A Quick Demo

To see a demo of this game, clone this repo and run:

```
pipenv install
PYTHONPATH=. pipenv shell example/play.py
```

And you will be able to use our interactive harness to play the game.

```
��: Resetting game.

��: Start of next round!

��: Player 0 - it is your turn!

��: Let's see your two card.

��: How much you want to bet?

Player 0 taking action...
{'discarded': [],
 'others': [{'bank': 10, 'bet': 0}],
 'self': {'bank': 10, 'bet': 0, 'hand': ['7h', '7s']}}
�� Please enter action ([bet(0->10)]):
```

And you can continue playing the prototype.

You can observe the code that generates the game (in a few lines of python!)
in [pt-blackjack/game.py](pt-blackjack/game.py).

# Creating the AI

> Experimental feature: this is a very basic generic game AI that we built!

In play testing a game, one enemy is the problem with context switching between
different players. This makes it hard to understand your design from player's
prospective. This allows us to train a simple AI that is useful for testing the
game.

To create the bot, do:

```
PYTHONPATH=. pipenv shell example/train.py
```

Which will then output the bot to the a weight file (`<bot>.h5f`) folder. You can then
play against the bot by doing:

```
PYTHONPATH=. pipenv shell example/play.py --ai
```

Which then you can start the game against the AI from the loaded AI weight file.

# Getting started

To get started, read the docs at [here](#todo).

```
pip install playtest
```

Then can just `import playtest` and get started in creating your prototype.
dividend 1.0.3
The Unofficial API for Dividend.com
License: MIT
Keywords: dividend,api,screener,dividend api

# dividend

*The Unofficial API for dividend.com*

[![Build Status](https://travis-ci.com/tke578/dividend.svg?branch=master)](https://travis-ci.com/tke578/dividend)
[![PyPI version](https://badge.fury.io/py/dividend.svg)](https://badge.fury.io/py/dividend)
[![Python version](https://img.shields.io/badge/Python-3.6-blue.svg)](https://shields.io/)
[![Downloads](https://pepy.tech/badge/dividend)](https://pepy.tech/project/dividend)

Installation
-----

This package has been uploaded to [Pypi](https://pypi.org/project/dividend/), to install the latest package:

``` pip install dividend```

### Using the Screener

```
from dividend.screener import Screener

filters = { "f_7_min": 100. "f_7_max": 500 } #Share price between $100 and $500

equities = Screener(filters=filters)

equities.data
[{'ticker': 'YMZBY', 'company_name': 'Yamazaki Baking Co Ltd - ADR', 'payout_ratio': '0.00%', 'payout_frequency': 'N/A', 'consecutive_years_of_growth': '0'}...]

equities.total_records
136
```
#### Screener Tables

There are 3 table views to choose from; ```'overview', 'attributes' & 'dividend-growth'```

You can change table view when initialzing ```Screener(table='overview')```

The default is set to ```'overview'```


#### Screener Filters

You can pass in an arbitrary amount of valid filters.Each filter has a correspondng key name. To find the corresponding key, you will need to parse the screener web page url params.

The filter params follows a alphanumeric convention. For instance, if you wish to filter by sector which are in Basic Materials, the filter params will look as follows: ```f_1=Basic%20Materials```

The  filer object: ```filters = { "f_1": ["Basic Materials"] }```


Filters with checkboxes are passed as a collection of array strings. Filters with ranges are passed with a min and max values and can also accept boolean values.


Current limit is 4000 records to minimze large requests. If you wish to receive more than the limit, create issue ticket.
shorten-url 1.0.0
Python Library to help you short and expand urls using https://rel.ink/
License: MIT
Requires Python: >=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Keywords: url,shorten,url_shortner,API

# shorten_url
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Python Library to help you short and expand urls using https://rel.ink/

## Installation

In order install this package, simply run:

```bash
pip install shorten_url
```

## Usage

To use shorten_url, you first need to import the package:

```python
import shorten_url
```

### Shorten the URL:

```python
shorten_url.short("https://www.linkedin.com/in/salil-gautam/")    # Returns the shortened URL.
```

### Expand the URL:

```python
shorten_url.expand("https://rel.ink/goqDVn")    # Returns the expanded URL.
```




## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://github.com/salil-gtm"><img src="https://avatars2.githubusercontent.com/u/18382251?v=4" width="100px;" alt=""/><br /><sub><b>Salil Gautam</b></sub></a><br /><a href="https://github.com/Quarantine-Projects/shorten_url/commits?author=salil-gtm" title="Code">��</a> <a href="https://github.com/Quarantine-Projects/shorten_url/commits?author=salil-gtm" title="Documentation">��</a> <a href="#example-salil-gtm" title="Examples">��</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
fs-dlk 0.1.3
Azure Datalake filesystem for PyFilesystem2
License: MIT
Keywords: pyfilesystem,Azure,Datalake,dlk

fs\_dlk
=======

`pyfilesystem2 <https://github.com/PyFilesystem/pyfilesystem2>`_ interface to `Azure Datalake <https://github.com/Azure/azure-data-lake-store-python>`_


Installing
----------

::

    pip install fs-dlk


Opening FS Datalake
-------------------

Authentication with username and password:

.. code-block:: python

    from fs_dlk import DLKFS
    dlkfs = DLKFS("/path/to/the/remote/dir", username="username", password="password")


Authentication with tenant secret:

.. code-block:: python

    from fs_dlk import DLKFS
    dlkfs = DLKFS("/path/to/the/remote/dir", tenant_id="tenant id", client_id="client id", client_secret="client_secret")


Specifying custom store name:

.. code-block:: python

    from fs_dlk import DLKFS
    dlkfs = DLKFS("/path/to/the/remote/dir", store="store name", **auth_args_here)


Authentication with connection strings:
---------------------------------------

Username and password auth:

.. code-block:: python

    import fs
    dlkfs = fs.open_fs("dlk://username:password@/store_name/path/to/remote")


Tenant secret auth:

.. code-block:: python

    import fs
    dlkfs = fs.open_fs("dlk://username:password@tenant-id/store_name/path/to/remote")


Downloading files
-----------------

.. code-block:: python

    with open("local_file", "wb") as local_file:
        dlkfs.download("path/to/remote/file", local_file)


Uploading files
-----------------

.. code-block:: python

    with open("local_file", "wb") as local_file:
        dlkfs.upload("path/to/remote/file", local_file)
rivescript-coverage-plugin 1.1.0
A plug-in to measure code coverage in RiveScript with python
License: MIT
Keywords: rivescript_coverage_plugin

=============================
RiveScript Coverage Plugin
=============================

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

.. image:: https://travis-ci.org/snoopyjc/rivescript_coverage_plugin.png?branch=master
    :target: https://travis-ci.org/snoopyjc/rivescript_coverage_plugin

A plug-in to measure code coverage in RiveScript with python


Features
--------

The RiveScript Coverage Plugin is a plugin for Coverage.py which extends that package to measure code coverage for RiveScript files.  It uses code analysis tools and debug hooks provided by the RiveScript interpreter to determine which lines are executable, and which have been executed.  It supports CPython version 3.6 and above and plugs into Coverage.py version 5.0 and above.  It requires RiveScript 1.14.9 or above.

Documentation is on `Read The Docs`_. Code repository and issue tracker are on
`GitHub`_.

.. _Read The Docs: https://rivescript-coverage-plugin.readthedocs.io/
.. _GitHub: https://github.com/snoopyjc/rivescript_coverage_plugin

Getting Started
---------------

#. Use pip to install::

          $ pip install rivescript_coverage_plugin

#. Create or edit your ``.coveragerc`` file and add this::

    [run]
    plugins = rivescript_coverage_plugin

#. Run the ``coverage`` command or ``pytest`` with the ``--cov`` option and your RiveScript files will automatically be included in the coverage analysis and subsequent report generation.

Note that just like with Python coverage, RiveScript files that are not executed at all will not be part of your coverage report.  To add them, use the ``source = .`` or other more specific source specifier in the ``[run]`` section of your ``.coveragerc`` file or the ``--source`` command line option.  See the `Coverage Documentation`_ section "Specifying source files" for more information on this.

.. _Coverage Documentation: https://coverage.readthedocs.io/



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

The full documentation is at http://rivescript_coverage_plugin.rtfd.org.



History
-------

0.1.0 (2020-01-16)
++++++++++++++++++

* First release on PyPI.

0.2.0 (2020-01-17)
++++++++++++++++++

* Fix Issues #1-#4

0.2.1 (2020-01-19)
++++++++++++++++++

* Fix Issue #5

0.2.2 (2020-01-19)
++++++++++++++++++

* Fix Issue #6

0.2.3 (2020-02-23)
++++++++++++++++++

* Fix Issue #7, #8


1.0.0 (2020-02-28)
++++++++++++++++++

* Add syntax highlighting, fixup some documentation issues, and fix issues #9-#14.

1.1.0 (2020-03-29)
++++++++++++++++++

* Fix issues #15-#18 and #21.
edblpy 1.4.0
A simple and easy-to-use unofficial python wrapper around the Electro discord bot list api
License: MIT
Keywords: edbl,discord,botlist


# Edblpy
<div align="center">
<a href="https://travis-ci.org/will-rowe/banner"><img src="https://travis-ci.org/will-rowe/banner.svg?branch=master" alt="travis"></a>
<a href='http://hulk.readthedocs.io/en/latest/?badge=latest'><img src='https://readthedocs.org/projects/hulk/badge/?version=latest' alt='Documentation Status' /></a>
<a href="https://github.com/will-rowe/banner/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-orange.svg" alt="License"></a>
</div>
Edblpy is an unofficial python module utilizing the electro discord bot list [api](https://www.edbl.xyz/api) . Easy to use and well documented!

# Getting started

- You must have ython 3*
- A bot's / user's id
- Install the module using pip : `pip install edblpy`
- Import what you need : `from edblpy import Bot` or `from edblpy import User`
- View more about usage in the docs section

# Docs

## Class : Bot

### Params ( name , description , type , default )
**id** : **The bot's id (Required when retrieving info)** : **integer** : `None`
**token** : **Your token  (Required when posting the bot's status)** : **string** : `None`
### Methods ( name , description , params , returns)
**get_info** : **Gets the bot's info** : `None` : `Dict`
**post_status** : **Posts the server/user count to the DB , requires auth** : `user_count , server_count` : `Dict`
## Class : User

### Params ( name , description , type , default )
**id** : **The user's id (Required)** : **integer** : `None`
### Methods ( name , description , params , returns)
**get_info** : **Gets the user's info** : `None` : `Dict`


# Examples
Getting a user's info
```py
from edblpy import User
jake = User(480407581085532180)
print(jake.get_info())
```
Getting a bot's info
```py
from edblpy import Bot
mika = Bot(631669116926820353)
print(mika.get_info())
```
Posting a bot's status
```py
from edblpy import Bot
mika = Bot(631669116926820353 , 'YOUR_SUPER_SECRET_TOKEN')
print(mika.post_status(user_count=100 , server_count=100)) # you should probably make the counts dynamic
```
home-service 0.2.2
A simple home monitoring system
License: MIT
Requires Python: >=3.6

# Home Service

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.com/tiega/home-service-v2.svg?branch=master)](https://travis-ci.com/tiega/home-service-v2)
[![Test Coverage](https://api.codeclimate.com/v1/badges/c87f3ff20eec8984e620/test_coverage)](https://codeclimate.com/github/tiega/home-service-v2/test_coverage)

Home service is a simple IoT server that serves REST endpoints for
IoT devices to post sensor data, and a simple web interface for monitoring.

Invoking the command `home-service` will start the server. This is preferably
wrapped in a systemd service and ran as a daemon. Containerised deployment options
are being worked on.


### Installation

Using pip:

```bash
python3 -m pip install home-service
```

### Usage

```bash
Usage: home-service [options]
```

### Options

```bash
Options:
    --version, -v      Get version info and exit
    --help, -h         Print this message and exit

    --port, -p         TCP port to run the server, defaults to port 6613
```