semvec/pypi-packages huggingface dataset:
flask-supabase 0.3.1
A Flask extension for integrating with Supabase
Requires Python: >=3.9

# Flask-Supabase Extension

The Flask-Supabase extension provides a simple and intuitive way to integrate Supabase into your Flask applications. With minimal setup, you can start leveraging the power of Supabase in your Flask projects, whether it's for database operations, authentication, or any other feature supported by Supabase.

## Features

- Easy integration of Supabase into Flask applications.
- Automatic management of Supabase API keys and URLs.
- Efficient handling of Supabase client instances throughout the application lifecycle.

## Installation

Install Flask-Supabase using pip:

```
pip install flask-supabase
```

## Quick Start

1. **Set up your Flask application**

First, ensure you have Flask installed. If not, you can install it using pip:

```
pip install Flask
```

Then, set up a basic Flask application:

```python
from flask import Flask
app = Flask(__name__)
```

2. **Configure the Flask-Supabase extension**

Import and initialize the `Supabase` extension, passing your Flask app object to it. Don't forget to set the `SUPABASE_URL` and `SUPABASE_KEY` in your app's configuration:

```python
from flask_supabase import Supabase

app.config['SUPABASE_URL'] = 'your_supabase_project_url'
app.config['SUPABASE_KEY'] = 'your_supabase_api_key'
supabase_extension = Supabase(app)
```

Alternatively, if you are using a factory function to create your Flask app, you can set up the Supabase extension like this:

```python
supabase_extension = Supabase()

def create_app():
    app = Flask(__name__)
    app.config['SUPABASE_URL'] = 'your_supabase_project_url'
    app.config['SUPABASE_KEY'] = 'your_supabase_api_key'
    supabase_extension.init_app(app)
    return app
```

3. **Use the Supabase client in your application**

Now, you can access the Supabase client in your route handlers using `supabase_extension.client`. Here's an example of how to perform a database operation with Supabase:

```python
@app.route('/users')
def get_users():
    response = supabase_extension.client.from_('users').select('*').execute()
    return response.data
```

## Documentation

For more information on Supabase and its capabilities, visit [Supabase documentation](https://supabase.io/docs).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a pull request.

## Support

If you have any questions or encounter any issues, please open an issue on the project's GitHub page.

## Acknowledgements

This project is not officially associated with Supabase. All trademarks are the property of their respective owners.
coffeepot-http 0.0.1a1
A cozy Python server and module for brewing coffee virtually
Requires Python: >=3.10

# ☕ CoffeePot

CoffeePot is a fun, quirky Python module and server that lets you **brew coffee (and other drinks)** via HTTP, CLI, or directly in Python code. Inspired by the HTCPCP “Hyper Text Coffee Pot Control Protocol,” CoffeePot is perfect for programmers who want a cozy, playful local server.

---

## Features

- Start a local **CoffeeServer** with a cozy default HTML page.
- **BREW** endpoint simulating different types of drinks:
  - `coffee`, `espresso`, `latte`, `mocha`, `tea`, `hot chocolate`.
- Each drink type can have **unique effects** (strength, aroma, mood).
- Flexible routing using HTTP methods:
  - `GET /brew` → pull a coffee safely
  - `BREW /brew` → full HTCPCP brew
  - `POST /latte`, `PUT /mocha`, `PATCH /tea`, `BREW /hot-chocolate`
- Fully **programmatic API**: use `brew()` and `run()` in Python scripts.
- Fun ASCII art and cozy startup messages in the terminal.

---

## Installation

```bash
git clone https://github.com/DevHollo/CoffeePot.git
cd CoffeePot
pip install -e .
```

This installs CoffeePot in editable mode so you can modify it while developing.

### Via pip:

`pip install coffeepot-http`

---

## CLI Usage

**Start the server:**

```bash
python -m coffeepot.cli serve --port 2615
```

- Opens `http://127.0.0.1:2615/` with the default cozy homepage.
- Try:
```bash
curl -X BREW http://127.0.0.1:2615/brew
curl http://127.0.0.1:2615/brew?type=espresso
```

**Brew a coffee from CLI:**

```bash
python -m coffeepot.cli brew --type latte
```

---

## Programmatic Usage

```python
from CoffeePot import brew, run

# Brew an espresso programmatically
coffee = brew("espresso")
print(coffee)

# Start CoffeeServer programmatically
run(port=2615)
```

**Sample output from `brew("latte")`:**

```json
{
  "status": "ready",
  "message": "Your latte is brewed!",
  "strength": 4,
  "aroma": "milky"
}
```

---

## Custom HTML

You can provide a custom HTML page for the server:

```bash
python -m CoffeePot.cli serve --html mypage.html
```

- `/` and `/index.html` will serve your custom page.
- All brew routes continue to work normally.

---

## Extend CoffeePot

- Add new drink types with unique effects in `brew.py`.
- Register new routes with `@CoffeeServer.route("/drink", method="POST")`.
- Customize HTML, ASCII art, or responses to make your CoffeePot truly yours.

---

## Fun Facts

- Default server port is `☕` (U+2615, decimal 9749).
- Full HTCPCP-inspired methods make your API feel like a real coffee machine.
- Cozy ASCII art makes even a 404 error a bit more charming.

---

## License

MIT License. Feel free to brew, share, and fork!
ansible-aap-api-client 0.1.4
A client to interact with Ansible AAP REST API
Requires Python: >=3.9

# ansible-aap-api-client

| BRANCH  | STATUS                                                                                                                                                                                                                                                   |
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| main    | [![Unit-Testing, Coverage, Linting](https://github.com/btr1975/ansible-aap-api-client/actions/workflows/test-coverage-lint.yml/badge.svg?branch=main)](https://github.com/btr1975/ansible-aap-api-client/actions/workflows/test-coverage-lint.yml)      |
| develop | [![Unit-Testing, Coverage, Linting](https://github.com/btr1975/ansible-aap-api-client/actions/workflows/test-coverage-lint.yml/badge.svg?branch=develop)](https://github.com/btr1975/ansible-aap-api-client/actions/workflows/test-coverage-lint.yml)    |

[![Supported Versions](https://img.shields.io/pypi/pyversions/ansible-aap-api-client.svg)](https://pypi.org/project/ansible-aap-api-client)

[![Downloads](https://pepy.tech/badge/ansible-aap-api-client)](https://pepy.tech/project/ansible-aap-api-client)

[![Docs](https://readthedocs.org/projects/ansible-aap-api-client/badge/?version=latest)](https://ansible-aap-api-client.readthedocs.io/en/latest/)

## Description
* A client to interact with Ansible AAP REST API

#### Generated by CookieCutter
* Repository: [GitHub](https://github.com/btr1975/cookiecutter-python-library)
* Version: 1.0.13