{ "info": { "author": "UNLISH S.A.S. (Montpellier, FRANCE)", "author_email": "contact@unlish.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: CubicWeb", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "Summary\n-------\n\nAdd the 'pyramid' command to cubicweb-ctl\".\n\nThis cube also add a ``CWSession`` entity type so that sessions can be\nstored in the database, which allows to run a Cubicweb instance\nwithout having to set up a session storage (like redis or memcache)\nsolution.\n\nHowever, for production systems, it is greatly advised to use such a\nstorage solution for the sessions.\n\nThe handling of the sessions is made by pyramid (see the\n`pyramid's documentation on sessions`_ for more details).\n\nFor example, to set up a redis based session storage, you need the\n`pyramid-redis-session`_ package, then you must configure pyramid to\nuse this backend, by configuring the ``pyramid.ini`` file in the instance's\nconfig directory (near the ``all-in-one.conf`` file):\n\n\n.. code-block:: ini\n\n [main]\n cubicweb.defaults = no # we do not want to load the default cw session handling\n\n cubicweb.auth.authtkt.session.secret = \n cubicweb.auth.authtkt.persistent.secret = \n cubicweb.auth.authtkt.session.secure = yes\n cubicweb.auth.authtkt.persistent.secure = yes\n\n redis.sessions.secret = \n redis.sessions.prefix = :\n\n redis.sessions.url = redis://localhost:6379/0\n\n pyramid.includes =\n pyramid_redis_sessions\n pyramid_cubicweb.auth\n pyramid_cubicweb.login\n\n\nSee the documentation of `Pyramid Cubicweb`_ for more details.\n\n.. Warning:: If you want to be able to log in a CubicWeb application\n served by pyramid on a unsecured stream (typically when\n you start an instance in dev mode using a simple\n ``cubicweb-ctl pyramid -D -linfo myinstance``), you\n **must** set ``cubicweb.auth.authtkt.session.secure`` to\n ``no``.\n\nSecrets\n~~~~~~~\n\nThere are a number of secrets to configure in ``pyramid.ini``. They\nshould be different one from each other, as explained in `Pyramid's\ndocumentation`_.\n\nFor the record:\n\n:cubicweb.session.secret: This secret is used to encrypt the session's\n data ID (data themselved are stored in the backend, database or\n redis) when using the integrated (``CWSession`` based) session data\n storage.\n\n:redis.session.secret: This secret is used to encrypt the session's\n data ID (data themselved are stored in the backend, database or\n redis) when using redis as backend.\n\n:cubicweb.auth.authtkt.session.secret: This secret is used to encrypt\n the authentication cookie.\n\n:cubicweb.auth.authtkt.persistent.secret: This secret is used to\n encrypt the persistent authentication cookie.\n\n\n.. _`Pyramid Cubicweb`: http://pyramid-cubicweb.readthedocs.org/\n.. _`pyramid's documentation on sessions`: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/sessions.html\n.. _`pyramid-redis-session`: http://pyramid-redis-sessions.readthedocs.org/en/latest/index.html\n.. _`Pyramid's documentation`: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/security.html#admonishment-against-secret-sharing", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.cubicweb.org/project/cubicweb-pyramid", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "cubicweb-pyramid", "package_url": "https://pypi.org/project/cubicweb-pyramid/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cubicweb-pyramid/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.cubicweb.org/project/cubicweb-pyramid" }, "release_url": "https://pypi.org/project/cubicweb-pyramid/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Add the 'pyramid' command to cubicweb-ctl", "version": "0.5.0" }, "last_serial": 2551218, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "72561ab60b310cf6b3cde2f9a6af8ea8", "sha256": "30c769e2fed34ac079e33001391bab1034a59320be476f1e4168052dbc54cd3d" }, "downloads": -1, "filename": "cubicweb-pyramid-0.1.0.tar.gz", "has_sig": false, "md5_digest": "72561ab60b310cf6b3cde2f9a6af8ea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8542, "upload_time": "2014-10-23T15:53:06", "url": "https://files.pythonhosted.org/packages/13/b8/791da61300c174f768aa7fc575b52c3e71c9d02a10d6663dc507fd477132/cubicweb-pyramid-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c4022d14160b4a5b023a72660d5aac43", "sha256": "c44e815b5aa03f7aae601c305e6ba52ce555d2b1b094c0299ede8c66def90ed7" }, "downloads": -1, "filename": "cubicweb-pyramid-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c4022d14160b4a5b023a72660d5aac43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9043, "upload_time": "2015-01-21T13:39:57", "url": "https://files.pythonhosted.org/packages/aa/d0/3dddc2b62017a122813bd56ab29e05c39f0a67e657a02db34f515c5b5290/cubicweb-pyramid-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "bf2dd954521d2aafd34147c4d3717d50", "sha256": "94de68fa96842c4c4fb35bcd14d025db435db22c5899c423b9ea5601f24d1fe6" }, "downloads": -1, "filename": "cubicweb-pyramid-0.3.0.tar.gz", "has_sig": false, "md5_digest": "bf2dd954521d2aafd34147c4d3717d50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9023, "upload_time": "2015-07-22T16:12:54", "url": "https://files.pythonhosted.org/packages/a1/24/eb2d0b8fd596286687ea7007d1135bf2eefae940d8b3f694e572cb983d72/cubicweb-pyramid-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7d7e1f9ec8ec5f277f51035087e9ccb2", "sha256": "664a2469d2bb2e5fb4d26a5c7914f8b832868592a43e6ae61831ca93b1fe5bc4" }, "downloads": -1, "filename": "cubicweb-pyramid-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7d7e1f9ec8ec5f277f51035087e9ccb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9019, "upload_time": "2015-07-30T08:05:04", "url": "https://files.pythonhosted.org/packages/00/de/9cfe1a30cab7b27bdb454f9da09e5f13483090ab6ad423dc7164a09d39b9/cubicweb-pyramid-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "eaf4e686b94c0b7c95033a2c040e5f36", "sha256": "cfe961cd986eaceb57366eefac7874560bc60dc1121cdba87e14ca20def32a15" }, "downloads": -1, "filename": "cubicweb-pyramid-0.3.2.tar.gz", "has_sig": false, "md5_digest": "eaf4e686b94c0b7c95033a2c040e5f36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9044, "upload_time": "2015-12-23T11:02:46", "url": "https://files.pythonhosted.org/packages/c4/bf/b96fb9a1e82d82453a493056cb672a28232aa0513314d71ba287d8b540a5/cubicweb-pyramid-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "2ace90000adf41832c97d0dd4d270fb3", "sha256": "6942b2e6cebf65c5a1e56ef4eeee24da372fccd54ef9e0388bd8c8433c69e755" }, "downloads": -1, "filename": "cubicweb-pyramid-0.4.0.tar.gz", "has_sig": false, "md5_digest": "2ace90000adf41832c97d0dd4d270fb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10436, "upload_time": "2016-03-24T13:23:17", "url": "https://files.pythonhosted.org/packages/c3/9d/ff026e39e4584dcf2317bc37f7e9f0e07c75118e6529dcdb083a43e15a2e/cubicweb-pyramid-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "4dc43fd8e2a92775f9ccea115272883a", "sha256": "2a2d602d9f74c3b47c643d416eb74721b91a041a00e9b7b5eed609d816d0f9f1" }, "downloads": -1, "filename": "cubicweb-pyramid-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4dc43fd8e2a92775f9ccea115272883a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10702, "upload_time": "2017-01-03T08:46:56", "url": "https://files.pythonhosted.org/packages/10/b3/bf8eb137d0d34b9107060d9e3bb099b2ce5228d7270c1dec799c29478150/cubicweb-pyramid-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4dc43fd8e2a92775f9ccea115272883a", "sha256": "2a2d602d9f74c3b47c643d416eb74721b91a041a00e9b7b5eed609d816d0f9f1" }, "downloads": -1, "filename": "cubicweb-pyramid-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4dc43fd8e2a92775f9ccea115272883a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10702, "upload_time": "2017-01-03T08:46:56", "url": "https://files.pythonhosted.org/packages/10/b3/bf8eb137d0d34b9107060d9e3bb099b2ce5228d7270c1dec799c29478150/cubicweb-pyramid-0.5.0.tar.gz" } ] }