semvec/pypi-packages huggingface dataset:
fpng 0.1.0
Very fast .PNG image writer for Python
Requires Python: >=3.8
Keywords: PNG

# py-fpng-nb

Very fast .PNG image(24/32bpp) writer for Python.

Compared to typical PNG libraries, its compression is about 10-20x faster, while producing 10-50% larger files.

- Homepage: https://github.com/dofuuz/py-fpng-nb
- PyPI: https://pypi.org/project/fpng/

py-fpng-nb is a Python wrapper of [fpng](https://github.com/richgel999/fpng)


## Installation

```sh
pip install fpng
```

If installation fails, upgrade pip with `python -m pip install --upgrade pip` and try again.


## Usage

### with PIL

```python
import fpng
from PIL import Image

# ...

img.save('file_path.png', 'FPNG')
```

### with NDarray

n-dimensional arrays of NumPy, PyTorch, TensorFlow, JAX, and CuPy.

Must have 3 dimensions [height, width, channels] with RGB or RGBA format.

```python
import fpng

# ...

png_bytes = fpng.from_ndarray(img_ndarray)

with open('file_path.png', 'wb') as f:
    f.write(png_bytes)
```


### with OpenCV

```python
import cv2
import fpng

# ...

png_bytes = fpng.from_cv2(img_mat)

with open('file_path.png', 'wb') as f:
    f.write(png_bytes)
```


## Benchmark

Comparison with Pillow 11.0.0

### Compressing photo

![Photo x86_64](img/bench_photo_amd64.png) | ![Photo x86_64](img/bench_photo_aarch64.png)
:---: | :---:
x86_64 | AArch64(ARM64)

### Compressing screenshot

[Screenshot](tests/wikipedia.png) of Wikipedia

![Screenshot x86_64](img/bench_screenshot_amd64.png) | ![Screenshot x86_64](img/bench_screenshot_aarch64.png)
:---: | :---:
x86_64 | AArch64(ARM64)
vidcov 1.0.0
A script for setting a thumbnail on a video file using ffmpeg

# vidcov

Скрипт для установки обложки (thumbnail) на видео файл с использованием ffmpeg.

## Установка

Для установки скрипта используйте pip:

```
pip install vidcov
```

## Использование

Запустите скрипт командой:

```
vidcov
```

Скрипт будет запрашивать у вас следующую информацию:

1. Путь к видео файлу
2. Путь к изображению для обложки
3. Имя выходного файла

После этого скрипт установит обложку на видео файл и сохранит его с указанным именем.

## Контакты

- Email: shizofrin@gmail.com
- Веб-сайт: [Avinion](https://x.com/Lanaev0li)

## License

Данный проект распространяется под лицензией [MIT](LICENSE).

# vidcov

A script for setting a thumbnail on a video file using ffmpeg.

## Installation

To install the script, use pip:

```
pip install vidcov
```

## Usage

Run the script with the command:

```
vidcov
```

The script will prompt you for the following information:

1. Path to the video file
2. Path to the image for the thumbnail
3. Name of the output file

After that, the script will set the thumbnail on the video file and save it with the specified name.

## Contact

- Email: shizofrin@gmail.com
- Website: [Avinion](https://x.com/Lanaev0li)

## License

This project is licensed under the [MIT](LICENSE) license.
neurolog 0.0.1
Neurolog (pre-alpha)
Requires Python: >=3.12
Keywords: database, disk

# Overview
`co3` is a lightweight Python ORM for hierarchical storage management. It implements a
general type system for defining database components like relations, schemas, engines,
etc. Objects inheriting from the `CO3` base class can then define data transformations
that connect to database components, and can be automatically collected for coordinated
database insertion.

`co3` attempts to provide a general interface for interacting with a storage media (e.g.,
database, pickled objects, VSS framework, in-memory key-value stores, etc). The following
top-level classes capture the bulk of the operational model:

- **Database**: reference to a storage medium, with an `Accessor` for accessing data,
  `Manager` for managing database state, and an `Engine` for managing connections and
  external operations.
- **Accessor**: provides access to stored items in a `Database`, typically via a supported
  `select` operation over known `Component` types
- **Manager**: manages database storage state (e.g., supported inserts or database sync
  operations)
- **Mapper**: associates `CO3` types with `Schema` components, and provides automatic
  collection and composition operations for supported items
- **Collector**: collects data from defined `CO3` type transformations and prepares for
  `Database` insert operations
- **Component**: atomic storage groups for databases (i.e., generalized notion of a
  "relation" in relational algebra).
- **Indexer**: automatic caching of supported access queries to a `Database`
- **Schema**: general schema analog for grouping related `Component` sets
- **Differ**: facilitates set operations on results from selectable resources (e.g.,
  automatic comparison between file data on disk and file rows in a SQL database)
- **Syncer**: generalized syncing procedure for items between data resources (e.g.,
  syncing new, modified, and deleted files from disk to a SQL database that stores file
  metadata).

The **CO3** an abstract base class then makes it easy to integrate this model with regular
Python object hierarchies that can be mapped to a storage schema.
ideolog 0.0.1
Ideolog (pre-alpha)
Requires Python: >=3.12
Keywords: database, disk

# Overview
`co3` is a lightweight Python ORM for hierarchical storage management. It implements a
general type system for defining database components like relations, schemas, engines,
etc. Objects inheriting from the `CO3` base class can then define data transformations
that connect to database components, and can be automatically collected for coordinated
database insertion.

`co3` attempts to provide a general interface for interacting with a storage media (e.g.,
database, pickled objects, VSS framework, in-memory key-value stores, etc). The following
top-level classes capture the bulk of the operational model:

- **Database**: reference to a storage medium, with an `Accessor` for accessing data,
  `Manager` for managing database state, and an `Engine` for managing connections and
  external operations.
- **Accessor**: provides access to stored items in a `Database`, typically via a supported
  `select` operation over known `Component` types
- **Manager**: manages database storage state (e.g., supported inserts or database sync
  operations)
- **Mapper**: associates `CO3` types with `Schema` components, and provides automatic
  collection and composition operations for supported items
- **Collector**: collects data from defined `CO3` type transformations and prepares for
  `Database` insert operations
- **Component**: atomic storage groups for databases (i.e., generalized notion of a
  "relation" in relational algebra).
- **Indexer**: automatic caching of supported access queries to a `Database`
- **Schema**: general schema analog for grouping related `Component` sets
- **Differ**: facilitates set operations on results from selectable resources (e.g.,
  automatic comparison between file data on disk and file rows in a SQL database)
- **Syncer**: generalized syncing procedure for items between data resources (e.g.,
  syncing new, modified, and deleted files from disk to a SQL database that stores file
  metadata).

The **CO3** an abstract base class then makes it easy to integrate this model with regular
Python object hierarchies that can be mapped to a storage schema.