Skip to main content

Streamlit MongoDB Connector: An efficient connector for interfacing MongoDB with Streamlit apps

Project description

Open in Streamlit

Streamlit MongoDB Connector

This repository contains the source code for a MongoDB connector developed for the Streamlit Connections Hackathon.
The goal of this project is to showcase how to leverage the power of Streamlit's new st.connection feature to connect Streamlit applications with MongoDB databases, and use this connection in practical applications.

Overview

The application is divided into three main sections:

  1. Connection Demonstration: Shows how the connection to MongoDB has been implemented, demonstrating how data can be retrieved and manipulated.

  2. MongoDB Configuration: Demonstrates how to configure the MongoDB connection, explaining how to set it up via the secrets.toml file or directly through the st.connection call.

  3. StreamY: A prototype for a simple text-based social network, where users can post texts on a wall. This showcases the MongoDB connection's use in a practical application, as it's used to store and retrieve posts.

About me

Hello! I'm Moris, a Computer Science Master's graduate with extensive experience in Streamlit and MongoDB. I've developed the MagicLit framework to serve as the base for my company's management app.
I participated in this hackathon to create an optimal component for connecting MongoDB to Streamlit. I hope this project will contribute to the Streamlit community and assist other developers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

st_mongo_connection-1.0.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

st_mongo_connection-1.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file st_mongo_connection-1.0.1.tar.gz.

File metadata

  • Download URL: st_mongo_connection-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.18

File hashes

Hashes for st_mongo_connection-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0b19a7f1f2d60388348a4eabc8b4629409101bbfbbd18aa1ce55a31ab1e232cc
MD5 f189fc5c1fccb775d46cea69dd437823
BLAKE2b-256 67e07813a8a133964e08ce9256c43e18aebe90713823be437f113690f9398c27

See more details on using hashes here.

File details

Details for the file st_mongo_connection-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: st_mongo_connection-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.18

File hashes

Hashes for st_mongo_connection-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca6fbce395e70dce602e1e247ec99142833bf50655fd49d0cef072d65b4cdd2f
MD5 6dab9d1a72624f60e0d35fb174bafe3b
BLAKE2b-256 72215cc2e14552f2b7143e08dd0f91aebb8241c451c0b5e16dfbddda261ff6e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page