Git Product home page Git Product logo

python-mongodb-example's Introduction

Python-MongoDB-Example

A Live working Example Application of Python, Qt, PySide2, MongoDB, PyMongo, QTableView, QAbstractTableModel

A Complete Video Tutorial of this application is Available

https://www.youtube.com/vfxpipeline

Please Subscribe to my youtube channel to appriciate me.

What is this application ?

This is a python application to load mongodb database data in pyside2 interface

Requirements

  • Python3.6
  • pip install pymongo==3.7.2 - MongoDB Python Driver
  • MongoDB 4.0.4 - Database Server
  • (Optional)MongoDB Compass 1.16.3 - To view database

What MongoDB Operation covered in this application

  1. Connect to MongoDB database
  2. Create new database
  3. Create new collection
  4. Insert new data
  5. Update existing data
  6. Query Data
  7. Remove Data
  8. Store image on MongoDb Database

What is the core logics related to PySide2

  1. Create a TableView
  2. Create a QAbstractTableModel
  3. Load MongoDB Database data in QAbstractTableModel
  4. Make QAbstractTableModel rows inline editable to edit database
  5. Create (Add Row, Remove Row) context Menu on Tableview
  6. Create Dynamic Headers in QAbstractTableModel
  7. Add New Empty Row in QAbstractTableModel
  8. Remove row from QAbstractTableModel
  9. Edit Cell value in QAbstractTableModel
  10. Display image in column of QAbstractTableModel
  11. On double click on image a QFileDialog will open to change image

python-mongodb-example's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.