Skip to main content

You can try https://pypi.python.org/pypi/mongodb-beaker2 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)
    config.set_session_factory(session_factory)
    ...
    return config.make_wsgi_app()

Documentation: https://github.com/tark-hidden/pyramid_mongo_session

Release files for pyramid_mongo_session 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid_mongo_session 0.1
File Size Uploaded
pyramid_mongo_session-0.1.zip 8.2 kB Details

Release files / pyramid_mongo_session-0.1.zip

Download URL pyramid_mongo_session-0.1.zip
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f3d539742a1968f5116cf5e33699dda6335a0fe8acaedd0bbe9fe2fb4d6811b6
BLAKE2b-256 checksum
How to use checksums
897ca40cac0d646cd0b208bdb95163008c7737d30f42d21d091e0762fa8da027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page