semvec/pypi-packages huggingface dataset:
png-zip 0.1.0
Add your description here
Requires Python: >=3.8

# png.zip

## Description
PngZip is a Python tool designed for efficient image management within a single PNG file. It allows users to embed multiple images and their metadata within a single composite image file while supporting dynamic grid layouts.

## Installation
```bash
pip install pngzip
```
## Usage
refer to `test.py` for usage examples

## CLI
use `pngzip pack` to pack all images in the current cwd into a single png file
robotframework-parrot-qrcodescanner 1.0.1
QR Code Scanner to scan the QR images
Requires Python: >=3.6

# qrcodescanner

## Installation

To install from package registry use the following command:

```sh
$ pip install robotframework-parrot-qrcodescanner
```

To install from git repo use the following command:

```sh
$ pip install .
```

## Example

Example of using the library in Robot Framework is available `example.robot`.
robotframework-parrot-ocrlib 1.0.3
OCR Library to recognize text within a digital image
Requires Python: >=3.6

# OCR Library

## Installation

This OCR Library uses Tesseract internally. Please install Tesseract from
https://github.com/tesseract-ocr/tesseract or through your Operating Systems
package manager.

To install from package registry use the following command:

```
$ pip install robotframework-parrot-ocrlib
```

To install from git repo use the following command:

```
$ pip install .
```
    
## Example

Example of using the library in Robot Framework is available `example.robot`.
robotframework-parrot-dtmf 1.0.2
DTMF (Dual tone multi frequency) Library used to generate and verify DTMF tone
Requires Python: >=3.6

# DTMF Library

## Installation

To install from package registry use the following command:

```
$ pip install robotframework-parrot-dtmf
```

To install from git repo use the following command:

```
$ pip install .
```
    
## Example

Example of using the library in Robot Framework is available `example.robot`.
robotframework-parrot-audio 1.0.1
Audio controller to play, record audio file and convert audio formats
Requires Python: >=3.6

# Audio

## Installation

To install from package registry use the following command:

```sh
$ pip install robotframework-parrot-audio
```

To install from git repo use the following command:

```sh
$ pip install .
```

## Example

Example of using the library in Robot Framework is available `example.robot`.
robotframework-parrot-adbcontroller 1.0.1
ADB Controller
Requires Python: >=3.6

# ADB Controller

## Installation

To install from package registry use the following command:

```sh
$ pip install robotframework-parrot-adbcontroller
```

To install from git repo use the following command:

```sh
$ pip install .
```

## Example

Example of using the library in Robot Framework is available `example.robot`.
bgtask4django 1.0.2
A Django app for background task
Requires Python: >=3.6

## Project

A Django background task app. By Bgtask, we can conveniently execute asynchronous tasks, and obtain the return data. 
The actuator runs in a separate process communicating with Django via TCP, ensuring it does not impact the main logic.

## Usage

### Install bgtask

```shell
pip install -U bgtask4django
```

### Configurations

Add `bgtask` to `INSTALLED_APPS` in settings.py.

```python
# settings.py
INSTALLED_APPS = [
    'bgtask',
    '...'
]
# Configuration should be read first from the Django settings, 
# and if not found, it should be looked up from the system environment variables.
BGTASK_SERVER_IP = "127.0.0.1"
BGTASK_SERVER_PORT = 23323
BGTASK_WORK_THREADS = 10
```

### Migrate

```shell
python manage.py migrate bgtask
```

### Run server
`bgtask` run in a separate process, which is the same runtime environment as the Django instance.
```shell
python manage.py bgtaskserver
```

## How to use in Django?

one demo

