Skip to main content

Conger

Lightweight data model management for Python ecosystem.

Specifically, conger provides a management interface for easy previewing, editing, and storing data models (defined by pydantic or dataclass).

Install

If you using rye (recommended), you can install conger as a dependency of your project:

rye add conger

or pip:

python -m pip install conger

Quick Start

  1. Define your data model (e.g. Person):
from conger import BaseModel, Field

class Person(BaseModel):
    name: str
    age: int = Field(..., gt=18, lt=100)
  1. Add this data model to flask app:
from flask import Flask
import pickledb
from conger import Conger

app = Flask(__name__)
db = pickledb.load("db.json", True)
conger = Conger(app, database=db)

"""
your data model
"""

conger.add_model(Person)


if __name__ == "__main__":
    app.run()
  1. visit http://127.0.0.1:500/conger/

LICENSE MIT

Release files for congers 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for congers 0.1.0
File Size Uploaded
congers-0.1.0.tar.gz 618.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for congers 0.1.0
File Interpreter ABI Platform
congers-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 623.7 kB

Release files / congers-0.1.0.tar.gz

Download URL congers-0.1.0.tar.gz
Size 618.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff1951f7d412d61f0b5830e140f34eab5a5c9aa94668c261ae89af5aee28809c
BLAKE2b-256 checksum
How to use checksums
20fcd1ad4c8b5faefcbc9d2a612e34fca10ff9eae355c46c27d77f45a255e160
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / congers-0.1.0-py3-none-any.whl

Download URL congers-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4055115be18cba3e7fd6737107881a656860af635af32f1ebae8c1672756b665
BLAKE2b-256 checksum
How to use checksums
c80ef4e01f9d4c39e6c6323b1d84155ba257178fe6b094a98913be545840dd5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page