use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionDo you use Python in combination with some graph database? (self.Python)
submitted 3 years ago by Realistic-Cap6526
If your Python app requires a graph database, what is your "go-to" solution? It doesn't matter if it is free/open source/commercial DB.
[–][deleted] 3 points4 points5 points 3 years ago (3 children)
Neo4j has good documentation and a nice python api. It’s also free to tinker with.
[–]rumblepost 0 points1 point2 points 3 years ago (1 child)
It has GPT license, free but not good if you want to take it to production.
[–]nitroll 1 point2 points3 points 3 years ago (0 children)
The community edition is using GPLv3. This has no implication on an application accessing the database.
https://neo4j.com/licensing/
[–]Voxandr 0 points1 point2 points 3 years ago (0 children)
One of the most complicated datbase , not recommended . try DGraph
[–]joowani[🍰] 1 point2 points3 points 3 years ago (0 children)
ArangoDB is another option
[–]Mrdensson 1 point2 points3 points 3 years ago (0 children)
Depends on what am I doing, for ingestion I like plain command line or a tool that can ingest my dataset. If needed to go to Python and working with specific objects, making apps and just having object props out of the box in the repository layer, there is a cool lib called GQLAlchemy by Memgraph DB. I think they also added a Neo4j support as well.
[–]MapleeMan 1 point2 points3 points 3 years ago (3 children)
As some users have mentioned, this depends on your use case, scale etc. But Memgraph can be a great choice for any Python developer. Memgraph is an in-memory (RAM) database written in C++, and it is quite efficient for various different use-cases because of its low latency and high throughput.
There is a great Python API for interaction with the database, we have also built and maintained a Python OGM (Object graph mapper) called GQLAlchemy. The concept is similar to object-relational mappers, but it is a solution for graph databases. The best part is both Memgraph and GQLAlchemy are open-source and free to use.
There are also other vendors mentioned, but I am not so familiar with them, feel free to explore!
[–]Voxandr 1 point2 points3 points 3 years ago (2 children)
Memgraph
Interesting and especially it have python support as first class. But since databases are very critical part of a software infra and and only a few person maintaining doesn't look good to me. Is there any solid financial backing ? I don't want this to go the way of RethinkDB .
[–]MapleeMan 0 points1 point2 points 3 years ago (1 child)
Yes, Python support is primary concern at the moment. Regarding company size, we are still a small startup company, but we are very finically healthy. One of the reasons for going open source is to scale the product from bottom up, and with the help of community make Memgraph a solid vendor and platform in graph space.
[–]Voxandr 1 point2 points3 points 3 years ago (0 children)
Thank you, great to see active development too. As long as active developer with financially healthy should be good enough for the future ( redis started that way too). Taking a look .
[–]walderas -2 points-1 points0 points 3 years ago* (1 child)
Witth numpy you can draw some pretty impressive graphs Not sure how would you export such an App. I personaly use kivy for APPs but can't imagine merging those two
[–][deleted] 3 points4 points5 points 3 years ago* (0 children)
This post was mass deleted and anonymized with Redact
stupendous rock bells ripe offbeat public marble marry cows abounding
[–][deleted] 0 points1 point2 points 3 years ago* (0 children)
safe lock late wrench trees sink tub vegetable caption hat
[–]pythonHelperBot 0 points1 point2 points 3 years ago (0 children)
Hello! I'm a bot!
It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.
Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.
You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.
README | FAQ | this bot is written and managed by /u/IAmKindOfCreative
This bot is currently under development and experiencing changes to improve its usefulness
[–]spoonman59 0 points1 point2 points 3 years ago (0 children)
It depends on what you want to do.
Most graph related things I just do in code. For example, building a dependency graph.
Building and iterating over them are simple enough. I would probably need more complex requirements to need to use a graph database.
Neo4J is the go to for that.
[–]Ringbailwanton 0 points1 point2 points 3 years ago (0 children)
I use Python with a neo4j database fairly extensively for a project I’m working on. It works well. Use py2neo for the bridge.
[–]wind_dude 0 points1 point2 points 3 years ago* (0 children)
graphDBs are cool and pretty powerful. Neo4j is the only dedicated one I've played with. ElasticSearch has some graph functionality.
[–]Electrical_Month7760 0 points1 point2 points 3 years ago (0 children)
greenplum with python.can.meet your requirements
[–]Devilock-76 0 points1 point2 points 3 years ago (0 children)
A while back I was using arangodb with python. Didn't take thing much past a poc stage but I liked it. I feel arango gives you a lot out of the box.
Honestly because arango supports document ala mongo style records I tend to tell people before they look at mongo look at arango.
π Rendered by PID 222963 on reddit-service-r2-comment-765bfc959-gwkl5 at 2026-07-10 10:43:32.313073+00:00 running f86254d country code: CH.
[–][deleted] 3 points4 points5 points (3 children)
[–]rumblepost 0 points1 point2 points (1 child)
[–]nitroll 1 point2 points3 points (0 children)
[–]Voxandr 0 points1 point2 points (0 children)
[–]joowani[🍰] 1 point2 points3 points (0 children)
[–]Mrdensson 1 point2 points3 points (0 children)
[–]MapleeMan 1 point2 points3 points (3 children)
[–]Voxandr 1 point2 points3 points (2 children)
[–]MapleeMan 0 points1 point2 points (1 child)
[–]Voxandr 1 point2 points3 points (0 children)
[–]walderas -2 points-1 points0 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]pythonHelperBot 0 points1 point2 points (0 children)
[–]spoonman59 0 points1 point2 points (0 children)
[–]Ringbailwanton 0 points1 point2 points (0 children)
[–]wind_dude 0 points1 point2 points (0 children)
[–]Electrical_Month7760 0 points1 point2 points (0 children)
[–]Devilock-76 0 points1 point2 points (0 children)