Skip to main content

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 | RSS feed

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page