semvec/pypi-packages huggingface dataset:
PedInterp 0.1.7
Image interpreter for clinical pedigrees for conversion to PED file formatting
Requires Python: >=3.8

# Pedigree Interpreter Package

pedigree-interpreter is a python package 
used to interpretation images of clinical pedigrees
into PED file formatting.


## Prerequisites

This package depends on the [Tesseract ORC Engine](https://github.com/tesseract-ocr/tesseract), which must be installed separately in addition to the Python dependencies listed in 'pyproject.toml'.

Installation instruction for Tesseract OCR engin are available in the official Teserract documentation:

[tesseract Installation Guide](https://tesseract-ocr.github.io/tessdoc/Installation.html)


## Installation

All required Python dependencies will be installed automatically with this package.

```bash
pip install pedigree-interpreter
```

## Usage
This package has two main functions:
1. **`pedigree_processing(FamID, raw_image_dir, export, output_dir)`** - translates the clinical pedigree image (.png) with the name given as FamID as the file name into a Pandas dataframe with field corresponding to PED file formatting. If desired, the interpretted pedigree can automatically exported as a PED file to the desired output directory (output_dir)
2. **`PED_export(PED_df, output_dir)`** - exports a given PED file-formatted Pandas dataframe (PED_df, constructed via pedigree_processing) to a desired output directory. File will be named according to the Family ID listed in first individual entry in PED_df (i.e. output_dir/<FamilyID>.ped)

## License

[MIT]
(https://choosealicense.com/licenses/mit/)
django-identityfield 0.1.2
Auto-incrementing fields like Django AutoField but without restrictions!
Requires Python: >=3.13

# identityfield

Auto-incrementing fields like Django `AutoField` but without restrictions!

This reusable app provides fields that are using PostgreSQL `GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY`.
Same as Django `AutoField`. But without `primary_key=true` limitation.

## Installation
https://pypi.org/project/django-identityfield/
* `uv add django-identityfield`
* add `"identityfield"` to your `settings.INSTALLED_APPS`

## Usage

```python
from django.db import models
from identityfield import IdentityField, Identity


class HappyModel(models.Model):
    sequence = IdentityField()
    # ALWAYS rejects any value other than DEFAULT in UPDATE
    always_sequence = IdentityField(identity=Identity.ALWAYS)
```

DB sequences are automatically created by PostgreSQL.
And are automatically incremented on DB side.

https://www.postgresql.org/docs/current/ddl-identity-columns.html

## Running test suite

```bash
uv run pytest
uvx tox
```