semvec/pypi-packages huggingface dataset:
tqdmnd 1.0.0
A simple wrapper for tqdm supporting N-dimensional spaces
Requires Python: >=3.10

# `tqdmnd`: `tqdm` in Multiple Dimensions

`tqdmnd` is an N-dimensional wrapper of tqdm providing an iterator and
progress bar over the product of multiple iterators.

Example Usage:
```python
from tqdmnd import tqdmnd
for x, y in tqdmnd(5,6):
    pass
```
is equivalent to
```python
for x in range(5):
    for y in range(6):
        pass
```
but with a tqdm progress bar printed to standard output.
dsrag-sdk 0.0.8
State-of-the-art RAG pipeline from D-Star AI
Requires Python: >=3.9

## Overview
This python package is only useful for a custom cloud deployment of dsRAG

## Usage
`pip install dsrag-sdk`

## Setup
You can set the base url that the sdk connects to by running the following:
```python
from dsrag_sdk.main import set_base_url
set_base_url("http://0.0.0.0:8000")
```

## Knowledge bases

`from dsrag_sdk.knowledge_bases import create_knowledge_base, list_knowledge_bases, get_knowledge_base, delete_knowledge_base, update_knowledge_base`

#### Create knowledge base
```python
kb = create_knowledge_base(title="sdk_test_kb", supp_id="test-supp-id")
```

#### List knowledge bases
```python
knowledge_bases = list_knowledge_bases()
```

List with `supp_id` filter
```python
knowledge_bases = list_knowledge_bases(supp_id="test-supp-id")
```

#### Get a knowledge base by id
```python
knowledge_base = get_knowledge_base(knowledge_base_id="test-kb-id")
```

#### Update a knowledge base
```python
knowledge_base = update_knowledge_base(knowledge_base_id="test-kb-id", title="updated-title", supp_id="updated-supp-id")
```

#### Delete a knowledge base
```python
response = delete_knowledge_base(knowledge_base_id="test-kb-id")
```

## Documents

`from dsrag_sdk.documents import create_document_via_text, list_documents, get_document, delete_document`

#### Add a document via text
```python
kb_id = "test-kb-id"
document_text = "This is some test text for document upload"
document = create_document_via_text(kb_id, document_text)
```

#### List documents
```python
documents = list_documents(kb_id)
```

List documents with `supp_id` filter

```python
documents = list_documents(knowledge_base_id="test-kb-id", supp_id="test-supp-id")
```

#### Get document by id
```python
document = get_document(knowledge_base_id="test-kb-id", document_id="test-document-id")
```

#### Delete a document
```python
response = delete_document(knowledge_base_id="test-kb-id", document_id="test-document-id")
```

## Chat

`from dsrag_sdk.chat import create_chat_thread, list_chat_threads, update_chat_thread, get_chat_thread, delete_chat_thread, get_chat_response, list_thread_interactions`

#### Create a chat thread
```python
response = create_chat_thread(knowledge_base_ids=[kb_id])
```

#### List chat threads
```python
chat_threads = list_chat_threads()
```

Filter with `supp_id`

```python
chat_threads = list_chat_threads(supp_id="test-supp-id")
```

#### Get chat thread by id
```python
chat_thread = get_chat_threads(thread_id="test-thread-id")
```

#### Get a chat response
```python
response = get_chat_response(thread_id="test-thread-id", input="What is AGI?")
```

#### Update a chat thread
```python
chat_thread = update_chat_thread(thread_id="test-thread-id", knowledge_base_ids=[kb_id_1, kn_id_2], supp_id="updated-supp-id", model="gpt-4o-mini")
```

#### Delete a chat thread
```python
response = delete_chat_thread(thread_id="test-thread-id")
```
unifi-python-api 0.2.3
A small example package
Requires Python: >=3.8

# Unifi Python API

A python implementation of the Unifi controller API

### Instalation

```bash
$ pip install unifi-python-api
```

### Progress
For now, only the guest manager calls have been implemented (because that's my current use for this API).
I'm working on the tests then i'll move on to the statistics calls.

### Example usage
```python
from unifi_api import UnifiClient

unifi_controller_url = 'https://example.com:8443'

# Create the client then login
client = UnifiClient(unifi_controller_url)
client.login(username="example", password="example")

# Or both at once
client = UnifiClient(unifi_controller_url, username="example", password="example")

# Then use freely, if the session expires another login will be made automatically
# Example: authorize client for an hour
client.authorize_guest("AA-BB-CC-DD-EE-FF", 60)
```

TODO:
  - make tests with pytest
  - statistics calls

### Credits
Translated from the Unifi API client in php:
- [Art-of-WiFi]( https://github.com/Art-of-WiFi/UniFi-API-client )
Other sources:
- Bash API published by [Ubiquiti]( https://dl.ubnt.com/unifi/5.8.24/unifi_sh_api )
- Go implementation by [ipstatic]( https://github.com/ipstatic/unifi-captive-portal )
WebAppify 0.5.2
Create desktop apps of your favourite websites
Keywords: Qt, Qt6, website

WebAppify
=========

|pypi| |license| |build|

WebAppify is a simple module to easily create your own desktop apps of websites. WebAppify uses PySide6 and QtWebEngine
for displaying the web page, and works on Python 3.10 and up.

To create your own desktop web app, import and set up the WebApp class.

.. code:: python

   from webappify import WebApp

   app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png')
   app.run()

This will create a window with the website, using the icon provided.

.. note::

   If your site needs Flash Player, you'll need the appropriate Flash Player plugin installed system-wide.

Additional Options
------------------

``can_minimize_to_tray``
''''''''''''''''''''''''

.. important::

   This option was changed in version 0.4.0 from ``canMinimizeToTray`` to ``can_minimize_to_tray``. The old option
   is still available, but is deprecated. It will be removed in 0.6.0.

To install a system tray icon, and minimize your application to the system tray, simply pass
``can_minimize_to_tray=True`` to the class and a tray icon will be installed with the necessary menu options.

.. code:: python

   app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png', can_minimize_to_tray=True)
   
Clicking on the tray icon will show the window, while right-clicking will show the menu.

.. |pypi| image:: https://img.shields.io/pypi/v/WebAppify
   :target: https://pypi.org/project/webappify/
.. |license| image:: https://img.shields.io/pypi/l/WebAppify
   :target: https://git.snyman.info/raoul/webappify/src/branch/master/LICENSE
.. |build| image:: https://ci.snyman.info/api/badges/raoul/webappify/status.svg
   :target: https://ci.snyman.info/raoul/webappify