Skip to main content

Describe datasets, resources and their fields.

Project description

Datasets-Resources-Fields

exdrf is the core library of Ex-DRF (Extended Datasets–Resources–Fields). It lets you describe datasets: each resource is made of typed fields and relationships. That single tree drives reflection from ORMs or Pydantic, code generation (via sibling exdrf-gen-* packages), labels, and shared UI metadata.

What it provides

  • A typed model of fields (including references and enums) and how they group into resources and categories.
  • Helpers such as label DSL (exdrf.label_dsl) for human-readable record labels and generated code.
  • FieldInfo, ResExtraInfo, and related types that companion packages populate from SQLAlchemy info dicts or Pydantic constraints.

Dependencies

Declared in pyproject.toml: attrs, inflect, SQLAlchemy, Unidecode. Python 3.12.2+ is required.

Related packages

Pair exdrf with exdrf-al (SQLAlchemy), exdrf-pd (Pydantic), exdrf-qt (desktop UI primitives), exdrf-gen and exdrf-gen-* plugins for codegen, and optional exdrf-xl, exdrf-ts, exdrf-rcv, exdrf-util as needed. Monorepo layout and quality commands are documented in the repository root README.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exdrf-0.1.16.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exdrf-0.1.16-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

Details for the file exdrf-0.1.16.tar.gz.

File metadata

  • Download URL: exdrf-0.1.16.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for exdrf-0.1.16.tar.gz
Algorithm Hash digest
SHA256 dffca6fec88bdff3b6ec5e49bb926761a1354bc3b5bd55f1e1c82cfaa06c2410
MD5 0ba9b8e93db02ff9961a553cdb7901ac
BLAKE2b-256 ea4e25dd6e358a5180d68b47222c053e8c16f7d3c96fc029fcccd7ec1df58a72

See more details on using hashes here.

File details

Details for the file exdrf-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: exdrf-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 81.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for exdrf-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 9a97f716782bda738558e8b1da4249c3f0ce1601ef069e26559bb57d0b818823
MD5 409a5e65fb0d4dbf86720b4429ce2c4c
BLAKE2b-256 d7268ca06f48adff6fe7c1905b396bc5445438393b5a5af53a6987d1eb9ec7b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page