semvec/pypi-packages huggingface dataset:
py-multihash 3.0.0
Multihash implementation in Python
Requires Python: <4.0,>=3.10
Keywords: multihash

============
py-multihash
============


.. image:: https://img.shields.io/pypi/v/py-multihash.svg
        :target: https://pypi.python.org/pypi/py-multihash

.. image:: https://github.com/multiformats/py-multihash/actions/workflows/tox.yml/badge.svg
        :target: https://github.com/multiformats/py-multihash/actions

.. image:: https://readthedocs.org/projects/multihash/badge/?version=latest
        :target: https://multihash.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status



Multihash implementation in Python


* Free software: MIT license
* Documentation: https://multihash.readthedocs.io.
* Python versions: Python 3.10, 3.11, 3.12, 3.13, 3.14

Features
--------

* Support for 125+ hash functions including:

  * **Cryptographic hashes**: SHA-1, SHA-2 (224/256/384/512), SHA-3, BLAKE2b, BLAKE2s, BLAKE3
  * **Variable-length hashes**: SHAKE-128, SHAKE-256
  * **Non-cryptographic hashes**: MurmurHash3 (32-bit and 128-bit)
  * **Specialized hashes**: Double-SHA-256 (Bitcoin), Keccak, and more
  * **BLAKE2 variants**: Full range of digest sizes (8-512 bits for BLAKE2b, 8-256 bits for BLAKE2s)

* Streaming hash computation for large files
* Hash truncation support
* JSON serialization
* MultihashSet collection type
* Go-compatible API (``sum()``, ``digest()``, ``verify()``)

Quick Start
-----------

.. code-block:: python

    from multihash import digest, sum, Func

    # Using modern hash functions
    mh = digest(b"hello world", "blake3")

    # Using MurmurHash3 for fast, non-cryptographic hashing
    mh = digest(b"data", "murmur3-128")

    # Using BLAKE2b with custom digest size
    mh = digest(b"data", "blake2b-256")

    # Go-compatible API
    mh = sum(b"hello world", Func.sha2_256)
    print(mh.encode('hex'))

For more examples and usage, see the documentation.
pylicup 0.3.0
Python License Update (PyLicUp). Updates all the python headers of your project with the provided license text.
Requires Python: <3.15,>=3.11

