Skip to main content

Add Flask support for MongoDB using MongoAlchemy.

Project description

Version 0.2a1

Flask support for MongoDB using MongoAlchemy.

Documentation

If you want to get started, check the example sourcecode out.

For full documentation, see the online docs at: http://packages.python.org/Flask-MongoAlchemy/.

Development

Bootstraping the development environment

If you are using a virtualenv, bootstrap your development environment by running:

$ make bootstrap

Running tests

With all dependencies installed (after bootstrap development env), just run:

$ make test

Community

#cobrateam on chanel irc.freenode.net

Changelog

Flask-MongoAlchemy 0.2

  • Reverse compatibility broken on Document class. The get() method was moved to BaseQuery class. Here the old code, on version 0.1:

    >>> Document.get(mongo_id)

    And the new code, on version 0.2:

    >>> Document.query.get(mongo_id)
  • Added get_or_404, first_or_404 and paginate methods on BaseQuery class. Check the documentation to know how to use them :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-MongoAlchemy-0.2a1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

Flask_MongoAlchemy-0.2a1-py2.6.egg (9.2 kB view details)

Uploaded Source

File details

Details for the file Flask-MongoAlchemy-0.2a1.tar.gz.

File metadata

File hashes

Hashes for Flask-MongoAlchemy-0.2a1.tar.gz
Algorithm Hash digest
SHA256 e9cdb8b6d2d593b827efaaac3b30d476a544a0948ce04430150db987e7ee9e6c
MD5 e524a2fb2170cba0643deae0e13b9e9d
BLAKE2b-256 af85169e0d1638ba33060e2a81d326dd09b845d0a6aab87901390649302007c8

See more details on using hashes here.

Provenance

File details

Details for the file Flask_MongoAlchemy-0.2a1-py2.6.egg.

File metadata

File hashes

Hashes for Flask_MongoAlchemy-0.2a1-py2.6.egg
Algorithm Hash digest
SHA256 0f9bb8bb3efd2d629f37e58f8bda5fee8ba76f8bfb8ce5bb142df520621a4006
MD5 f30c31eb61172d6e996beeae71516b2c
BLAKE2b-256 91870fe66345027883bb0c05913ac8039e2e655bf4d488a547ab740cbdc4b3a3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page