GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python_lab/pymongo_module at main · anuprshetty/python_lab

Expand file tree

/

pymongo_module

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

pymongo_module

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
mongodb
mongodb
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

README.md

Outline

pymongo_module

PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.

Requirements

  • Python 3.6

Commands

  • docker compose --file mongodb/docker-compose.yaml up --build --detach
  • docker compose --file mongodb/docker-compose.yaml down
  • docker compose --file mongodb/docker-compose.yaml logs --timestamps --follow
  • python main.py

Notes

SQL to NoSQL mapping

SQL NoSQL
cluster/instance cluster/instance
db db
table collection
row document/post(dictionary)
field key
value value

URL Encoding

  • URL encoding is a mechanism for translating unprintable or special characters to a universally accepted format by web servers and browsers.
  • The encoding of information can be applied to Uniform Resource Names (URNs), Uniform Resource Identifiers (URIs) and Uniform Resource Locators (URLs), and selected characters in the URL are replaced by one or more character triplets comprised of the percent character and two hexadecimal digits.
  • The hexadecimal digits in the character triplets represent the numerical value of the characters that are replaced.
  • URL encoding is widely used in HTML form data submission in HTTP requests.
  • URL encoding is also known as percent-encoding.
  • Ex: # character is replaced by %23

References

  • MongoDB documentation
  • MongoDB Update Operators
  • PyMongo Documentation
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.