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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for filestostorage-0.0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4afd6e2fb9b4a1fc76a0e42ec084047e60f43614701a0a250a7b6787d9a0132 |
|
MD5 | 5427646d14753717188afde1c025a1f8 |
|
BLAKE2b-256 | b622c1eb428bb886ea9cdebc859f58e07181d51ff30d664a6e5d00e1b3e2ad7c |