semvec/pypi-packages huggingface dataset:
bitcoinaverage 0.3.1
Library to integrate with the BitcoinAverage API
Keywords: bitcoinaverage,bitcoin,api

# BitcoinAverage PIP Library

The following examples demonstrate how Http and Websocket requests are made.
Just enter your public key and you can run the examples.

Get your api key by logging in here: https://pro.bitcoinaverage.com/

Official documentation: https://apiv2.bitcoinaverage.com

More examples on Github: https://github.com/bitcoinaverage/api-integration-examples/

## Http example

```python
from bitcoinaverage import RestfulClient

if __name__ == '__main__':
    public_key = 'your_public_key'

    restful_client = RestfulClient(public_key)

    ticker_global_per_symbol = restful_client.ticker_global_per_symbol('BTCUSD')
    print('Global Ticker for BTCUSD:')
    print(ticker_global_per_symbol)
```

## Websocket V1 example

```python
from bitcoinaverage import TickerWebsocketClient

if __name__ == '__main__':
    public_key = 'your_public_key'

    print('Connecting to the ticker websocket...')
    ws = TickerWebsocketClient(public_key)
    ws.ticker_data('local', 'BTCUSD')
```

## Websocket V2 examples

Version 2 the websocket clients accept a list of cryptocurrencies and a list of exchange respectively.
They also use new optimized algorithm for quicker updates.


### Ticker

```python
from bitcoinaverage import TickerWebsocketClientV2

if __name__ == '__main__':
    public_key = 'your_public_key'

    print('Connecting to the ticker websocket...')
    ws = TickerWebsocketClientV2(public_key)
    ws.ticker_data('local', ['BTCUSD', 'ETHUSD'])
```

### Exchanges

```python

from bitcoinaverage import ExchangeWebsocketClientV2

if __name__ == '__main__':
    public_key = 'your_public_key'

    print('Connecting to the exchange websocket...')
    ws = ExchangeWebsocketClientV2(public_key)
    ws.exchange_data(['bitstamp', 'coinbasepro'])
```

#### Copyright Blockchain Data LTD
dollarN-mike38 0.0.1
This package implements the $N recognizer
Requires Python: >=3.6

# dollarN
**_Python implementation of $N, the 2D multistrokes recognizer_**

http://depts.washington.edu/acelab/proj/dollar/ndollar.html

> The $N Multistroke Recognizer is a 2-D multistroke recognizer designed
> for rapid prototyping of gesture-based user interfaces. $N is built upon
> the $1 Unistroke Recognizer. $N automatically generalizes examples of
> multistrokes to encompass all possible stroke orders and directions,
> meaning you can make and define multistrokes using any stroke order and
> direction you wish, provided you begin at either endpoint of each 
> component stroke, and $N will generalize so as to recognize other ways
> to articulate that same multistroke. A version of $N utilizing
> Protractor, optional here, improves $N's speed.

## Features
- [Python 3](https://www.python.org/)
- [Numpy](https://numpy.org/)

## Example of use (simple.py):
```
from dollarN import dollarN

dN = dollarN()

#Adding gestures: multistrokes with names
dN.add_gesture('X', [   [[0.,0.], [5.,5.]], [[0.,5.], [5.,0.]]      ])
dN.add_gesture('T', [   [[0.,5.], [5.,5.]], [[2.5,0.], [2.5,5.]]    ])

#Launching a recognition
test = [[[0, 5.2], [5.,5.]], [[2.5, 0.], [2.5,5.]]]
print( dN.recognize(test) )
```
```
{'name': 'T', 'value': 0.9484976300936439, 'time': 0.006083965301513672}
```
## Demo
A demo is available with tkDollarN.py
nepali-unicode-converter 1.0.3
Roman text to unicode converter

# Nepali Unicode Converter

A tool to convert Romanized text to corresponding Nepali unicode.



## Installation

`pip install nepali-unicode-converter`



## Usage
```python
from nepali_unicode_converter.convert import Converter

converter = Converter()
mystring = 'ke chha hajura?'

print(converter.convert(mystring))  ## Output: 'के छ हजुर?'
```


## Mapping Table

### Basic vowels
| Roman | Unicode | Roman | Unicode |
|------:|--------:|------:|--------:|
|   a   | अ       |   oo  | ऊ       |
|   aa  | आ       |   Ri  | ॠ       |
|   ee  | ई       |   Ree | ॠ       |
|   i   | इ       |   e   | ए       |
|   u   | उ       |   ai  | ऐ       |
|   o   | ओ       |


### Basic Akaars
| Roman | Unicode | Roman | Unicode | Roman | Unicode |
|------:|--------:|------:|--------:|------:|--------:|
|  ka   |   क     |  Ta   |   ट     |  pa   |   प     |
|  kha  |   ख     |  Tha  |   ठ     |  pha  |   फ     |
|  ga   |   ग     |  Da   |   ड     |  fa   |   फ     |
|  gha  |   घ     |  Dha  |   ढ     |  ba   |   ब     |
|  Nga  |   ङ     |  Na   |   ण     |  bha  |   भ     |
|  NGa  |   ङ्ग    |  ta   |   त     |  va   |   भ     |
|  cha  |   च     |  tha  |   थ     |  ma   |   म     |
|  chha |   छ     |  da   |   द     |  ya   |   य     |
|  ja   |   ज     |  dha  |   ध     |  ra   |   र     |
|  jha  |   झ     |  na   |   न     |  la   |   ल     |
|  yNa  |   ञ     |  pa   |   प     |  sha  |   श     |
|  wa   |   व     |  sa   |   स     |  Sha  |   ष     |
|  ha   |   ह     |  ksha |   क्ष    |  tra  |   त्र    |
|  gya  |   ज्ञ    |  gYa  |   ग्य    |

### Halantas
Just omit the 'a' at the end.


### Kaar and other suffixes
| Roman | Unicode |
|-------:|-------:|
|   kaa  | का      |
|   ki   | कि      |
|   kee  | की      |
|   ku   | कु      |
|   koo  | कू      |
|   ke   | के      |
|   kai  | कै      |
|   ko   | को      |
|   kau  |  कौ     |
|   kaM  | कं      |
|   kaNN | कँ      |
|   ka:  | क:     |
|   mRI  | मृ      |


### Numbers
There is a natural mapping.


## TODO
- [ ] Make it more intelligent.