Git Product home page Git Product logo

bottle-mongodb-plugin's People

Contributors

fdouetteau avatar shaunpatterson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bottle-mongodb-plugin's Issues

json import call breaks python 2.5

I know that Python 2.5 isn't the most necessary thing to support anymore, but we're using mongo db and bottle at my work and, due to embedded versions of python in various desktop apps, we need to occasionally support 2.5. If you changed the:

from json import dumps as json_dumps

to:

try:
from json import dumps as json_dumps
except ImportError:
from simplejson import dumps as json_dumps

It would at least use the fallback that wasn't introduced until 2.6. I don't see any obvious other issues with your code and 2.6.

'redis' in error message

The error message "Found another redis plugin...." should be "Found another MongoDB plugin..."

Not to be confused with "bottle-mongo"?

I would like to respectively suggest that a notice be added to the README. You see, your plugin no longer works, and it's only two characters different from the official working plugin. It would be helpful to display that this plugin is not the official plugin. And it doesn't seem to be maintained. (No offense!)

pip install bottle-mongodb versus pip install bottle-mongo is very easy to confuse.

I accidentally installed this plugin (using pip) when I meant to install the other plugin. It took me a long time to realize why my project wasn't working.

See also: https://github.com/bottlepy/bottle-mongo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.