Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

lite table, not depden on numpy or sqliteoperations,.. find, filter, group, sort, top, tail ..

Project description

pure python table, operations find, filter, sort, group, top, tail…

theTable = SSTable()
theTable.addIndex( "c_1", 'idx1' );
vCol = [ "c_1", "c_2" ]
theTable.addIndex( vCol, 'idx2' );
theTable.addRow( dict( c_1 = 1, c_2 = 2 ) )
theTable.addRow( dict( c_1 = 1, c_2 = 2 ) )
theTable.addRow( dict( c_1 = 2, c_2 = 3 ) )

#search by index
rs = theTable.findRow( "idx2", ( 1, 2 ) )
pprint( rs.top( 1 ).to_list() )
grs = rs.group( ("c_1") )
2014/06/03
Fix bug: Coouldn’t find anything after removeRow

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ltable-0.0.2.zip (7.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page