paddl: Parse Any DDL
Parse DDLs into objects using python.
Ambitious title, supported SQL languages include:
- Rudamentary
CREATE TABLEimplemented, pursuing MySQL 8 first.
from paddl import parse, ColType
schema = parse("CREATE TABLE employees (id int, name varchar(255));", 'mysql')
table = schema.tables[0]
table.name
# "employees"
table.columns
column = table.columns[0]
column.name == 'id'
column.type == ColType.INT
command line
paddl offers "No Code" CLI solutions, such as rendering ER Diagrams.
> python -m paddl
usage: paddl [-h] [--erd] sql
Metadata
Release files for paddl 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paddl-0.3.0.tar.gz | 11.4 kB | Without provenance | Details for paddl-0.3.0.tar.gz |
Release files / paddl-0.3.0.tar.gz
| Download URL | paddl-0.3.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4394444b46324077c261998a48d54a52deea60ffca13a178adc66a409fe6bf7
|
|
BLAKE2b-256 checksum How to use checksums |
0a9a34d1c3e103624430fbb5722bcfb18e2dcf053ae662ed96a0adeb4875bde6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for paddl 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.