title: Fast API calls in python
body: <p>i am building a package in python. Package will be probably used in Jupyter notebooks. I used synchonized code for some functionality, but it is slow so i am planning to use asyncio</p>
  <p>The question is how to implement it with async functionality without changing the code in notebook.
  So user will be able to e.g. module.orders(&quot;Example Inc&quot;)
  Now user has to make initial setup e.g.
  <code>loop = asyncio.get_event_loop() loop.run_until_complete(module.orders(&quot;Example Inc&quot;))</code></p>
  <p>I want to avoid this, so it will be easier to use
  Thanks
  Or is there some better way fo make fast GET api calls</p>
  <p>want e.g. module.orders(&quot;Example Inc&quot;)
  avoid this
  <code>loop = asyncio.get_event_loop() loop.run_until_complete(module.orders(&quot;Example Inc&quot;))</code></p>