Skip to main content

PDM reader

Interactive reader for PowerDesigner 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

# 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:

git clone https://github.com/bianjp/pdmreader.git
cd pdmreader
# root or administrator permission may be required 
python setup.py development

Usage

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.

Metadata

Release files for pdmreader 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdmreader 0.1
File Size Uploaded
pdmreader-0.1.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdmreader 0.1
File Interpreter ABI Platform
pdmreader-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / pdmreader-0.1.tar.gz

Download URL pdmreader-0.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c7d436e0ac4add38b6d5451049c83e4f4265029aa7e547cc840eae345570211
BLAKE2b-256 checksum
How to use checksums
508f9cb978fff58ce10ef469fc01f715267ebb89710ba2a51efcdf4f81617db6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release files / pdmreader-0.1-py3-none-any.whl

Download URL pdmreader-0.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0191adfb214039bd4223cd49cb32e000bf7cac5b11bc19ed676f6f7b37b8885d
BLAKE2b-256 checksum
How to use checksums
4b3bcb960ff805fa65d0ff932cadda6de1122bd57aad466e6d8e9c25e8ff36c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page