semvec/pypi-packages huggingface dataset:
wsgigo 1.3.0
WSGI application router
License: MIT
Requires Python: <4.0,>=3.9
Keywords: wsgi, router, middleware

# WsgiGo

## What is it?

WSGI go is a very simple WSGI router with no requirements. It is written for Python 3, though it could be
easily backported.

## Installation

```
pip install wsgigo
```

## Usage

You can use it to route WSGI requests to specific apps based on hostname, URL fragment, or (through extending the
Route class) other criteria. For example, suppose you have three wsgi apps which you want to serve as one::

```python
from wsgigo import AppRouter

app = AppRouter(default_app=main_website)
app.add_startswith(docs_app, '/docs/')
app.add_hostname(api_app, 'api.local')
app.add_regexp(animal_app, '/(?:monkey|ape)/')
```

You can also make your own router class, to route apps how you need them to be routed::

```python
class InternetExplorerRouter(Route):
    def claim(self, environ):
        user_agent = environ['HTTP_USER_AGENT']
        if 'Trident/7.0' in user_agent or 'MSIE' in user_agent:
            return True

internet_explorer_app = TestWsgiApp("<b>really simple webpage</b>")
real_app = TestWsgiApp("<b>really ADVANCED webpage</b>")

router = AppRouter(default_app=real_app)
router.add_route(InternetExplorerRouter(internet_explorer_app))
```
laundrify-aio 1.2.2
A Python package to communicate with the laundrify API
License: MIT
Keywords: home-assistant, laundrify

# laundrify_aio

`laundrify_aio` is a python package to communicate with the [laundrify](https://laundrify.de) API.

It has primarily been developed for the Home Assistant integration.

## Usage Example

```python
import asyncio
from laundrify_aio import LaundrifyAPI

async def main():
	# Generate a new AuthCode in the laundrify App (`Smart-Home Integration -> Home Assistant -> Integration aktivieren`)
	auth_code = '123-456'

	# exchange your auth code for a long-lived access token
	access_token = await LaundrifyAPI.exchange_auth_code(auth_code)

	# initialize a new client with the previously obtained access token
	laundrify_client = LaundrifyAPI(access_token)

	# get all machines
	machines = await laundrify_client.get_machines()

if __name__ == "__main__":
	loop = asyncio.get_event_loop()
	loop.run_until_complete(main())
```

## Development/Build

To build and publish the package, run the following:

```bash
# Use the custom `dist_wheel` command that stashes uncommitted changes and runs `sdist` and `bdist_wheel`
python3 setup.py dist_wheel

# Make sure the long description will render correctly
twine check dist/*

# (optional) upload to TestPyPI
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

# upload to PyPI
twine upload dist/*
```
harlequin-datafusion 0.1.2
A Harlequin adapter for DataFusion.
License: MIT
Requires Python: <4.0,>=3.8.1

# harlequin-datafusion

[![Downloads](https://static.pepy.tech/badge/harlequin-datafusion)](https://pepy.tech/project/harlequin-datafusion)
![PyPI - Version](https://img.shields.io/pypi/v/harlequin-datafusion)
![GitHub License](https://img.shields.io/github/license/mesejo/datafusion-adapter)
![PyPI - Status](https://img.shields.io/pypi/status/harlequin-datafusion)


This repo provides the [Harlequin](https://harlequin.sh) adapter for [DataFusion](https://datafusion.apache.org/) 

## Installation

harlequin-datafusion is available as [`harlequin-datafusion`](https://pypi.org/project/harlequin-datafusion/) on PyPI:

```shell
pip install harlequin-datafusion
```

## Usage
After installation, you can use it as follows

 ```shell
harlequin -a datafusion
```

## Harlequin
For more information on how to use Harlequin, please refer to the [docs](https://harlequin.sh/docs/getting-started) 

## Support

If you have any issues with this repository, please don't hesitate to [raise them](https://github.com/mesejo/datafusion-adapter/issues/new).
It is actively maintained, and we will do our best to help you.

## Acknowledgements

This project was generated from the [harlequin-adapter-template](https://github.com/tconbeer/harlequin-adapter-template) and draws inspiration 
from the [harlequin-adbc](https://github.com/TylerHillery/harlequin-adbc) adapter.    

## Liked the work?

If you've found this repository helpful, why not give it a star? It's an easy way to show your appreciation and support for the project.
Plus, it helps others discover it too!

## License

This repository is licensed under the [MIT License](https://github.com/mesejo/datafusion-adapter/blob/main/LICENSE)