Skip to content

Releases: FallibleInc/pysession

Support for setting options via environment variables

16 Sep 11:20
Compare
Choose a tag to compare
  • To persist your choice of not saving sessions for some extended period of time, set an environment variable PYSESSION_SAVE_OFF to True.
    export PYSESSION_SAVE_OFF=True
  • To always save your sessions to local file, set an environment variable PYSESSION_SAVE_LOCALLY to True.
    export PYSESSION_SAVE_LOCALLY=True
  • The file is saved with a name session.py You can change this by setting the environment variable PYSESSION_FILENAME to your desired filename.
    export PYSESSION_FILENAME=some_file_name.py

Issues fixes with builtins

14 Sep 18:43
Compare
Choose a tag to compare
  • Fixed an issue that can break pysession if redefining builtins

First working version

13 Sep 10:37
Compare
Choose a tag to compare
  • Save to Gist
  • Save locally
  • Turn off saving per session
  • Tested with Py2 Py3 and IPython shells.