PyDBML is a Python library for parsing and building DBML (Database Markup Language) files. It allows developers to convert DBML definitions into SQL DDL statements and vice-versa, facilitating database schema design and management. The current version is 1.2.1, and the project maintains an active release cadence with regular bug fixes and feature enhancements.
pip install pydbmlVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to parse a DBML string using `pydbml.parse` and then render the parsed object to SQL DDL and back to DBML format.
Avoid using unicode characters in identifiers in your DBML schemas. If this functionality is critical and you accept potential performance impacts, you may need to downgrade to a version prior to 1.2.0.
Upgrade to `pydbml 1.2.1` or newer to ensure correct SQL rendering of string and falsy default values in your generated DDL.
Review the generated SQL/DBML output after upgrading from versions older than 1.1.0 to ensure compatibility with your existing tooling or expectations, as subtle formatting or feature interpretations may have changed.
No dependency data recorded yet.