```python
# views.py
import time
import pickle

from bgtask.client import submit
from bgtask.models import BgTask, StateEnum, ResultEnum


def send_email(address, title, message=None):
    # some codes...
    time.sleep(5)
    # other codes...


def register(request, *args, **kwargs):
    # `submit` will put function's import-path into task-queue by tcp,
    # if no exception, it will return `task_id`.
    task_id = submit(send_email, "*@*.com", "test", message="this is a test")
    if not task_id:
        print("send email fail, check log for reason")
    ...

    # In other function or logic
    # if we know task_id, we can get 'Bgtask' object, and then get task state and return data
    task = BgTask.objects.get(pk=task_id)
    print(task.state)
    if task.state == StateEnum.FINISH and task.result == ResultEnum.SUCCESS:
        print(pickle.loads(task.return_value))
```
Hubstaff 1.1
A python library working with Hubstaff
Requires Python: >=3.8
Keywords: Hubstaff, Hub staff, Hubstaff SDK, Hubstaff library

# Hubstaff

## Overview
Library for Hubstaff. Perform actions such as list projects detail. 
Request Feature/Suggestion: https://forms.gle/efGD5DuTpWsX96GG7

[//]: # (## Download stats)

[//]: # ([![Downloads]&#40;https://static.pepy.tech/badge/ActiveCollab&#41;]&#40;https://pepy.tech/project/ActiveCollab&#41;)

## Installation
```console
pip install Hubstaff
```
Hubstaff supports Python 3+.

## Usage

### Default
```python
import Hubstaff

personal_access_tokens = "your_personal_access_tokens" #can be generated from https://developer.hubstaff.com/personal_access_tokens


hb = Hubstaff.Connect(personal_access_tokens)  # Login to Hubstaff

print(hb.get_projects_data())
```

### List all projects
```python
hb.get_projects_data()  # List out all project assigned to logged in user
```
transceiver 0.1.3
Transceiver is a python library that swiftly exchanges fundamental data structures, specifically numpy arrays, between processes, optimizing AI inference tasks that utilize ComfyUI.
Requires Python: >=3.10

# Transceiver📡

Please see [**comfyui-transceiver**](https://github.com/nat-chan/comfyui-transceiver),  the ComfyUI custom nodes binding of the "transceiver" library.


"transceiver" is a python library that swiftly exchanges fundamental data structures, specifically numpy arrays, between processes, optimizing AI inference tasks that utilize ComfyUI.

## Why?

When processing a large number of requests, the SaveImage and LoadImage nodes may be IO-limited, and using shared memory improves performance by passing images only through memory access, not through IO.

## Installation

The "transceiver" is indexed by PyPI. You can easily integrate it into any project.

```bash
pip install transceiver
```

## Features


UNDER CONSTRUCTION

See [core.py](/src/transceiver/core.py) doc
pykegg 0.1.7
Visualizing and analyzing KEGG information in Python
Requires Python: >=3.7

# pykegg
Analyze and visualize KEGG information using network approach.

Using `biopython`, `igraph` and [`plotnine`](https://github.com/has2k1/plotnine), parse the KGML into `igraph` and easily plot the relevant information contained in KEGG Pathway in Python environment.

```python
import requests_cache
import numpy as np
from PIL import Image
import pykegg
import matplotlib as mpl

## Be sure to cache all the downloaded files to avoid recursive querying
requests_cache.install_cache('pykegg_cache')
g = pykegg.KGML_graph(pid="hsa03460")

## Export as igraph
gra = g.get_graph()
print(gra)

## Overlay to raw image
nds = g.get_nodes()
nds = nds[nds.original_type=="gene"]
nds["lfc"] = np.arange(-2,2,0.01)[0:nds.shape[0]]
cmap_grad = mpl.colors.LinearSegmentedColormap.from_list("cmap_grad", ["yellow","green"])
norm = mpl.colors.Normalize(vmin=min(nds.lfc), vmax=max(nds.lfc))
nds["color"] = [
        mpl.colors.to_hex(cmap_grad(norm(x))) if x is not None else None
        for x in nds.lfc
    ]
Image.fromarray(pykegg.overlay_opencv_image(nds, pid="hsa03460"))
```

## Documentation
[https://noriakis.github.io/pykegg-docs](https://noriakis.github.io/pykegg-docs)

## TODO
- [ ] The function for converting identifiers (especially for ENTREZID <-> SYMBOL) without connection to servers, like using [`genomic-features`](https://genomic-features.readthedocs.io/en/latest/).
- [ ] Parallel edge support by nudging x and y position
- [ ] Better error handling