Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bianjp/pdmreader
Interactive reader for PowerDesigner PDM files
https://github.com/bianjp/pdmreader
pdm
Last synced: 2 months ago
JSON representation
Interactive reader for PowerDesigner PDM files
- Host: GitHub
- URL: https://github.com/bianjp/pdmreader
- Owner: bianjp
- License: mit
- Created: 2018-08-29T17:58:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T16:39:29.000Z (over 4 years ago)
- Last Synced: 2024-10-10T09:27:24.803Z (2 months ago)
- Topics: pdm
- Language: Python
- Homepage: https://pypi.org/project/pdmreader/
- Size: 22.5 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# PDM reader
Interactive reader for [PowerDesigner](https://www.sap.com/products/powerdesigner-data-modeling-tools.html) PDM files.
Features:
* View/search tables
* Vew table definition
* Generate DDL for various databases (currently MySQL and Oracle supported)
* Generate Java entity definition
* Support command history## Requirement
* Python 3.7+
This tool only makes use of Python standard libraries.
## Installation
```bash
# root or administrator permission may be required
pip install pdmreader
```If you want to try some unreleased features, or customize the tool yourself, clone the repository and install it in development mode:
```bash
git clone https://github.com/bianjp/pdmreader.git
cd pdmreader
# root or administrator permission may be required
python setup.py development
```## Usage
```bash
pdmreader PATH_TO_PDM_FILE
```This will start an interactive "shell" which you can type commands.
Type `help` to show available commands.
Currently supported commands:
COMMAND DESCRIPTION
--------------------------------------------------------------------------------
help Print help
t Toggle horizontal/vertical output. Default horizontal
tables Show tables
tables PATTERN Show tables matching the given shell-style glob
seq Show sequences
seq PATTERN Show sequences matching the given shell-style glob
table TABLE Show definitions of the given table
mysql TABLE Generate MySQL DDL for creating the given table
oracle TABLE Generate Oracle DDL for creating the given table
java TABLE Generate Java entity definition for the given table
exit, Ctrl + D Exit## License
This project is licensed under the terms of the MIT license.