Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

MongoDB-based session factory for Pyramid framework

Project description

You can try which released in 2012… I couldn’t, I gave up.

# encoding: utf-8

from pyramid.config import Configurator
from pyramid_mongo_session import MongoSessionFactory

def main(global_config, **settings):
    config = Configurator(settings=settings)

    session_factory = MongoSessionFactory(
        collection=MongoClient('localhost', 27017).your_db.session)
    return config.make_wsgi_app()


Project details

Release history Release notifications

This version


Download files

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

Files for pyramid_mongo_session, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size (8.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page