{ "info": { "author": "Gael Pasgrimaud", "author_email": "gael@gawel.org", "bugtrack_url": null, "classifiers": [ "Framework :: Pylons", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "pyramid_fanstatic\n=================\n\nThis package provide a `Pyramid tween\n`_\nfor `fanstatic `_ and a pyramid scaffold.\n\nScaffold\n--------\n\nJust run::\n\n $ pcreate -s starter -s pyramid_fanstatic myproject\n\nOr::\n\n $ pcreate -s pyramid_fanstatic myexistingproject\n\nif you want to add ``pyramid_fanstatic`` to an existing project.\n\nThen read ``README_FANSTATIC.txt``\n\nFanstatic library definition is added to ``resources.py``. Resources are\nlocated in the ``resources/`` directory.\n\nTween usage\n-----------\n\nYou can use all `fanstatic options\n`_ in your\n``.ini``. You just need to prefix options with ``fanstatic.``::\n\n [app:main]\n ...\n fanstatic.publisher_signature = fanstatic\n\nYou should add at least those two options::\n\n fanstatic.bottom = true\n fanstatic.debug = true # in development.ini\n\nThen include ``pyramid_fanstatic`` in your ``__init__.py``::\n\n config.include('pyramid_fanstatic')\n\nBase URLs for resources\n^^^^^^^^^^^^^^^^^^^^^^^\n\nStatic\n\"\"\"\"\"\"\n\nBy default, resource URLs from Fanstatic come served at in the script root and\nFanstatic provides its ``base_url`` option to set a URL prefix for all \nresource URLs. You can utilise this option statically using the following::\n\n [app:main]\n ...\n fanstatic.base_url = https://example.com/myapp\n\nTake note that the URL should not have a trailing slash - Fanstatic has\nresources URLs that feature a ``/`` prefix already.\n\nDynamic\n\"\"\"\"\"\"\"\n\nThe above process works, but your application may need to serve from multiple\nURLs, multiple paths, and so forth. ``pyramid_fanstatic`` has a special option\nto allow the ``base_url`` prefix to be configured on a per-request basis. Your\napplication URI is generated using ``wsgiref.util.application_uri`` and is\nbased upon the request environment (according to `PEP 333\n`_).\n\nThis option is ``fanstatic.use_application_uri`` and is specific to\n``pyramid_fanstatic`` and is not passed to Fanstatic. Specify this option as\nfollows::\n\n [app:main]\n ...\n fanstatic.use_application_uri = true\n\nAny static ``base_url`` that is set will take precedence over this option.\n\nChangelog\n=========\n\n0.6 (unreleased)\n----------------\n\n- Nothing changed yet.\n\n\n0.5 (2013-11-08)\n----------------\n\n- Support fanstatic > 1.0 with backward compat\n\n\n0.4 (2012-09-21)\n----------------\n\n- Add new option ``fanstatic.use_application_uri`` to have Fanstatic\n base URLs generated using the current request. A ``base_url`` that is set\n will override this option.\n [davidjb]\n- Document details about Fanstatic base URLs and the ``fanstatic.base_url``\n option.\n [davidjb]\n\n0.3 (2011-12-27)\n----------------\n\n- Improve the Pyramid scaffold that's available with ``pcreate``.\n [gawel]\n\n\n0.2 (2011-12-26)\n----------------\n\n- Forward requests to Pyramid handler if a resource can't be found.\n [gawel]\n- Documentation and coverage improvements\n [gawel]\n\n\n0.1 (2011-12-26)\n----------------\n\n- Initial release.\n [gawel]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/FormAlchemy/pyramid_fanstatic", "keywords": "pyramid fanstatic js css", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyramid_fanstatic", "package_url": "https://pypi.org/project/pyramid_fanstatic/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid_fanstatic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/FormAlchemy/pyramid_fanstatic" }, "release_url": "https://pypi.org/project/pyramid_fanstatic/0.5/", "requires_dist": null, "requires_python": null, "summary": "pyramid tween for fanstatic", "version": "0.5" }, "last_serial": 4176023, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c5181ef53c0c8e44504c3b7a1c14c1fe", "sha256": "c34c227a9a19567ace7a7ed6ce1aab4f5ef89de017687e3c1f5089dbde758c11" }, "downloads": -1, "filename": "pyramid_fanstatic-0.1.tar.gz", "has_sig": false, "md5_digest": "c5181ef53c0c8e44504c3b7a1c14c1fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2556, "upload_time": "2011-12-26T14:08:33", "url": "https://files.pythonhosted.org/packages/c8/b7/faaee61f0da79a5160531812720a865f48cbbca85e887eb0a13bbd541213/pyramid_fanstatic-0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "daa44435f01f9901f804ed1a97e895f1", "sha256": "df4916af5c13d928134bc7b2918aa9371e8f28e336033884b5b927ead5bc66f4" }, "downloads": -1, "filename": "pyramid_fanstatic-0.1.zip", "has_sig": false, "md5_digest": "daa44435f01f9901f804ed1a97e895f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5103, "upload_time": "2011-12-26T14:08:32", "url": "https://files.pythonhosted.org/packages/f4/26/4011075230fa2721088b976e7f66f9878abe1cc13fa883bdf1d1bf25b25d/pyramid_fanstatic-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "8abdee94c25be274807c887a19184866", "sha256": "53496ba4929a602396324b20e6684fc3e5ed05140787a706b43c396502a7e297" }, "downloads": -1, "filename": "pyramid_fanstatic-0.2.tar.gz", "has_sig": false, "md5_digest": "8abdee94c25be274807c887a19184866", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2787, "upload_time": "2011-12-27T00:48:08", "url": "https://files.pythonhosted.org/packages/ac/fe/921eac193a2d4d38e5f2b8077a45df05130f354dad00abaf1728c65c29f3/pyramid_fanstatic-0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "db40cee12b5f6d8ab86e60db46013592", "sha256": "93b675b0d2176a9320aadddb758389f237ce59f7b4de364624480cdb049bd2ec" }, "downloads": -1, "filename": "pyramid_fanstatic-0.2.zip", "has_sig": false, "md5_digest": "db40cee12b5f6d8ab86e60db46013592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5575, "upload_time": "2011-12-27T00:48:07", "url": "https://files.pythonhosted.org/packages/8c/7a/8a30b3be9e59ed7569ac4fdecb607d29cd4d3ddd5e7b74c6ccf3e5c6af57/pyramid_fanstatic-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "70de79c01c86e311587f4a541afc54b3", "sha256": "f81132eb07efef0609801555b4db8034bf19486cf7b811d4f7548d67384adecf" }, "downloads": -1, "filename": "pyramid_fanstatic-0.3.tar.gz", "has_sig": false, "md5_digest": "70de79c01c86e311587f4a541afc54b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4449, "upload_time": "2011-12-27T17:51:06", "url": "https://files.pythonhosted.org/packages/bf/24/316cc44673671b047d0ebe870d8f0f5beed9de20430c795186e8e67643b4/pyramid_fanstatic-0.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "a250be74c280e554e196390a083ea7dd", "sha256": "7f2375b8866d7894913b81d083c7e65dfaf0d1b42989d6afe08825f3124d8ec0" }, "downloads": -1, "filename": "pyramid_fanstatic-0.3.zip", "has_sig": false, "md5_digest": "a250be74c280e554e196390a083ea7dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9201, "upload_time": "2011-12-27T17:51:05", "url": "https://files.pythonhosted.org/packages/27/37/ff1e01d5886656a15c96bc6790c60e2daf246d7a4f3361dd934069842dc9/pyramid_fanstatic-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "16a0b22e4fc7e684ee590673cee30f98", "sha256": "0e9027e7f7ed7a94ffee1c503ff006a26dbf8ca64ca49f52436d72c05e660676" }, "downloads": -1, "filename": "pyramid_fanstatic-0.4.zip", "has_sig": false, "md5_digest": "16a0b22e4fc7e684ee590673cee30f98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16537, "upload_time": "2012-09-20T23:03:46", "url": "https://files.pythonhosted.org/packages/d0/ea/dd6102ae4b938ab3c401b80ec6e98252b97992fc6fe6c846d88222fb1a63/pyramid_fanstatic-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "e3644661359c04285e9bf3ca9d74a941", "sha256": "e75f82b91d39ed4537f21378330adaff324435663667b8dc5ae43eb771ffa3c8" }, "downloads": -1, "filename": "pyramid_fanstatic-0.5.zip", "has_sig": false, "md5_digest": "e3644661359c04285e9bf3ca9d74a941", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13194, "upload_time": "2013-11-08T10:23:52", "url": "https://files.pythonhosted.org/packages/8f/54/0ce4dadebd4e34090cf376359545b9eacd5ce7683fbf519de7df9e705e2e/pyramid_fanstatic-0.5.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e3644661359c04285e9bf3ca9d74a941", "sha256": "e75f82b91d39ed4537f21378330adaff324435663667b8dc5ae43eb771ffa3c8" }, "downloads": -1, "filename": "pyramid_fanstatic-0.5.zip", "has_sig": false, "md5_digest": "e3644661359c04285e9bf3ca9d74a941", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13194, "upload_time": "2013-11-08T10:23:52", "url": "https://files.pythonhosted.org/packages/8f/54/0ce4dadebd4e34090cf376359545b9eacd5ce7683fbf519de7df9e705e2e/pyramid_fanstatic-0.5.zip" } ] }