$npx skillfedfor your agent

pydbml

Python parser and builder for DBML

Worth itPyPI UtilitiesReleased Oct 202594.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pydbml-1.2.1-py3-none-any.whl
v1.2.1 · released 2025-10-24 · Python >=3.8 · 1 runtime deps: pyparsing

Yes. PyDBML is actively maintained, has no known vulnerabilities, installs with minimal friction, and is permissively licensed. Install it if you need to parse or generate DBML schemas in Python—it's the standard tool for that task.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or higher.
  • Low install friction with a single runtime dependency (pyparsing).
  • Active maintenance with a recent release in October 2025 and commits through April 2026.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.

last release 2025-10-24 (294 days) · last repo commit 2026-04-20 · 139 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,653 downloads/mo, #13,319 on PyPI

Verify before relying

from pydbml import PyDBML
from pathlib import Path

parsed = PyDBML(Path('schema.dbml'))
for table in parsed.tables:
    print(table.name)
print(parsed.sql)
  • Whether the parser handles all DBML v3.9.5 features or only a subset.
  • Performance characteristics when parsing large or complex schemas.
Same gist for agents: .md · .json

What it is and what it does

PyDBML is a Python parser and builder for DBML, a human-readable markup language for defining database schemas. It reads DBML files or strings and constructs an in-memory representation of the schema as a Database object, allowing you to access tables, references, enums, and table groups programmatically. You can then generate SQL DDL statements from the parsed schema or regenerate DBML from modified objects.

The package is compliant with DBML v3.9.5 syntax and depends only on pyparsing for parsing. It's useful when you need to work with DBML schemas in Python code—reading them for documentation, validation, or transformation, or building schemas programmatically and exporting them as SQL or DBML.

Use it for

  • Parse a DBML schema file and generate SQL DDL to create database tables.
  • Read DBML definitions and programmatically extract table and column metadata for documentation or tooling.
  • Build a database schema in code and export it as DBML or SQL for version control and collaboration.
  • Validate or transform DBML schemas by parsing, modifying, and regenerating them.
  • Integrate DBML schema definitions into Python-based database migration or ORM tools.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PyDBML is actively maintained, has no known vulnerabilities, installs with minimal friction, and is permissively licensed. Install it if you need to parse or generate DBML schemas in Python—it's the standard tool for that task.

Install

pydbml on PyPI

Before you install

Low install friction with a single runtime dependency (pyparsing). Active maintenance with a recent release in October 2025 and commits through April 2026.

Requires Python 3.8 or higher.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.

Quickstart

from pydbml import PyDBML
from pathlib import Path

parsed = PyDBML(Path('schema.dbml'))
for table in parsed.tables:
    print(table.name)
print(parsed.sql)

Verify before relying

  • Whether the parser handles all DBML v3.9.5 features or only a subset.
  • Performance characteristics when parsing large or complex schemas.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pyparsing
MaintenanceActively maintained 294 days since the last release
Last repo commit
First released
Downloads94,653 / month, #13,319 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: DocumentationTopic :: Text Processing :: MarkupTopic :: Utilities

Evidence: pydbml-1.2.1-py3-none-any.whl

Tags

Capabilities
DBML parser pythondatabase schema markup languageparse DBML filesgenerate SQL from DBMLDBML to SQL converterdatabase schema definitionDBML syntax parser
Topics
schema-definitionmarkup-languagesql-generation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “DBML parser python”

  • pydbmlPyDBML parses and generates DBML (Database Markup Language) schemas,…
  • dparseParses Python dependency files (requirements.txt, conda.yml, tox.ini,…
  • pyleriPyleri is a left-right parser generator that lets you define a…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also ddlparse · simple-ddl-parser · jsonschema-pydantic-converter · syntaqlite · PyMySQL · sqlalchemy-risingwave · jinjasql · sql-metadata · python-chess · datamodel-code-generator