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.15.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.15-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exdrf-0.1.15.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.15.tar.gz
Algorithm Hash digest
SHA256 115b31c0d33798a0b510902bd900584798cb9f308600f921e6306f3f7e8cde18
MD5 78d2ba55d0cc67e21cdeb7bacb65288e
BLAKE2b-256 04b3db937f98c9603719baa9ad5e16b118a3305c2f7690c9ea93dad5c575c7d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exdrf-0.1.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 190bf290cff18de3effb79d0ecb3057e3e6b8fdb27a73205a23950cd674a29f8
MD5 b3fbecd795fbc5327080ec247e6457d3
BLAKE2b-256 f008ee55e65386de0be2da92bef79f8ae65daa6474d4f44815c98d0201c798d1

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