Skip to content

Create LateX metadata file from tables stored in Postgres schema

Notifications You must be signed in to change notification settings

kheinzz/pg-metadata-to-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Synthesis :

Using psycopg2 and Tabulate Python packages, this script allows to create a LateX file describing each tables's columns (name, data_type, maximum character length, is it nullable).

Alt text
Example of metadata of a table in my local database

Limitations / ~road-map :

  • get comment on each columns (if they exists)
  • the LateX presentation is awful, and there's some bugs
  • data type for geometry columns is considered as "user-defined", it should be handled by the script
  • Ideally it could be parameterized and also accept flat files like Shapefile

About

Create LateX metadata file from tables stored in Postgres schema

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published