Can you create a database for your website using Python? If so, where do you store this file? How do you access it?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • PostgreSQL

    Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

  • What do you mean by "database service"? Python comes with SQLite support to create SQL databases locally. You can also use a more advanced database manager like Postgres. To actually interact with the database though, for SQLite, you can use the built-in SQLite module. You also need to know basic SQL though.

  • Django

    The Web framework for perfectionists with deadlines.

  • maybe a python based web framework, such as Django, would be a suitable next step for you. It's all open source, free, very well maintained and documented. It comes with a sqlite database as default, but is fully customisable. Follow the tutorial and - judging from your question - you'd probably have your own site, database and web server running within a day. https://www.djangoproject.com/ there's a good r/django subreddit too

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • MongoDB

    The MongoDB Database

  • Hi, I think you can use a NoSQL Database like MongoDB. It has a python API once you create the database to load database etc..

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts