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

Uploaded Python 3

File details

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

File metadata

  • Download URL: exdrf-0.1.17.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.17.tar.gz
Algorithm Hash digest
SHA256 011c79e8d324280737f36d7651eff8d17bf5c956f77d52d2000e44f0ac293fa1
MD5 53f29400c8c397d27d6eb4f583a65226
BLAKE2b-256 3f749fca80b6d8ddb733c39b24fb99503300bc1fccad64de40bf3982f37410f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exdrf-0.1.17-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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 316a1c8924e825757194cb2402f912039e9516e3c8e33432582e0f6125444874
MD5 4e27f50d60367c23ad72f585b004bc6f
BLAKE2b-256 15d1a5a70e644d72deb3954d18b635519e403c7bcc63ee1ae62f702071abd847

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