{
"info": {
"author": "Sayyid Hamid Mahdavi",
"author_email": "sayyid.hamid.mahdavi@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Framework :: Pyramid",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
"description": "Pyramid Flash Message\n=====================\n\nSmall tool to add and show flash messages\n\nusage\n-----\n\nfor add new message to flash message queue\n\n.. code-block:: python\n\n from pyramid_flash_message import MessageQueue\n flash_message = MessageQueue()\n flash_message.add('some message')\n flash_message.add('danger message', message_type='danger')\n flash_message.add('danger message', message_type=MessageQueue.danger)\n\nby default in instant of MessageQueue added to request object so you can use request object without importing MessageQueue\n\n.. code-block:: python\n\n request.flash_message.add('some message')\n request.flash_message.add('danger message', message_type='danger')\n request.flash_message.add('danger message', message_type=request.flash_message.danger)\n\nyou also can pass translation mapping and translation domain to it when you add new message or create new instance of MessageQueue.\n\n.. code-block:: python\n\n request.flash_message.add('some message ${var1}', mapping={'var1': 123})\n request.flash_message.add('some message', domain='some_domain')\n\npyramid_flash_message use default pyramid i18n system. so you can pass `mapping` arg to use in translation.\nalso if you like to show source of message you can use `source` arg.\n\nnow for show flash message you can use `flash_message` panel in your templates\n\n.. code-block:: html\n\n panel('flash_message', per_page=20, read=False)\n\nfor instance in jinja2 templates\n\n.. code-block:: html\n\n {{ panel('flash_message', per_page=20, read=False) }}\n\n\nthere is also flash_message view than get `page` and `per_page` and `read` params for paged view of messages.\nthis params will get via GET method so you can use it via\n\n.. code-block:: html\n\n View all messages\n View and mark read\n\n\n\nInstallation\n------------\n\nfor installing pyrmaid_flash_message\n\n.. code-block:: bash\n\n pip install pyramid_flash_message\n\nadd then add this package to your application\n\n.. code-block:: ini\n\n pyramid.includes =\n pyramid_flash_message\n\n\nor\n\n.. code-block:: python\n\n config.include('pyramid_flash_message')\n\n\nSupport\n-------\n\nYou can use `project issue page `_ to submit your issue\n\n\nChanges\n=======\n\nv 0.2.3\n-------\n\n - handle error in session don't found\n\nv 0.2.2\n-------\n\n - get and use domain in translation\n\nv 0.2.1\n-------\n\n - add message count\n - some bugfix\n\nv 0.2\n-----\n\n - some bugfix and documentation\n\nv 0.1.6\n-------\n\n - some bugfix (now you can use it)\n\nv 0.1\n-----\n\n - refactor as package\n - some bugfix\n\nv 0.0\n-----\n\n - init project and create skeleton of it",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/sahama/pyramid_flash_message",
"keywords": "web wsgi bfg pylons pyramid flash message",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "pyramid-flash-message",
"package_url": "https://pypi.org/project/pyramid-flash-message/",
"platform": "",
"project_url": "https://pypi.org/project/pyramid-flash-message/",
"project_urls": {
"Homepage": "https://github.com/sahama/pyramid_flash_message"
},
"release_url": "https://pypi.org/project/pyramid-flash-message/0.2.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Small tool to add and show flash messages",
"version": "0.2.3"
},
"last_serial": 3000977,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "d4e6cc9841624e44707557fc99a3bd81",
"sha256": "f9aa951efbf4dfe0842b89adb09d1d453d0b4ddd1ee6e99b7ba713fbfa16adfc"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d4e6cc9841624e44707557fc99a3bd81",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2705,
"upload_time": "2017-05-20T14:48:13",
"url": "https://files.pythonhosted.org/packages/9d/c5/ac4aa47beb4599d17551e82b6d4adee629e8512002748a426d0f6b48af5b/pyramid_flash_message-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "8e6d0f3d2425ab834ac287a6f0f98e7e",
"sha256": "6a5318203451d9e34ecad4884bfb4032142529cffaf06149d4c7862589bc753e"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "8e6d0f3d2425ab834ac287a6f0f98e7e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2680,
"upload_time": "2017-05-21T10:26:06",
"url": "https://files.pythonhosted.org/packages/4c/e8/c0dae0099af196c752f1b02aabe48de1bb78f9ce3536d7145216c9b6b9b9/pyramid_flash_message-0.1.1.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "d2a2e7f1a96d86b25c110d43567b31a3",
"sha256": "3314a51f751dafc2c628aa5773173557291e8fed28845e938571e3978714bf43"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "d2a2e7f1a96d86b25c110d43567b31a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2676,
"upload_time": "2017-05-24T06:08:02",
"url": "https://files.pythonhosted.org/packages/8e/5f/1f68d94d4e3bb3bec5be97fe27939e88b12cc2ea1b24f36925ed8786d609/pyramid_flash_message-0.1.3.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "a0f39c8b3cf3956a533b770abbe2cdb9",
"sha256": "eca43cfd070276d39417e54ea1dc857bd59e659716c9f13272b49115f3c4c12e"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "a0f39c8b3cf3956a533b770abbe2cdb9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2683,
"upload_time": "2017-05-24T06:11:28",
"url": "https://files.pythonhosted.org/packages/4e/4e/797a0bbd63a7d6501161d7201b93a9a5db225ca87db6b492259bcbdc7a89/pyramid_flash_message-0.1.4.tar.gz"
}
],
"0.1.5": [
{
"comment_text": "",
"digests": {
"md5": "f0e1fad9b22f76b1d3e7dc7de9129a68",
"sha256": "56630b698cb4f5f233f09ea35d96e15af83d832ce83ea08065d7c1227c4864aa"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "f0e1fad9b22f76b1d3e7dc7de9129a68",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2749,
"upload_time": "2017-06-03T13:59:18",
"url": "https://files.pythonhosted.org/packages/d4/cc/9bfbf619f18009da5a2189a8069ac8308228bc9b9119dd9cc2e706a945d5/pyramid_flash_message-0.1.5.tar.gz"
}
],
"0.1.6": [
{
"comment_text": "",
"digests": {
"md5": "d0ac66636a74f48d4b17bec034ede8b1",
"sha256": "90413a2e9ecaa17dd73883739a94d22a2952f068071830148c36c0add133f827"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "d0ac66636a74f48d4b17bec034ede8b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2739,
"upload_time": "2017-06-06T04:56:10",
"url": "https://files.pythonhosted.org/packages/76/ac/7e77ad4e9b86c390bf2a66a21b95ccafae157f8d2a81296af67b833cc7d8/pyramid_flash_message-0.1.6.tar.gz"
}
],
"0.1.8": [
{
"comment_text": "",
"digests": {
"md5": "16334283dd7f2b24e8d838d4b1945ecb",
"sha256": "092eadfb460a47f4145937145c2a0ffb9992e179e8b4a612d84fa83e45683a43"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.8.tar.gz",
"has_sig": false,
"md5_digest": "16334283dd7f2b24e8d838d4b1945ecb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3902,
"upload_time": "2017-06-06T05:28:56",
"url": "https://files.pythonhosted.org/packages/62/f1/63741e54d2cd421433c18b9fd6fd0a200dea3807c021cad30b7124d98ee6/pyramid_flash_message-0.1.8.tar.gz"
}
],
"0.1.9": [
{
"comment_text": "",
"digests": {
"md5": "d5dc903142a2cb74a6624e47794eec73",
"sha256": "7dbc9148c434481f27919acf5449b1fd3c757dc32464c95b657ea61f70d88475"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "d5dc903142a2cb74a6624e47794eec73",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3843,
"upload_time": "2017-06-06T05:29:37",
"url": "https://files.pythonhosted.org/packages/37/2d/7e99925b849baae358e6470f9142e5f083d68486372bc638e149fcbb898d/pyramid_flash_message-0.1.9.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "2fc340895365e22e87ce6d4b1a4e6468",
"sha256": "eae84fd9e70c62769d6a46ab08520ab30a465241b7cce57faf1ad3cf8a61cbf3"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.2.tar.gz",
"has_sig": false,
"md5_digest": "2fc340895365e22e87ce6d4b1a4e6468",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3965,
"upload_time": "2017-06-06T05:34:01",
"url": "https://files.pythonhosted.org/packages/b6/3d/c1c50097566d7a3615bf15f1bdd23b25d81cbf53394f0cd613521d1a6f5a/pyramid_flash_message-0.2.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "18831e55d7eeb841707488b5a674d7f9",
"sha256": "af138e115eca4fc166ef6825cb0989a1bc519f96e825673fce42a6bc095a76bd"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "18831e55d7eeb841707488b5a674d7f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4074,
"upload_time": "2017-06-06T09:43:26",
"url": "https://files.pythonhosted.org/packages/b2/a3/f3b0fa688fd2298b132dcb79ceeb0c79d5be24c0521965d3610e7ca2742f/pyramid_flash_message-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "b8df8d922cd478cc6d8cf859819638fa",
"sha256": "119f51cfda51af47778c26f2af17704f037ea3dbdac20c01a049903f291eb1b2"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "b8df8d922cd478cc6d8cf859819638fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4166,
"upload_time": "2017-06-15T06:54:24",
"url": "https://files.pythonhosted.org/packages/6f/ac/1076d1a7bb55ebe5cd22f72822aaf427d7e2a32b50e96141712391f12e2f/pyramid_flash_message-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "0384109b3cab6efab7599560e4ce6d71",
"sha256": "4060cbc36217054fd3ac82283118770e99358b679f861cde6b0fdd0fd2d20d1c"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "0384109b3cab6efab7599560e4ce6d71",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4532,
"upload_time": "2017-07-05T12:08:42",
"url": "https://files.pythonhosted.org/packages/c9/1d/815728cd184e3ef62cadabb894f87a70a700e941859f19ef073ba90c02be/pyramid_flash_message-0.2.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0384109b3cab6efab7599560e4ce6d71",
"sha256": "4060cbc36217054fd3ac82283118770e99358b679f861cde6b0fdd0fd2d20d1c"
},
"downloads": -1,
"filename": "pyramid_flash_message-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "0384109b3cab6efab7599560e4ce6d71",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4532,
"upload_time": "2017-07-05T12:08:42",
"url": "https://files.pythonhosted.org/packages/c9/1d/815728cd184e3ef62cadabb894f87a70a700e941859f19ef073ba90c02be/pyramid_flash_message-0.2.3.tar.gz"
}
]
}