semvec/pypi-packages huggingface dataset:
purple-auth-client 1.0.2
Client library for Purple Auth
License: MIT
Requires Python: >=3.7,<4.0

# Purple Auth Client

An async python client for my "Purple Auth" microservice.

## Routes Covered

### initialization

```python
from purple_auth_client import AuthClient

auth_client = AuthClient(
    host="https://purpleauth.com",
    app_id="37f9a26d-03c8-4b7c-86ad-132bb82e8e38",
    api_key="[Key provided by purple auth portal]"
)
```

### /otp/request/

Start otp authentication flow with server.

```python
result = await auth_client.authenticate(
    "test@example.com", flow="otp"
)
```

### /otp/confirm/

Complete authentication with email and generated code.

```python
result = await auth_client.submit_code("test@example.com", "12345678")
```

### /token/verify/

Send idToken to server for verification.

```python
result = await auth_client.verify_token_remote(token_submitted_by_client)
```

### /token/refresh/

Request a new ID Token from the server using a refresh token

```python
new_token = await auth_client.refresh(refresh_token_from_client)
```


### /app/

Get more info about this app from the server.

```python
info = await auth_client.app_info()
```


### /magic/request/

Start authentication using magic link flow.

```python
result = await auth_client.authenticate(
    "test@example.com", flow="magic"
)
```


## Local Verification

Verify and decode an ID Token on directly in the app without having to
call out every time

```python
result = await auth_client.verify(id_token_from_client)
# {"headers": {"alg": "ES256", "type": "JWT"}, "claims": {"sub": "user@email.com", "exp": "test@example.com"}
# etc.

```
apiStock 0.8
Api useful to get stock data
License: MIT
Requires Python: >=3.6.0
Keywords: api,stock,stock vietnam,historical stock

# API STOCK
## Api Useful To Get Historical Stock Price Values

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)

## Installation

API STOCK requires [Python 3](https://www.python.org/)  to run.
Install 
```
pip install apiStock
```
#### Featured Methods
1. getStockHistory(code, start_date, end_date)
   - code stock in Vietnam Stock Market.
   - start_date should be entered in the ‘YYYY-MM-DD’ format and is the first day that data will be pulled for.
   - end_date should be entered in the ‘YYYY-MM-DD’ format and is the last day that data will be pulled for.
#### Use
```python
from apiStock import getStockHistory
vin_prices = getStockHistory('VIN', '2019-08-19', '2020-08-19')
```

## License

MIT

**Free Library, Hell Yeah!**
danbooru-py 1.0.0
단보루 크롤링 라이브러리
License: MIT
Requires Python: >=3.6

# Danbooru
단보루 크롤링 라이브러리

## Installation
```
$ pip install danbooru-py
```

## How to use
### 최신작품
```py
from danbooru import client

client = client.Danbooru()

print(client.get_posts())
```
### 인기작품
```py
from danbooru import client

client = client.Danbooru()

print(client.get_hot())
```
### 태그검색
```py
from danbooru import client

client = client.Danbooru()

print(client.search_tag("genshin_impact"))
```
### 이미지검색(ID)
```py
from danbooru import client

client = client.Danbooru()

print(client.get_image("5681761"))
```