Skip to content

In "pymongo-playground," explore concise, well-documented code snippets for hands-on PyMongo practice, enabling effective MongoDB integration into Python projects.

License

Notifications You must be signed in to change notification settings

Hanan-Nawaz/pymongo-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyMongo Playground

Welcome to the PyMongo Playground repository! In this project, I've explored MongoDB and performed CRUD (Create, Read, Update, Delete) operations using PyMongo. Below, you'll find an overview of the project and instructions on how to run and use it.

Table of Contents

Project Overview

In this project, I've created a MongoDB database, designed collections, and implemented CRUD operations using PyMongo. It's a hands-on exploration of how to interact with a NoSQL database system programmatically.

Getting Started

Prerequisites

Before you begin, make sure you have the following installed:

  • Python 3.x
  • PyMongo library
  • MongoDB Server (local or remote)

Installation

  1. Clone this repository to your local machine:

git clone https://github.com/Hanan-Nawaz/pymongo-playground.git

  1. Navigate to the project directory:

cd pymongo-playground

  1. Install the required Python dependencies:

pip install pymongo

Usage

To use this project, follow these steps:

  1. Configure MongoDB Connection: Update the MongoDB connection details in the script to point to your MongoDB server. You can do this in the config.py file or directly in your Python script.

  2. Run the Python Script: Execute the Python script that demonstrates CRUD operations using PyMongo. You can run the script using:

Jupyter notebook

CRUD Operations

The Python script in this project demonstrates the following CRUD operations:

  • Create: Insert documents into MongoDB collections.
  • Read: Retrieve data from MongoDB collections.
  • Update: Modify existing documents in MongoDB collections.
  • Delete: Remove documents from MongoDB collections.

Feel free to explore the script and adapt it to your specific use cases.

Contributors

Feel free to contribute to this project or contact the contributors for more information.

License

This project is licensed under the MIT License.

🔗 Links

portfolio linkedin twitter

About

In "pymongo-playground," explore concise, well-documented code snippets for hands-on PyMongo practice, enabling effective MongoDB integration into Python projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published