package for file storage
Project description
filestostorage
required packages
$ pip install pymongo
$ pip install gridfs-fuse
installation
$ pip install filestostorage
project is still under development :) currently supported for mongodb
usage
import filestostorage as fstr
db = fstr.mongo_conn() #connect to database via url
fstr.upload_file("file_path","file_name",db) #command to upload file
fstr.download_file("download_location","file_name",db)#to download file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
filestostorage-0.0.2.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for filestostorage-0.0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f287bf3ee2ec7aba0542f7674885f850e512d4858b728265c214dc0f0793c75 |
|
MD5 | 6481a55824d5a53071a2f1784ed60df5 |
|
BLAKE2b-256 | 8ea41605e5598148b2247ae073e8925137e89f558494473714baf7a69905fb44 |