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.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for filestostorage-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a1f2d11b667414c6fdbace5f6bb95e913884fe0d0b19b91a2a61d3dadb2873c |
|
MD5 | 0f9648bd971b17c77d3450c234f151cf |
|
BLAKE2b-256 | 4b576645e0102b227a8a99352dd2921459e30963020a4f298a466dc0acbb748d |