[![Python 3.13](https://img.shields.io/badge/Python-3.13-blue.svg)](https://www.python.org/downloads/release/python-3135/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)


# PythonLicenseUpdater
Simple tool that updates your python files license headers for the given directories. By default it will skip __init__.py.

## How to use it?

### As Docker container

1. Checkout or clone our repository.


2. Build the container (with podman or docker):
```bash
podman build -t pylicup
```

3. Run the container mounting the license and the directories to update at the given locations:
```bash
podman run -v path/to/your/license/file:/mnt/license -v path/to/your/directory/to/update:/mnt/update pylicup
```

4. If you want to update multiple directories you can do it as:
```bash
podman run -v path/to/your/license/file:/mnt/license -v path/to/your/directory/to/update:/mnt/update/dir_1 -v path/to/your/other/directory/to/update:/mnt/update/dir_2  pylicup
```

> [!IMPORTANT]
> Our docker container does not support (yet) replacing of an old license.

### As Python package

#### Installation.

1. With pip:
```bash
pip install pylicup
```
2. With latest version from GitHub:
```bash
pip install git+https://github.com/Carsopre/PythonLicenseUpdater.git 
```
3. With custom version from GitHub:
```bash
pip install git+https://github.com/Deltares/PythonLicenseUpdater.git@v0.0.1
```

#### Python usage
The following command should be used.
```bash
python pylicup -l <path_to_your_license_file> -d <path_to_directory_with_python_files>
```
* <path_to_your_licenses_file> List of licenses, the first one will replace the ones that follow (in case present) or simply added at the top.
* <path_to_directory_with_python_files> List of arguments representing paths to the directories containing python files.

### Examples
Given the following directory hierarchy:
```
license_manager.py
|-src\
    |-__init__.py
    |-main.py
    |-utils.py
|-test\
    |-__init__.py
    |-test_main.py
    |-test_utils.py
|-setup.py
|-my_license.txt
|-my_newer_license.txt
```

1. The following command will update the license for src\main.py and src\utils.py:
```bash
python license_manager.py -l my_license.txt -d src
```

2. Whereas executing the following command will result in updating the license header for src\main.py, src\utils.py, test\test_main.py and test\test_utils.py:
```bash
python license_manager.py -l my_license.txt -d src test
```

3. Last, if we want to replace an existing license header with a new one, we would do the following command:
```bash
python license_manager.py -l {NEW_LICENSE} {OLD_LICENSE} -d src
```
barq-sdk-python 0.1.0
Python client for Barq DB
Requires Python: >=3.8

# Barq SDK Python

Official Python client for [Barq DB](https://github.com/YASSERRMD/barq-db) - a high-performance vector database.

## Installation

```bash
pip install barq-sdk-python
```

## Quick Start

### HTTP Client

```python
from barq import BarqClient

# Initialize client
client = BarqClient("http://localhost:8080", api_key="your-api-key")

# Check health
if client.health():
    print("Connected!")

# Create a collection
client.create_collection(
    name="documents",
    dimension=384,
    metric="L2"
)

# Insert a document
client.insert_document(
    collection="documents",
    id=1,
    vector=[0.1] * 384,
    payload={"title": "Hello World"}
)

# Search
results = client.search(
    collection="documents",
    vector=[0.1] * 384,
    top_k=5
)

for result in results:
    print(f"ID: {result['id']}, Score: {result['score']}")

client.close()
```

### gRPC Client

```python
from barq import GrpcClient

# Initialize gRPC client
client = GrpcClient("localhost:50051")

# Check health
if client.health():
    print("Connected via gRPC!")

# Create collection
client.create_collection(
    name="documents",
    dimension=384,
    metric="L2"
)

# Insert document
client.insert_document(
    collection="documents",
    id="doc1",
    vector=[0.1] * 384,
    payload={"title": "Hello World"}
)

# Search
results = client.search(
    collection="documents",
    vector=[0.1] * 384,
    top_k=5
)

for result in results:
    print(f"ID: {result['id']}, Score: {result['score']}")
```

## API Reference

### BarqClient (HTTP)

| Method | Description |
|--------|-------------|
| `health()` | Check server health |
| `create_collection(name, dimension, metric, index, text_fields)` | Create a new collection |
| `insert_document(collection, id, vector, payload)` | Insert a document |
| `search(collection, vector, query, top_k, filter)` | Search for similar vectors |
| `close()` | Close the client connection |

### GrpcClient

| Method | Description |
|--------|-------------|
| `health()` | Check server health |
| `create_collection(name, dimension, metric)` | Create a new collection |
| `insert_document(collection, id, vector, payload)` | Insert a document |
| `search(collection, vector, top_k)` | Search for similar vectors |

## Requirements

- Python >= 3.8
- httpx >= 0.23
- grpcio >= 1.50.0
- protobuf >= 4.21.0

## License

MIT License - see [LICENSE](../LICENSE) for details.
fabricatio-character 0.1.3
An extension of fabricatio
Requires Python: <3.15,>=3.12

# `fabricatio-character`

[MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Python Versions](https://img.shields.io/pypi/pyversions/fabricatio-character)
[![PyPI Version](https://img.shields.io/pypi/v/fabricatio-character)](https://pypi.org/project/fabricatio-character/)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-character/week)](https://pepy.tech/projects/fabricatio-character)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-character)](https://pepy.tech/projects/fabricatio-character)
[![Build Tool: uv](https://img.shields.io/badge/built%20with-uv-orange)](https://github.com/astral-sh/uv)


An extension of fabricatio.

---

## 📦 Installation

This package is part of the `fabricatio` monorepo and can be installed as an optional dependency using either pip or uv:

```bash
pip install fabricatio[character]
# or
uv pip install fabricatio[character]
```

For a full installation that includes this package and all other components of `fabricatio`:

```bash
pip install fabricatio[full]
# or
uv pip install fabricatio[full]
```
## 🔍 Overview

Provides character creation and composition capabilities for fabricatio applications, enabling the generation of detailed character profiles and personalities for use in storytelling, role-playing, and narrative content creation. It leverages AI to compose rich, consistent character arcs and backgrounds.
## 🧩 Key Features

- **Character Composition**: Generate complete character profiles with backgrounds, personalities, and motivations
- **Flexible Requirements**: Support both single character and batch character generation based on specific requirements
- **Story Integration**: Create characters that fit seamlessly into existing narratives and story arcs
- **Personality Depth**: Generate complex, multi-dimensional characters with consistent behavioral traits
- **Validation System**: Ensure generated characters meet specified criteria and requirements
- **Template-Driven Generation**: Use configurable templates for consistent character creation across projects


## 🔗 Dependencies
Core dependencies:

- `fabricatio-core` - Core interfaces and utilities

No additional dependencies required.
## 📄 License

This project is licensed under the MIT License.
fabricatio-capable 0.1.3
An extension of fabricatio
Requires Python: <3.15,>=3.12

# `fabricatio-capable`

[MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Python Versions](https://img.shields.io/pypi/pyversions/fabricatio-capable)
[![PyPI Version](https://img.shields.io/pypi/v/fabricatio-capable)](https://pypi.org/project/fabricatio-capable/)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-capable/week)](https://pepy.tech/projects/fabricatio-capable)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-capable)](https://pepy.tech/projects/fabricatio-capable)
[![Build Tool: uv](https://img.shields.io/badge/built%20with-uv-orange)](https://github.com/astral-sh/uv)


An extension of fabricatio.

---

## 📦 Installation

This package is part of the `fabricatio` monorepo and can be installed as an optional dependency using either pip or uv:

```bash
pip install fabricatio[capable]
# or
uv pip install fabricatio[capable]
```

For a full installation that includes this package and all other components of `fabricatio`:

```bash
pip install fabricatio[full]
# or
uv pip install fabricatio[full]
```
## 🔍 Overview

Provides capability assessment and validation framework for fabricatio agents, enabling intelligent evaluation of whether specific tasks can be performed using available tools and context. It integrates judgment capabilities with tool usage assessment to determine agent feasibility for complex requests.
## 🧩 Key Features

- **Capability Assessment**: Evaluate whether agents can handle specific requests based on available tools and context
- **Intelligent Judgment**: Use advanced judgment mechanisms to assess task feasibility and requirements
- **Tool Integration**: Seamlessly work with toolboxes to validate capability against available resources
- **Batch Processing**: Support both single and batch capability assessments for multiple requests
- **Template-Driven Evaluation**: Configurable assessment templates for consistent capability evaluation
- **Context-Aware Validation**: Leverage briefing and context information for accurate capability determination


## 🔗 Dependencies
Core dependencies:

- `fabricatio-core` - Core interfaces and utilities
- `fabricatio-tool` - Tool usage and toolbox management
- `fabricatio-judge` - Advanced judgment and evaluation capabilities

No additional dependencies required.
## 📄 License

This project is licensed under the MIT License.
turbines 0.1.2
A simple static site generator with live reload
Requires Python: >=3.12

# turbines

A static site generator built with Jinja2.

Inspired by [Cactus](https://github.com/koenbok/Cactus), a project that is no longer maintained.

## What is turbines?

Turbines is a static site generator that allows you to create websites using Jinja-based HTML templates and markdown files. Turbines makes it easy to deploy your site to services like Cloudflare Pages or AWS S3. It supports live reloading during development.

## Usage

To install turbines, run:

```bash
pip install turbines
```

or

```bash
uv add turbines
```

To create a new site, run:

```bash
turbines create mysite
cd mysite
```

To build the site, run:

```bash
turbines build
```

To serve the site with live reloading, run:

```bash
turbines serve
```

## Examples

None yet. Coming soon!

## Compatibility

Turbines is built with Python 3.12.
hone-io-enterprise 2.3.0
Library for quantum cognition machine learning.
Requires Python: >=3.12

# HONE-IO Enterprise Edition

To activate, request a license key to [Qognitive](mailto:support@qognitive.io). Documentation available [here](https://qognitive-qcog-core.readthedocs-hosted.com/en/latest/).

## Activate

Before running, add the key as an environment variable:

```bash
export HONEIO_LICENSE_KEY=<your-license-key>
```

Documentation available [here](https://qognitive-qcog-core.readthedocs-hosted.com/en/latest/)
ArrayViewer 1.1.4.1
ArrayViewer
Requires Python: >=3.9

# ArrayViewer

The ArrayViewer is a tool to visualize data from different sources in a unified tool. It can load files containing different data structures (data, hdf5, mat, numpy, txt). This data can than be plotted as a standard plot, image or 3d/4d representation.

## Usage
To install the Arrayviewer simply run `pip3 install ArrayViewer`. Once installed you can run `aview` to start the application. You can append the name of one or more files you want to open, to load them directly. A detailed description is available at https://arrayviewer.readthedocs.io

## Dependencies
The ArrayViewer requires the following python-packages:
* PyQt5
* numpy
* scipy
* h5py
* matplotlib
* Pillow
* natsort