Skip to content

0.1.0

Latest
Compare
Choose a tag to compare
@shawnbrown shawnbrown released this 11 Jan 19:46
· 15 commits to master since this release
  • Added a Query preview feature for interactive use:

    >>> select({'fruit': 'kilograms'}).sum()
    Query(<squint.Select object at 0x7f209c30>, {'fruit': ['kilograms']}).sum()
    ---- preview ----
    {'apple': 50,
     'pair': 20,
     'grape': 10,
     ...
    

    Previews provide immediate feedback when building queries interactively.
    Once the query is finished, you can evaluate it with the fetch() or
    execute() methods as before.

    The preview feature works with the standard interactive prompt, IPython,
    bpython, and Jupyter. However, at the time of this release, ptpython does
    not support this type of customization.

  • Added rewritten and expanded tutorial documentation.

  • Changed Result attribute from "evaluation_type" to "evaltype" (the old
    name is now deprecated).

  • Added Python 3.9 testing and support.

  • Removed support for very old versions of Python (2.6, 3.2, and 3.3).