board_temp

board_temp(versioned=True, allow_pickle_read=None)

Use a local temporary directory as a board.

Parameters

Name Type Description Default
versioned Whether or not pins should be versioned. True
allow_pickle_read Whether to allow reading pins that use the pickle protocol. Pickles are unsafe, and can execute arbitrary code. Only allow reading pickles if you trust the board to execute Python code on your computer. You can enable reading pickles by setting this to True, or by setting the environment variable PINS_ALLOW_PICKLE_READ. If both are set, this argument takes precedence. None