Python Frameworks

A Python Framework is a collection of packages or modules that allow developers to create applications written in Python.

0
Subscribe to Python Frameworks
Get notified when new articles on Python Frameworks are published.
    All
  • 20 Results
    Newest
    All time
    English
    • Tutorial

      How To Use Many-to-Many Database Relationships with Flask-SQLAlchemy

      In this tutorial, you’ll modify an application built using Flask and Flask-SQLAlchemy by adding a many-to-many relationship to it. You’ll have a relationship between posts and tags, where each blog post can have sever...
      0 days agoBy Abdelhadi DyouriDatabasesDevelopmentFlaskPythonPython Frameworks
    • Tutorial

      How to Connect a Django App to MongoDB with PyMongo

      PyMongo is the official driver for connecting Django apps to a MongoDB database. In this tutorial, you will create a Managed MongoDB database cluster and use PyMongo to connect it with your Django application. You’ll ...
      17 days agoBy sainttobsDigitalOcean Managed MongoDB DatabaseDjangoMongoDBPython Frameworks
    • Tutorial

      How To Install the Django Web Framework on Ubuntu 22.04

      Introduction Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of...
      1 month agoBy Brian Boucheron, Jamon CamissoPythonUbuntuDjangoPython FrameworksUbuntu 22.04
    • Tutorial

      How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 22.04

      In this guide, you will build a Python application using the Flask microframework on Ubuntu 22.04. The majority of this tutorial is about how to set up the Gunicorn application server to run the application and how to...
      1 month agoBy Jamon CamissoPythonUbuntuNginxPython FrameworksUbuntu 22.04
    • Question

      App platform error while deploying python/flask app - backports.zoneinfo

      Hello, I am trying to deploy my Python/Flask app using digitalocen’s app platform. This is my first time I am getting below error with python version - 3.10.4 [2022-05-02 04:33:16] Failed to build backports.zoneinfo [...
      2 answers2 months agoBy MandarDigitalOcean App PlatformFlaskPython Frameworks
    • Tutorial

      How to Use One-to-Many Database Relationships with Flask-SQLAlchemy

      In this tutorial, you’ll build a small blogging system that demonstrates how to build one-to-many relationships using the Flask-SQLAlchemy extension. You’ll have a relationship between posts and comments, where each b...
      2 months agoBy Abdelhadi DyouriDatabasesPythonDevelopmentFlaskPython Frameworks
    • Tutorial

      How To Install Django and Set Up a Development Environment on Ubuntu 22.04

      Django is a free and open-source web framework written in Python with its core principles being scalability, re-usability and rapid development. In this tutorial, we will set up a Django environment for development pu...
      2 months agoBy Lisa Tagliaferri, Tony TranDevelopmentDjangoPython FrameworksUbuntu 22.04
    • Tutorial

      How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 22.04

      Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
      2 months agoBy Erin Glass, Jamon CamissoDjangoNginxPostgreSQLPython FrameworksDatabasesPythonUbuntu
    • Tutorial

      How To Secure Your Django Application with a Content Security Policy

      Websites use various services, styles, scripts, and images to load and render content, and the browser will execute all of it. Using a Content Security Policy (CSP) can help ensure that users are protected from malici...
      2 months agoBy Ari BirnbaumDevelopmentDjangoPython FrameworksSecurity
    • Question

      Requirements apparrently cached Python App

      I was following the tutorial https://docs.digitalocean.com/tutorials/app-deploy-django-app/ and finally during the build i foundgunicorn: command not found In my requirements.txt i double checked that the line contain...
      1 answer3 months agoBy tassionoronhaBuilding on DigitalOceanDjangoPython Frameworks
    • Question

      How to host a Discord.py bot? (PaaS not IaaS)

      Hello I was doing some googling on how to host my Discord.py got and came across this question which seems to be suggested that the OP use a dedicated server (IaaS) subscription/service and I was wondering how I could...
      1 answer3 months agoBy SnowyJaguar1034PythonPython Frameworks
    • Tutorial

      How to Use Flask-SQLAlchemy to Interact with Databases in a Flask Application

      In web applications, you usually need a database, which is an organized collection of data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Pyth...
      4 months agoBy Abdelhadi DyouriDevelopmentFlaskPython FrameworksSQLiteDatabasesPython
    • Tutorial

      How To Use MongoDB in a Flask Application

      In web applications, you usually need a database to store and maintain persistent data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python L...
      4 months agoBy Abdelhadi DyouriDevelopmentFlaskMongoDBPython FrameworksDatabasesPython
    • Tutorial

      How To Use PostgreSQL with your Django Application on Ubuntu 20.04

      Django is a flexible framework for quickly creating Python applications. By default, Django applications are configured to store data into a lightweight SQLite database file. While this works well under some loads, a ...
      4 months agoBy Tony Tran, Justin EllingwoodDjangoPostgreSQLPython FrameworksUbuntu 20.04PythonUbuntu
    • Question

      ModuleNotFoundError: No module named 'dj_database_url'

      I am having an issue, I followed the tutorial but continue to get a module not found error. I have tried everything, there is a requirements.txt file. [2022-01-28 01:31:43] => Initializing build[2022-01-28 01:31:43] =...
      1 answer5 months agoBy rob59b40ab50819PythonDjangoPython FrameworksDevelopmentDigitalOcean App Platform
    • Tutorial

      How To Use a PostgreSQL Database in a Flask Application

      In web applications, you usually need a database, which is an organized collection of data. You use a database to store and maintain persistent data that can be retrieved and manipulated efficiently. PostgreSQL, or Po...
      5 months agoBy Abdelhadi DyouriDatabasesPythonPython FrameworksFlaskDevelopmentPostgreSQL
    • Tutorial

      How To Perform Neural Style Transfer with Python 3 and PyTorch

      Machine learning, or ML, is a subfield of AI focused on algorithms that learn models from data. In this tutorial, you will apply neural style transfer using Jupyter Notebook and the Linux command line to take an image...
      5 months agoBy Thomas VincentPythonPython FrameworksMachine LearningProgramming ProjectDevelopmentUbuntu 20.04
    • Tutorial

      How To Use and Validate Web Forms with Flask-WTF

      WTForms is a Python library that provides flexible web form rendering. You can use it to render text fields, text areas, password fields, radio buttons, and others. WTForms also uses a CSRF token to provide protection...
      6 months agoBy Abdelhadi DyouriPythonPython FrameworksDevelopmentFlask
    • Question

      Url is still showing the NGINX default page instead of the application page (UBUNTU+NGINX+FLASK)

      As i was following through the tutorial(How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 20.04).Everything is setup. I do not have a domain. I point to the ip URLso in the file this is my entry server...
      1 answer6 months agoBy princematthewkoshyNginxUbuntuPythonPython FrameworksUbuntu 20.04
    • Tutorial

      How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04

      Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
      7 months agoBy Justin EllingwoodDatabasesPythonPython FrameworksDjangoPostgreSQLNginxUbuntu 18.04