# Dgraph live loader using python

**URL:** <https://discuss.dgraph.io/t/dgraph-live-loader-using-python/18350>\
**Category:** App Development\
**Tags:** dgraph, area:live-loader\
**Created:** [March 2, 2023, 5:35pm UTC](https://discuss.dgraph.io/t/dgraph-live-loader-using-python/18350 "2023-03-02T17:35:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya\_shelar](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/aditya_shelar/32/7074_2.png) [@aditya\_shelar](https://discuss.dgraph.io/u/aditya_shelar)\
**Post date:** [March 2, 2023, 5:35pm UTC](https://discuss.dgraph.io/t/dgraph-live-loader-using-python/18350/1 "2023-03-02T17:35:35Z")

</div>

How can we call dgraph live loader from Python API for Dgraph self-hosted?

---

<div class="post-metadata">

**Author:** ![matthewmcneely](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/matthewmcneely/32/4774_2.png) [@matthewmcneely](https://discuss.dgraph.io/u/matthewmcneely)\
**Post date:** [March 2, 2023, 6:15pm UTC](https://discuss.dgraph.io/t/dgraph-live-loader-using-python/18350/2 "2023-03-02T18:15:30Z")

</div>

Hi @aditya_shelar,

Welcome to the community.

I guess you could call the command line options via `subprocess.run('dgraph live...', shell=True)`. But that’s probably not what you want. AFAIK there is no integration from the official dgraph python client (pydgraph) to the live loader.

You could fork our python client and add it, but that would not be trivial.
