# ipython

<Tabs items="[&quot;Class&quot;,&quot;Functions&quot;]">

<Tab value="Class">

<Cards>

<Card title="IPythonDotEnv" href="./IPythonDotEnv.md">
</Card>

</Cards>

</Tab>

<Tab value="Functions">

<PyFunction name="load_ipython_extension" type="(ipython)">

Register the %dotenv magic.

<PySourceCode>

```python
def load_ipython_extension(ipython):
    """Register the %dotenv magic."""
    ipython.register_magics(IPythonDotEnv)
```

</PySourceCode>

<div>

<PyParameter name="ipython">
</PyParameter>

</div>

<PyFunctionReturn>
</PyFunctionReturn>

</PyFunction>

</Tab>

</Tabs>
