contextvars

Contexted variables framework for Python
Download

contextvars Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Gawen Arab
  • Publisher web site:
  • http://gawen.me/

contextvars Tags


contextvars Description

contextvars is a Python library to manage contexted variables.Examplesfrom contextvars import *c = ContextStack()c.foo = "foo"with c: assert c.foo == "foo" c.foo = "bar" assert c.foo == "bar"assert c.foo == "foo"Product's homepage


contextvars Related Software