Skip to content
DocuratedPublic

About

Simple, lightweight library for sorting and iterating through large pg_dumps

Resources

Stars

0 stars

Watchers

9 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flatutils

flatutils is a very simple, lightweight utility with one purpose: sort and iterate through very large pg_dumps.

Example usage:

from flatutils import PgDumpFile

f = PgDumpFile('/opt/bigdump.sql')
sorted_f = f.output_sorted('/opt/sorteddump.sql', 'column1', 'column2')
for row in sorted_f.iterate_rows():
    print(row['column1'], row['column2']) # rows will print in order

About

Simple, lightweight library for sorting and iterating through large pg_dumps

Resources

Stars

0 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages