zopyx_gridfs

A tiny GridFS (MongoDB) to web gateway
Download

zopyx_gridfs Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Publisher Name:
  • Andreas Jung
  • Publisher web site:
  • http://zopyx.com

zopyx_gridfs Tags


zopyx_gridfs Description

A tiny GridFS (MongoDB) to web gateway zopyx_gridfs is a tiny GridFS (MongoDB) to web gateway based on the Pyramid web framework.Installation: * requires Python 2.6 * create a virtualized environment using virtualenv * inside the virtualenv environment: bin/easy_install zopyx_gridfs * Create a server.ini configuration file containing: use = egg:zopyx_gridfs reload_templates = true debug_authorization = false debug_notfound = false debug_routematch = false debug_templates = true default_locale_name = en # MongoDB specific configurations mongo_host = localhost mongo_port = 27017 database = test pipeline = egg:WebError#evalerror zopyx_gridfs use = egg:Paste#http host = 0.0.0.0 port = 6543 # Begin logging configuration keys = root keys = console keys = generic level = INFO handlers = console class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic format = %(asctime)s %(levelname)-5.5s %(message)s * Start the GridFS server using (this will start a HTTP server on localhost:6543): bin/paster serve server.iniUsage:You can access file stored inside GridFS through HTTP:http://localhost:6543/gridfs/< collection >/< filename >where collection refers to collection used by GridFS and filename is the _id used to store the file inside GridFS.The server will return a 404 response if the requested file could not be found. Requirements: · Python What's New in This Release: · Added upload support


zopyx_gridfs Related Software