semvec/pypi-packages huggingface dataset:
appwee 0.1.1
Wrapper around peewee with some QoL features
Requires Python: >=3.7

# Appwee
peewee wrapper with simple QoL changes
## Installation
```
python -m pip install appwee
```
## Quickstart
```python
import appwee
app = appwee.App(appwee.SqliteDatabase("example.db"))
class ExampleModel(app.Model):
    it_is_just = appwee.IntegerField()
    like_normal_peewee = appwee.BlobField()

if __name__ == "__main__":
    app.init()
```
See [peewee's documentation](https://docs.peewee-orm.com) for more information
pyaudioai 0.0.2
Get an audio response from ChatGPT
Requires Python: >=3.8
Keywords: chatgpt,openai,audio,tts,pypi,package

# PyAudioAI Python Library

![Build and Test](https://github.com/eberlemanuel/pyaudioai/actions/workflows/test.yml/badge.svg)

The Python library combines the OpenAI ChatGPT API with audio input and output. 
With this, questions can be recorded as audio, 
sent to ChatGPT and the answer from ChatGPT can be output as audio again. 
For the audio output, gTTS (Google Text-to-Speech), a Python library and 
CLI tool to interface with Google Translate's text-to-speech API is used.

## Installation

You don't need this source code unless you want to modify the package. If you just
want to use the package, just run:

```sh
pip install pyaudioai
```

Install from source with:

```sh
python setup.py install
```

## Usage

Portaudio needs to be configured to have access to your computers microphone. 

Linux:
```bash
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
```

Mac OS X:
```bash
brew install portaudio
```

Windows:
```bash
pip install pipwin
pipwin install pyaudio
```

The OpenAI library needs to be configured with your account's secret key **OPENAI_API_KEY** which is available on the [website](https://platform.openai.com/account/api-keys).

Example:

```python
import os
import pyaudioai

audio_file = "question.wav" # question can be saved
question_audio = pyaudioai.RecordQuestion(5, audio_file)
question_audio.record()

response_class = pyaudioai.OpenAiResponse("<OPENAI_API_KEY>")
response_class.get_audio_response(audio_file)

question_audio.delete_file() # delete question audio if required
```

## Developer Documentation

The documentation of the source code for contributors can be found [here](https://eberlemanuel.github.io/pyaudioai/).
minimapi 0.0.6
Easy and simple REST API from model
Requires Python: >=3.7

# MinimAPI

MinimAPI is a simple dynamic API backend.
Just define your model.json, then your API is ready

See usage examples [here](https://github.com/minimapi/minimapi-examples)

## Install

With pip :

```bash
pip3 install minimapi
```


or build with :

```bash
python -m build
pip3 install dist/minimapi-*.whl
```


## Model format

Minimalistic data structure definition format for dynamic API backend and interface front

filename: model.json

Example :
```json
{
    "user": {
        "name": {"type": "text"},
        "birthday": {"type": "date"},
        "password": {"type": "password", "tags":["unlistable"]},
        "city": {"type": "foreign", "show": "name"}
    },
    "city": {
        "name": {"type": "text", "tags":["required"]},
        "code": {"type": "number"}
    }
}
```


Data parameters availables :
```
- type : data value type [required]
- show : culumn to show client side for foreign key
- tags : array of options
```


Currently supported types (based on inputs types):
```
- text
- number
- url
- password
- date
- email
- url
- sha265
- pbkdf2
- totp
- foreign (property name must match another table name, value is foreign data id)
```


Currently supported tags :
```
- unlistable : cannot be returned on bulk, replaced by dash in this case
- encrypted : for client side encrypted data, type checking disabled server side
- required : mandatory field
```