https://github.com/niallo/pyramid_mongodb
Basic Pyramid Scaffold to easily use MongoDB for persistence with the Pyramid Web framework
https://github.com/niallo/pyramid_mongodb
Last synced: 10 months ago
JSON representation
Basic Pyramid Scaffold to easily use MongoDB for persistence with the Pyramid Web framework
- Host: GitHub
- URL: https://github.com/niallo/pyramid_mongodb
- Owner: niallo
- License: mit
- Created: 2011-05-20T02:55:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T12:18:49.000Z (almost 6 years ago)
- Last Synced: 2024-04-15T14:05:48.750Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 188 KB
- Stars: 44
- Watchers: 2
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-pyramid - pyramid_mongodb - (Storage)
README
========
Overview
========
``pyramid_mongodb`` is a simple Paster template or scaffold for the Pyramid Web
Framework. It provides URL mapping via traversal and persistence via MongoDB.
It is based on the "starter" template included in Pyramid core, and Mike Orr's
"Akhet" template.
See http://docs.pylonsproject.org/projects/pyramid/1.0/narr/project.html#paster-templates-included-with-pyramid
==========
Installing
==========
Latest stable releases can be found at http://pypi.python.org/pypi/pyramid_mongodb
You can install from Pypi using ``easy_install`` or ``pip``::
easy_install pyramid_mongodb
or alternatively::
pip install pyramid_mongodb
===
Use
===
Once ``pyramid_mongodb`` is installed, you should see it in the list of
available templates when you run ::
pcreate -l
::
$ pcreate -l
Available scaffolds:
alchemy: Pyramid SQLAlchemy project using url dispatch
pyramid_mongodb: pyramid MongoDB project
starter: Pyramid starter project
zodb: Pyramid ZODB project using traversal
You can create a project with MongoDB support by running ``pcreate -s pyramid_mongodb ``.