semvec/pypi-packages huggingface dataset:
liquidz 0.6.0
High-performance Liquid template engine powered by Zig
License: MIT
Requires Python: >=3.8
Keywords: liquid, template, templating, zig, fast, shopify

# Liquidz Python Binding

High-performance Liquid template engine for Python, powered by Zig.

## Installation

```bash
pip install liquidz
```

**Prerequisites:** You need to build the Zig library first:

```bash
cd ../..  # Go to project root
zig build -Doptimize=ReleaseFast
```

## Usage

```python
from liquidz import render

# Simple variable substitution
result = render("Hello, {{ name }}!", {"name": "World"})
print(result)  # "Hello, World!"

# With loops
result = render("{% for item in items %}{{ item }} {% endfor %}", {"items": ["a", "b", "c"]})
print(result)  # "a b c "

# With conditionals
result = render("{% if show %}visible{% endif %}", {"show": True})
print(result)  # "visible"

# With filters
result = render("{{ name | upcase }}", {"name": "hello"})
print(result)  # "HELLO"

# Using JSON string directly
result = render("{{ x }}", '{"x": 42}')
print(result)  # "42"

# Empty data (defaults to {})
result = render("Hello")
print(result)  # "Hello"
```

## API

### `render(template, data=None)`

Renders a Liquid template with the given data.

**Parameters:**
- `template` (str): The Liquid template string
- `data` (dict | str | None): The data to render with. Can be a dict or a JSON string. Defaults to `None` (empty dict).

**Returns:**
- `str`: The rendered template

**Raises:**
- `RenderError`: If rendering fails
- `LiquidzError`: If the library cannot be loaded

### `render_string(template, data=None)`

Alias for `render()`.

### Exceptions

- `LiquidzError`: Base exception for all Liquidz errors
- `RenderError`: Raised when template rendering fails

## Running Tests

```bash
pip install pytest
pytest
```

## License

MIT
reifier 0.0.3
Neural network compilation
License: MIT
Requires Python: >=3.12

# Reifier

Compile algorithms into neural network circuits.

Installation:
```bash
uv pip install reifier
```

See a demo Google Colab notebook [here](https://colab.research.google.com/drive/196UXK9fwExQI07u0ZDQKMr25YbZNPilA?usp=sharing).

Circuit visualization:

<img src="https://raw.githubusercontent.com/contramont/reifier/refs/heads/main/src/reifier/examples/example_circuit.png" width="400">

Interactive visualization [here](http://draguns.me/circuit.html)

Simple example calculating xor of 5 bits:
```python
from reifier.neurons.core import const
from reifier.neurons.operations import xor
from reifier.utils.format import Bits

inputs = const('01101')
output = xor(inputs)
print(f"{Bits(inputs)} -> {Bits(output)}")
```
jp-diet-search 0.1.1
Python client & CLI for the National Diet Library Minutes Search API (国会会議録検索システム)
License: MIT
Requires Python: >=3.10
Keywords: Japan, Diet, Kokkai, National Diet Library, minutes, parliament, API, search

# jp-diet-search

[![PyPI](https://img.shields.io/pypi/v/jp-diet-search.svg)](https://pypi.org/project/jp-diet-search/)
[![Python](https://img.shields.io/pypi/pyversions/jp-diet-search.svg)](https://pypi.org/project/jp-diet-search/)
[![License](https://img.shields.io/pypi/l/jp-diet-search.svg)](LICENSE)


Python client for the National Diet Library **Kokkai Kaigiroku Kensaku System**
(国会会議録検索システム).

This package provides:

- A **plain-vanilla Object API** for programmatic access
- Robust error handling and safe pagination
- No heavy dependencies or hidden magic

---

## Features

### Python Object API

- Explicit endpoint objects:
  - `client.meeting_list`
  - `client.meeting`
  - `client.speech`
- Typed query objects (`MeetingListQuery`, `MeetingQuery`, `SpeechQuery`)
- Automatic pagination with optional total caps
- Optional on-disk caching

---

## Installation

For development:

```bash
pip install -e .
```

For normal use (after PyPI release):

```bash
pip install jp-diet-search
```

---

## Development Workflow

```bash
python -m compileall src   # Verify syntax
pip install -e .           # Install in editable mode
pytest                     # Run tests
```

---

## Python API (Object API)

### Basic usage

```python
from jp_diet_search import DietClient
from jp_diet_search.queries import SpeechQuery

client = DietClient(cache_dir=".cache")

query = SpeechQuery(
    any="科学技術",
    maximum_records=100,
)

result = client.speech.search(query, limit_total=5)

print(result["numberOfRecords"])
for record in result.get("records", []):
    print(record.get("speaker"), record.get("date"))
```

### Endpoint overview

```python
client.meeting_list.search(MeetingListQuery(...))
client.meeting.search(MeetingQuery(...))
client.speech.search(SpeechQuery(...))
```

Returned values are **raw JSON dictionaries** aggregated across pages.

---

## Project Structure

```
jp-diet-search/
  src/
    jp_diet_search/
      __init__.py
      client.py
      core.py
      endpoints.py
      queries.py
      cli.py
      exceptions.py
      models.py   # reserved (currently unused)
  tests/
  README.md
  pyproject.toml
  Makefile
```

---

## Design Notes

- The public API avoids `**kwargs` bags in favor of explicit query objects.
- Internal HTTP and pagination logic lives in a dedicated core layer.
- `models.py` is intentionally unused for now; responses are returned as raw JSON.
- Console scripts are the primary execution model (no `python -m` required).

---

## License

MIT License.