{"id":17976106,"url":"https://github.com/reneeb/mysql-workbench-parser","last_synced_at":"2026-03-02T03:32:15.481Z","repository":{"id":10827788,"uuid":"13105160","full_name":"reneeb/MySQL-Workbench-Parser","owner":"reneeb","description":"Parse .mwb files created with MySQL workbench tool.","archived":false,"fork":false,"pushed_at":"2021-12-06T09:49:21.000Z","size":206,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T23:15:58.270Z","etag":null,"topics":["hacktoberfest","mysql","parser","workbench"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reneeb.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-25T20:54:19.000Z","updated_at":"2023-05-17T19:52:38.000Z","dependencies_parsed_at":"2022-09-12T11:51:31.733Z","dependency_job_id":null,"html_url":"https://github.com/reneeb/MySQL-Workbench-Parser","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reneeb%2FMySQL-Workbench-Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reneeb%2FMySQL-Workbench-Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reneeb%2FMySQL-Workbench-Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reneeb%2FMySQL-Workbench-Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reneeb","download_url":"https://codeload.github.com/reneeb/MySQL-Workbench-Parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489757,"owners_count":20623789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","mysql","parser","workbench"],"created_at":"2024-10-29T17:22:02.980Z","updated_at":"2026-03-02T03:32:15.429Z","avatar_url":"https://github.com/reneeb.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/reneeb/MySQL-Workbench-Parser.svg?branch=master)](https://travis-ci.org/reneeb/MySQL-Workbench-Parser)\n[![Kwalitee status](https://cpants.cpanauthors.org/dist/MySQL-Workbench-Parser.png)](https://cpants.cpanauthors.org/dist/MySQL-Workbench-Parser)\n[![GitHub issues](https://img.shields.io/github/issues/reneeb/MySQL-Workbench-Parser.svg)](https://github.com/reneeb/MySQL-Workbench-Parser/issues)\n\n# NAME\n\nMySQL::Workbench::Parser - parse .mwb files created with MySQL Workbench\n\n# VERSION\n\nversion 1.11\n\n# SYNOPSIS\n\n    # create the parser\n    my $parser = MySQL::Workbench::Parser-\u003enew(\n        file =\u003e '/path/to/file.mwb',\n    );\n\n    # access tables of the workbench ER model\n    my @tables = @{ $parser-\u003etables };\n\n    # access views of the workbench ER model\n    my @views = @{ $parser-\u003eviews };\n\n# DESCRIPTION\n\nThe MySQL Workbench is a tool to design database entity relationship models.\nThis parser parses .mwb files created with that tool and extracts all relevant\ninformation.\n\n# METHODS\n\n## new\n\nCreate a new parser object\n\n    my $parser = MySQL::Workbench::Parser-\u003enew(\n        file =\u003e '/path/to/file.mwb',\n    );\n\n## dump\n\ndump the database structure as YAML\n\n    my $yaml = $parser-\u003edump;\n\n## get\\_datatype\n\nget datatype for a workbench column datatype\n\n    my $datatype = $table-\u003eget_datatype( 'com.mysql.rdbms.mysql.datatype.mediumtext' );\n\nreturns the MySQL name of the datatype\n\n    MEDIUMTEXT\n\n# ATTRIBUTES\n\n- tables\n\n    An array of [MySQL::Workbench::Parser::Table](https://metacpan.org/pod/MySQL%3A%3AWorkbench%3A%3AParser%3A%3ATable) objects\n\n        my @tables = $parser-\u003etables;\n\n- views\n\n    An array of [MySQL::Workbench::Parser::View](https://metacpan.org/pod/MySQL%3A%3AWorkbench%3A%3AParser%3A%3AView) objects\n\n        my @views = $parser-\u003eviews;\n\n- file\n- datatypes\n- dom\n\n    The [DOM](https://metacpan.org/pod/XML::LibXML) created by [XML::LibXML](https://metacpan.org/pod/XML%3A%3ALibXML).\n\n- lint\n\n    If set to false, the linting isn't done (default: true)\n\n# WARNINGS\n\nThe ER model designed with Workbench is checked for:\n\n- duplicate indices\n- duplicate table names\n- duplicate column names in a table\n\n\n\n# Development\n\nThe distribution is contained in a Git repository, so simply clone the\nrepository\n\n```\n$ git clone git://github.com/reneeb/MySQL-Workbench-Parser.git\n```\n\nand change into the newly-created directory.\n\n```\n$ cd MySQL-Workbench-Parser\n```\n\nThe project uses [`Dist::Zilla`](https://metacpan.org/pod/Dist::Zilla) to\nbuild the distribution, hence this will need to be installed before\ncontinuing:\n\n```\n$ cpanm Dist::Zilla\n```\n\nTo install the required prequisite packages, run the following set of\ncommands:\n\n```\n$ dzil authordeps --missing | cpanm\n$ dzil listdeps --author --missing | cpanm\n```\n\nThe distribution can be tested like so:\n\n```\n$ dzil test\n```\n\nTo run the full set of tests (including author and release-process tests),\nadd the `--author` and `--release` options:\n\n```\n$ dzil test --author --release\n```\n\n# AUTHOR\n\nRenee Baecker \u003creneeb@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is Copyright (c) 2018 by Renee Baecker.\n\nThis is free software, licensed under:\n\n    The Artistic License 2.0 (GPL Compatible)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freneeb%2Fmysql-workbench-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freneeb%2Fmysql-workbench-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freneeb%2Fmysql-workbench-parser/lists"}