semvec/pypi-packages huggingface dataset:
django-citext 1.0.3
PostgreSQL CIText integration for Django.
Requires Python: >=3.9
Keywords: PostgreSQL, Django, CITEXT, Case Insensitive, postgres

# Django CIText

PostgreSQL CIText integration for Django.

[![PyPi Version](https://img.shields.io/pypi/v/django-citext.svg)](https://pypi.python.org/pypi/django-citext/)
[![Test Coverage](https://codecov.io/gh/voiio/django-citext/branch/main/graph/badge.svg)](https://codecov.io/gh/voiio/django-citext)
[![GitHub License](https://img.shields.io/github/license/voiio/django-citext)](https://raw.githubusercontent.com/voiio/django-citext/main/LICENSE)

## Setup

```ShellSession
python3 -m pip install django-citext
```

```python
# settings.py
INSTALLED_APPS = [
    "citext",
    # ...
]
```

## Usage

```python
# myapp/models.py
from django.db import models
from citext import CITextField, CIEmailField


class MyModel(models.Model):
    name = CITextField()
    email = CIEmailField(unique=True)
```

```python
# myapp/views.py
from django.http import HttpResponse, HttpResponseNotFound

from . import models


def my_view(request, email):
    try:
        my_model = models.MyModel.objects.get(email=email)
    except models.MyModel.DoesNotExist:
        return HttpResponseNotFound()
    return HttpResponse(my_model.name)
```

## Credits

Project is based on the Django's own CIText implementation,
which was removed in Django 5.0. Big thanks to the Django contributors
for their excellent work.
fontsimi 3.0.0
Fast font similarity matching via vector search
Requires Python: >=3.10
Keywords: fonts, similarity, typography, vector-search

# FontSimi v3 (core package)

Fast font similarity via 64‑dimensional vectors and per‑script HNSW indices.

## What works now (v3.0.0)
- Rust core: vector math, script mapping (174 scripts), beam-density metrics, SSIM, alignment, and HNSW save/load APIs with unit tests.
- Python types: `FontVector`, `GlobalMetrics`, `ScriptId`, `IndexCollection`, and low-level docs/tests under `tests/`.

## What is still stubbed
- PyO3 bindings now expose `ScriptIndex`, `compute_font_vector`, `render_canonical`, `compute_ssim`, and a stub `optimize_match`; the CLI and pipeline run, but optimizer refinement and more tests are still needed for v3.1.
- The packaged `.so` in the repo targets CPython 3.13 only; rebuild for your interpreter with maturin.
- License is MIT across Cargo and pyproject; repository `LICENSE` is included.

## Install from source (macOS, rust toolchain required)
```bash
cd /Users/adam/Developer/vcs/github.docrepair-fonts/fontsimi
uv venv --python 3.12
source .venv/bin/activate
uv pip install maturin==1.6.0
maturin develop --features python --release
```

## Minimal usage (works today)
```python
from fontsimi import FontVector, GlobalMetrics, IndexCollection, ScriptId

metrics = GlobalMetrics(aspect=0.5, width=0.6, density=0.4, consistency=0.1,
                        h_beam=0.2, v_beam=0.8, d_beam=0.2, ref_height=0.7)
vector = FontVector(metrics)

index = IndexCollection()
index.insert(ScriptId.latn(), "demo-font", vector)
results = index.search(ScriptId.latn(), vector, k=5)
```

## Roadmap to v3.1
See `../PLAN.md` and `../TODO.md` for the detailed v3.1 scope (binding completion, CLI fixes, wheels for py310–py313).