Skip to content

littletable 2.2.1

Compare
Choose a tag to compare
@ptmcg ptmcg released this 28 May 19:13
· 32 commits to master since this release
  • Rewrote handling of multiple custom JSONEncoders to use multiple inheritance instead of explicit call chaining.

  • 20-30% performance speedup when creating a search index.

  • Better detection of English plurals when building search indexes. Searching will also detect Error, Exception, and Warning word endings, which are common in code documentation.

  • Added module-level convenience methods for building Tables and importing from CSV, TSV, JSON, or Excel files, so that in place of:

    import littletable as lt
    tbl = lt.Table()
    tbl.csv_import(csv_data_file)
    

    You can just write:

    import littletable as lt
    tbl = lt.csv_import(csv_data_file)
    
  • Updated examples to new search return type, and new module-level csv_import(). Also added new example csv_import_examples.py showing multiple snippets of importing CSV data.

  • Tables now keep track of timestamps when they were created, last modified, and last imported.