semvec/pypi-packages huggingface dataset:
dmm 0.0.1
DMM API Client for Python

# dmm

DMM API Client for Python

## Dependencies
requests

## Install
```bash
pip intsall dmm
```

## Usage
```python
from dmm import DMM

dmm = DMM('<API_ID>', '<AFFILIATE_ID>')
```

## Function
### get_floors
```python
floors = dmm.get_floors()
```
msgflow 0.6.0
msgFlow is a simple chatbot framework for simple configuration, customization and connection with several services.

# msgFlow

![](https://github.com/colorfulscoop/msgflow/workflows/unittest/badge.svg)

[msgFlow](https://github.com/colorfulscoop/msgflow) is a simple chatbot framework written in Python for simple configuration, customization and connection with several services.

## Installation

Prepare Python >= 3.9. Then install msgFlow from PyPI.

```sh
$ pip install msgflow
```

msgFlow separas dependent libraries for each service. To make all the services available, install msgFlow with the following options.

```sh
$ pip install msgflow[webapi,twitter,slack]
```

## Quick Start

msgFlow requires a configuration file and an App script to run.
To create those files, create your working directory first.

```sh
$ mkdir work
$ cd work/
```

msgFlow provides `init` command to generate the configuratio file and App script for you.

```sh
$ python -m msgflow.main init
$ ls
app.py  config.yml
```

Configuration file tells msgFlow which service is used to get inputs and return the response. and which App class is used.
The App script defines the App class which defines how to generate a response from the input.

As a default, Config file uses stdin to get the input and show the output in the stdout.

Let us run the msgFlow with the Config setting.
You can utilize the `run` command with `--config_file` option which specify the default config file.

```sh
$ python -m msgflow.main run --config_file config.yml
INFO:/work/msgflow/main.py:{"level": "info", "message": {"service": "CliService", "post_service": "CliService"}, "time": "2020-12-26 11:10:43.886375"}
```

The prompt `you>` waits for your input. Input your utterance there.

```sh
you> Hello
App got message: Message(text="Hello", dialog_id="you")
bot> Thank you for your message "Hello"!
you> World
App got message: Message(text="World", dialog_id="you")
bot> Thank you for your message "World"!
```

The default App class shows the message that what kind of message was reached, and then return the response with your input utterance.

To finish the conversation, input `/exit`.

```sh
you> /exit
Bye!
```

## Service List

| Name | Description | Flow message | Post | Respond to message | Where to handle message |
| --- | --- | --- | --- | --- | --- |
| msgflow.service.CliService | Service to get input from stdin and output to stdout | o | o| o | Foreground |
| msgflow.service.CronService | Service to post on a regular basis | o  | | | Foreground |
| msgflow.service.WebapiService | Service to serve web API | o | | o  | Foreground |
| msgflow.service.SlackService | Service to work with Slack | o | o | o | Background |
| msgflow.service.TwitterSampleStreamService | This service gets tweets via [Twitter sampled stream v2](https://developer.twitter.com/en/docs/twitter-api/tweets/sampled-stream/api-reference/get-tweets-sample-stream) | o | | | Background |

o: available, blank: unavailable
matrad-pkg-mancap314 0.0.1
A Python interface to the Binance API
Requires Python: >=3.6

# MATRAD: a Python trading interfance for Binance

*Mantrad* enables you to interact with the [Binance API](https://github.com/binance/binance-spot-api-docs/) with Python

## API Functions available
The available API functions with their properties (especially *endpoint* and *method*) are listed `properties.endpoint_mapping`.

## Call a function
```
from utils import execute_query
execute_query(function_name, params, data)
```
where `function_name` is a key in `properties.endpoint_mapping`, `data` is a Dict corresponding to the query string arguments and `params` a Dict corresponding to th request body.

## Other utilities
### Your current timestamp
You can get your current rimestam through `utils.get_current_timestamp()`. Is useful for [timing your trades](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#timing-security).
### Signature
Some API function require a [signature](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#signed-endpoint-examples-for-post-apiv3order) to proceed. This is handles seamlessly by `utils.execute_query()` through `utils.get_hashmap_signature()`.
### Coin pairs
All the coin pairs handled by the Binance API can be generated or updated locally through `utils.update_pair_list()` and returned by `utils.get_all_pairs()`.
### Compare API urls
The API url are listed in `properties.urls`. Their ping speed can be compred through `utils.get_urls_speeds()`.


## API keys
Your API key and secret must be stored in the user home directory in a file called *.binance_api_secrets* in this format:
```
{
    "key": "aBccc",
    "secret": "xYzzz"
}
```
gb2influxdb 0.0.1
A tool for syncing a Gadgetbridge database export to InfluxDB.
Requires Python: >=3.5.0

# gb2influxdb

https://github.com/tjhowse/gb2influxdb

https://pypi.org/project/gb2influxdb/

A tool for syncing a Gadgetbridge database export to InfluxDB.

## Installation

### Python module

```bash
$ pip3 install --user gb2influxdb
$ gb2influxdb --help
```