Skip to main content

This package is used to store files in mongodb

Install the requirements files Packages used : pymongo*
pip install pymongo gridfs pip install gridfs-fuse

import statement: import filestoexplore as ft

Now add your mongourl to a variable db = ft.mongo_conn()

To upload_files use the below command ft.upload_file(Filepath,filename with extension,database object)

"ft.upload_file("/Users/Desktop/test/image1.jpeg","name",db)"

To download_files use the below command: ft.download_file(downloadpath,filename with extension,database object)

"ft.download_file("/Users/Desktop/myimage.jpeg","name",db)" and in 2nd parameter use the same file name which was used while uploading the files

Metadata

Release files for sskp 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sskp 2.0
File Size Uploaded
sskp-2.0.tar.gz 2.8 kB Details

Release files / sskp-2.0.tar.gz

Download URL sskp-2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
748f2ceb19be3e3d045558637f911e767931bedb8bf4154e89c1bb43c00bea1a
BLAKE2b-256 checksum
How to use checksums
a607c9b7ae1a27d45c3192cb9131265fa87d8a24dbd8ed797a293efdb154b3cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page