semvec/pypi-packages huggingface dataset:
quilled 0.1.1
Generate Quill quantum circuit diagrams from Qiskit circuits
Requires Python: >=3.8
Keywords: quantum information, quantum circuits, typst


# Quilled



[![PyPI Package](https://img.shields.io/pypi/v/quilled)](https://pypi.org/project/quilled/)
[![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/Mc-Zen/quilled/blob/main/LICENSE)
[![Tests](https://github.com/Mc-Zen/quilled/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Mc-Zen/quilled/actions/workflows/run-tests.yml)
---


This package generates Quill quantum circuit diagrams from Qiskit circuits. You can install it via
```
pip install quilled
```

After the installation, you can use the package as follows:
```py
import quilled
from qiskit import QuantumCircuit

qc = QuantumCircuit(2)

qc.h([0, 1])
qc.cz(0, 1)
qc.t([0, 1])

source_string = quilled.source(qc)
```

Or in order to directly draw and display in a Jupyter Notebook. 
```py
from quilled import qprint

qprint(qc)
qprint(qc, labels=False)  # Do not show qubit labels at the beginning of each wire. 
qprint(qc, bundle=False)  # Do not combine classical registers into one bundle. 
qprint(qc, scale=0.8)     # Scales the entire diagram. 
qprint(qc, qubits=[0, 1]) # Only display subset of qubits
```


## License

This library is distributed under the MIT License.

If you want to support work like this, you can consider a one-time or monthly [sponsorship](https://github.com/sponsors/Mc-Zen).
lazy-k 0.1.5
A C++ implementation of the Lazy-k algorithm (A* with partial expansion)
Requires Python: >=3.10

![main](https://github.com/ahemmershift/lazyk/actions/workflows/python.yml/badge.svg)
# lazyk
A C++/Python library for efficiently iterating over high-probability label-assignments.

## Installation
You know the drill
```bash
pip install lazy-k
```

## Usage
The library can be used to iterate over the high-probability label-assignments of a given probability matrix. The following example shows how to use the library to iterate over the high-probability label-assignments of a 3x3 probability matrix.

```python
from lazyk import lazyk
import numpy as np

probs = np.arange(1, 10).reshape(3, -1)
probs = probs / probs.sum(axis=1, keepdims=True)

for seq in lazyk(probs, cache_assignments=True): # cache_assignments is true by default, but can be turned off for lower memory usage but might be slower
    print(seq)
```

The `cache_assignments` parameter indicates whether the algorithm should cache the intermediate label-assignments. This will improve the running speed of the algorithm but also require more memory. The default value is `True` but can be turned off if memory is a concern.

More information can be found in the [paper](https://aclanthology.org/2023.emnlp-main.416/) "Lazy-k Decoding: Constrained Decoding for Information Extraction".
oxius 1.0.3
Async FastAPI-style wrapper
Requires Python: >=3.7

# oxius

[![Python](https://img.shields.io/badge/Python-3.7+-blue.svg?style=flat-square&logo=python)](https://www.python.org/)
[![License](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/oxius.svg?style=flat-square&logo=pypi)](https://pypi.org/project/oxius/)

Ultra-fast, dependency-free async HTTP client for Python. A drop-in alternative to aiohttp with minimal footprint.

## Features

- Fully async with asyncio
- HTTP methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- SQLite response caching with TTL
- Zero external dependencies
- Clean, simple API

## Installation

```bash
pip install oxius
```

## Quick Start

```python
import asyncio
import oxius

async def main():
    session = oxius.ClientSession()
    response = await session.get("https://catfact.ninja/fact")
    print(response.json())

asyncio.run(main())
```

## Usage

```python
import asyncio
import oxius

async def example():
    session = oxius.ClientSession()

    # GET request
    response = await session.get("https://api.github.com/users/octocat")
    
    # POST with body
    post_response = await session.post(
        "https://httpbin.org/post",
        body='{"key": "value"}',
        headers={"Content-Type": "application/json"}
    )
    
    print(f"Status: {response.status}")
    print(f"Data: {response.json()}")

asyncio.run(example())
```

## API

### Methods
- `session.get(url, headers=None)`
- `session.post(url, headers=None, body=None)`
- `session.put(url, headers=None, body=None)`
- `session.delete(url, headers=None)`
- `session.head(url, headers=None)`
- `session.options(url, headers=None)`

### Response
- `response.status` - HTTP status code
- `response.json()` - Parse JSON response
- `response.text()` - Get response as text
- `response.headers` - Response headers

## License

MIT License
jsonvault 0.1.0
DB with JSON files
Requires Python: >=3.13

# jsonvault

A simple keyvalue based DB for python.

## Support the work

If you feel this project is worth it, support it by giving the repo a star, contributing to the repo or buy me a coffee for the rainy nights.

### Donations
For crypto donations see the profile readme. For others, proceed:
- Buy Me A Coffee: [A coffee is worth it!](https://buymeacoffee.com/aerocyber)
- GitHub Sponsors" [Thanks for sponsoring me!](https://github.com/sponsors/aerocyber)

## About

Python version: 3.13+
OS: Independent
Purpose: Whenever you need a simple key-value db in Python.

## Installation

### From PyPI (Recommended)

WIP

### From GitHub (Developer previews or you need git version for some reason)

## Docs

WIP

## Contributing

WIP
unrun 0.3.6
A simple CLI tool to run commands from a YAML file.
Requires Python: >=3.6

# UnRun

[![PyPI downloads per month](https://img.shields.io/pypi/dm/unrun.svg?color=BD976A)](https://pypi.org/project/unrun/)
[![PyPI version](https://img.shields.io/pypi/v/unrun.svg?color=blue)](https://pypi.org/project/unrun/)
[![GitHub last commit](https://img.shields.io/github/last-commit/howcasperwhat/unrun.svg?color=red)](https://github.com/howcasperwhat/unrun/commits/main)
[![GitHub issues](https://img.shields.io/github/issues/howcasperwhat/unrun.svg?color=63ba83)](https://github.com/howcasperwhat/unrun/issues)

🚀 A simple CLI tool to run commands from a YAML file.

## Installation

```bash
pip install unrun
```

## Usage & Features

Create an `unrun.yaml` file in your project root:

```yaml
hello: echo "Hello, world!"
foo:
    bar: echo "This is foo bar"
baz: !and
    - echo "This is baz item 1"
    - echo "This is baz item 2"
```

### Single Command

You can run a single command by specifying its key:

```bash
unrun hello
```

Run the command:

```bash
echo "Hello, world!"
```

### Nested Command
You can run nested commands by specifying the full path:

```bash
unrun foo.bar
```

Run the command:

```bash
echo "This is foo bar"
```

### List Command
To run all commands under a key that contains a list, you can simply specify the key:

```bash
unrun baz
```

Run the commands:

```bash
echo "This is baz item 1" && echo "This is baz item 2"
```

Supports `!and`, `!or` and `!;` YAML tags to combine commands.

### Configuration

#### Configure Priority
1. CLI arguments
2. Environment variables: `UNRUN_{key}`
3. local `unrun.config.yaml`
4. global `~/unrun.config.yaml`

#### Available keys
- `--file`: Specify a custom YAML file (default is `unrun.yaml`).
- `--include`: Include specified keys from the YAML file.
- `--exclude`: Exclude specified keys from the YAML file.

## License

[MIT License](https://github.com/howcasperwhat/unrun/blob/main/LICENSE)