# Python Code for basic CRUD operations of data in Stardog

**URL:** <https://community.stardog.com/t/python-code-for-basic-crud-operations-of-data-in-stardog/2996>\
**Category:** Support\
**Created:** [April 19, 2021, 2:01am UTC](https://community.stardog.com/t/python-code-for-basic-crud-operations-of-data-in-stardog/2996 "2021-04-19T02:01:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvemulap](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@kvemulap](https://community.stardog.com/u/kvemulap)\
**Post date:** [April 19, 2021, 2:01am UTC](https://community.stardog.com/t/python-code-for-basic-crud-operations-of-data-in-stardog/2996/1 "2021-04-19T02:01:50Z")

</div>

Hi  
Can you share any python tools/code that can do basic CRUD operations on a stardog database?

thanks

---

<div class="post-metadata">

**Author:** ![serge](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/serge/32/376_2.png) [@serge](https://community.stardog.com/u/serge)\
**Post date:** [April 20, 2021, 2:53pm UTC](https://community.stardog.com/t/python-code-for-basic-crud-operations-of-data-in-stardog/2996/2 "2021-04-20T14:53:57Z")

</div>

Have you look at [GitHub - stardog-union/pystardog: Python bindings for the Stardog Knowledge Graph platform](https://github.com/stardog-union/pystardog). It should be simple to write a CRUD-like using the

- [Modules — pystardog documentation](https://pystardog.readthedocs.io/en/latest/source/stardog.html#stardog.connection.Connection.select) (SELECT)  
and
- [Modules — pystardog documentation](https://pystardog.readthedocs.io/en/latest/source/stardog.html#stardog.connection.Connection.update) (UPDATE)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [May 4, 2021, 2:54pm UTC](https://community.stardog.com/t/python-code-for-basic-crud-operations-of-data-in-stardog/2996/3 "2021-05-04T14:54:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
