{ "info": { "author": "Audrey Roy", "author_email": "audreyr@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP :: Site Management" ], "description": "==========\nComplexity\n==========\n\n.. image:: https://badge.fury.io/py/complexity.png\n :target: http://badge.fury.io/py/complexity\n \n.. image:: https://travis-ci.org/audreyr/complexity.png?branch=master\n :target: https://travis-ci.org/audreyr/complexity\n\n.. image:: https://pypip.in/d/complexity/badge.png\n :target: https://crate.io/packages/complexity?version=latest\n\nA refreshingly simple static site generator, for those who like to work in HTML.\n\nDocumentation\n-------------\n\nThe full documentation is at http://complexity.rtfd.org.\n\nQuickstart\n----------\n\nTry it out::\n\n $ pip install complexity\n $ git clone git@github.com:audreyr/complexity-example.git my_proj\n $ cd my_proj\n $ complexity project/ www/\n\nOnce you've done that, open a web browser to http://127.0.0.1:9090 to see the newly generated Complexity static site.\n\nFeatures\n--------\n\n* Works on Python 2.6, 2.7, and 3.3, and on PyPy.\n* Takes simple HTML templates as input.\n* Data from .json files turns into template context data.\n* Template inheritance, filters, etc. (Brought to you by Jinja2.)\n* Auto-expands .html file URLs into cleaner URLs (e.g. about.html gets expanded to /about/)\n* Can optionally be used as a library instead of from the command line. See\n `Using Complexity as a Library`_ for details.\n\n.. _`Using Complexity as a Library`: http://complexity.readthedocs.org/en/latest/advanced_usage.html#using-complexity-as-a-library\n\nBest Used With\n--------------\n\nComplexity is designed to be used with these packages:\n\n* `Simplicity`_: Converts ReStructuredText into JSON, which Complexity can use\n as input.\n* `A Lot of Effort`_: Deploys a static website (e.g. the output of Complexity)\n to Amazon S3.\n* `Cookiecutter`_: Creates projects from project templates.\n\nSure, they could have all been built into Complexity, but decoupling them\nseemed like a nice thing to do.\n\n.. _`Simplicity`: https://github.com/pydanny/simplicity\n.. _`A Lot of Effort`: https://github.com/audreyr/alotofeffort\n.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter\n\nCommunity\n---------\n\n* Stuck? Don't know where to begin? File an issue and we'll help you.\n* We love contributions. Read about `how to contribute`_.\n\n.. _`how to contribute`: https://github.com/audreyr/complexity/blob/master/CONTRIBUTING.rst\n\n\n\n\nHistory\n-------\n\n0.9.1 (2013-12-02)\n++++++++++++++++++\n\n* Depend on Jinja2 >= 2.4, not == 2.7.\n\n0.9.0 (2013-08-28)\n++++++++++++++++++\n\n* CONFIG CHANGE: Configuration is now via a `complexity.yml` file inside the\n project, instead of a `complexity.json` file.\n* Support for an `unexpanded_templates` config option (#23).\n* Support for non-HTML files in `templates/` (or whatever you set\n `templates_dir` to be).\n\nSee http://complexity.readthedocs.org/en/latest/advanced_usage.html#config-using-complexity-yml\nfor more info.\n\n0.8.0 (2013-08-10)\n++++++++++++++++++\n\n* USAGE CHANGE: At the command line, Complexity no longer takes an output_dir\n argument. It now assumes that your output_dir is `www/` by default, but you\n can customize it in `complexity.json`.\n* Support for configuration via `complexity.json`: you can specify any or all\n of the following key/value pairs:\n\n - `output_dir`\n - `templates_dir`\n - `assets_dir`\n - `context_dir`\n\nSee http://complexity.readthedocs.org/en/latest/advanced_usage.html#config-using-complexity-json\nfor more info.\n\n0.7 (2013-08-05)\n++++++++++++++++\n\nA couple of small but important renames. If you rely on either of the following\ndefaults, you will need to rename them in your Complexity project.\n\n* Directory parameter for .json files to be turned into context data has been\n renamed from `json_dir` to `context_dir`.\n* Default context directory value `json/` has been changed to `context/`.\n\nSometimes you want your .json files to be turned into context variables, and\nsometimes you don't. This rename alleviates confusion when working with\nnon-context .json files.\n\n0.6 (2013-07-26)\n++++++++++++++++\n\n* Support for multi-level template directories. (Upgrade to at least 0.6 if\n you want to have folders within folders and beyond in `templates/`.)\n* Skip non-HTML files in `templates/` rather than raising `NonHTMLFileException`.\n\n0.5 (2013-07-25)\n++++++++++++++++\n\n* Improved static site generation API - better parameters are used.\n* Files in the root of `assets/` (or the asset directory) now get copied over to the output.\n* Much more documentation.\n\n0.4.2 (2013-07-21)\n++++++++++++++++++\n\n* Make reading of JSON files from `json/` optional.\n\n0.4.1 (2013-07-19)\n++++++++++++++++++\n\n* Fix reading of JSON files from `json/`.\n\n0.4 (2013-07-19)\n++++++++++++++++++\n\n* Project layout is now::\n\n my_repo/\n \u251c\u2500\u2500 project/ <--------- input\n \u2502 \u251c\u2500\u2500 assets/\n \u2502 \u2502 \u251c\u2500\u2500 css/\n \u2502 \u2502 \u251c\u2500\u2500 js/\n \u2502 \u2502 \u2514\u2500\u2500 img/\n \u2502 \u251c\u2500\u2500 json/\n \u2502 \u2502 \u2514\u2500\u2500 stuff.json\n \u2502 \u2514\u2500\u2500 templates/\n \u2502 \u251c\u2500\u2500 base.html\n \u2502 \u251c\u2500\u2500 index.html\n \u2502 \u2514\u2500\u2500 about.html\n \u2514\u2500\u2500 www/ <---------- output (generated)\n \u251c\u2500\u2500 index.html\n \u251c\u2500\u2500 about/\n \u2502 \u2514\u2500\u2500 index.html\n \u251c\u2500\u2500 css/\n \u251c\u2500\u2500 js/\n \u2514\u2500\u2500 img/\n\n* Assets are copied over to `www/` during site generation.\n* If the `www/` directory was previously created, it prompts the user and then\n deletes it before site regeneration.\n* Templates starting with `base` are not generated as individual pages. They\n are meant to be extended in other templates.\n\n0.3 (2013-07-18)\n++++++++++++++++++\n\n* Graceful shutdown/restart of dev server.\n* Required input and output dir arguments.\n* Optional port argument.\n* Improved server start/stop messages.\n* Major internal refactor.\n\n0.2.1 (2013-07-15)\n+++++++++++++++++++\n\n* Fixes to setup.py.\n\n0.2.0 (2013-07-15)\n+++++++++++++++++++\n\n* Data from .json files now gets read as template context data.\n* Tested (and passing!) on Python 2.6, 2.7, 3.3, PyPy.\n\n0.1.1 (2013-07-10)\n++++++++++++++++++\n\n* First release on PyPI.", "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/audreyr/complexity", "keywords": "complexity,static site generator,HTML,Jinja2,templates,S3", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "complexity", "package_url": "https://pypi.org/project/complexity/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/complexity/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/audreyr/complexity" }, "release_url": "https://pypi.org/project/complexity/0.9.1/", "requires_dist": null, "requires_python": null, "summary": "A refreshingly simple static site generator, for those who like to work in HTML.", "version": "0.9.1" }, "last_serial": 934340, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "711bf8fdedcbf736fa415a1f2746199c", "sha256": "3b51764a7c5c174530996ea88cfc31efba8af0bdfc65d8485ffb7a218d078c7b" }, "downloads": -1, "filename": "complexity-0.1.1.tar.gz", "has_sig": false, "md5_digest": "711bf8fdedcbf736fa415a1f2746199c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3566, "upload_time": "2013-07-10T09:16:03", "url": "https://files.pythonhosted.org/packages/7b/42/8d2b7d08f36e0e885c1fe4cace7eddc2b1ebf51f59a42c3babb9ecffee3a/complexity-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "014a56958d8a4722bb87de9e0d3112c1", "sha256": "b807dbcc5903d3a02b60091d4c1657bf6dd9463a942b0ad866232f644b435eda" }, "downloads": -1, "filename": "complexity-0.1.2.tar.gz", "has_sig": false, "md5_digest": "014a56958d8a4722bb87de9e0d3112c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3575, "upload_time": "2013-07-10T12:11:51", "url": "https://files.pythonhosted.org/packages/02/27/344d71b7474cade632384c1b42ffada8f738710b60bd865dded778534ab7/complexity-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2ff41aa6beba0890c71912c0403ec351", "sha256": "37c0120bb51dfcbee837a5082bff0a10e24ee986b8e797f84e1d8f5f07333fc3" }, "downloads": -1, "filename": "complexity-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2ff41aa6beba0890c71912c0403ec351", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2740, "upload_time": "2013-07-12T21:35:52", "url": "https://files.pythonhosted.org/packages/f5/d9/c74017e3662e6d239c9bf262d9479049dc58fcd69d56c04bdb4c88ca0e8e/complexity-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d7899df82f466cbe00a5470f0058ae94", "sha256": "7d891511485f44deb1da406dfa1f170857764b1f4cf0d186c9cd95ecd4209d49" }, "downloads": -1, "filename": "complexity-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d7899df82f466cbe00a5470f0058ae94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5483, "upload_time": "2013-07-15T07:39:18", "url": "https://files.pythonhosted.org/packages/93/09/904c26ab6ecea853653ffcf6d9c89b9aef9c1887cfbfbcead69f858c1580/complexity-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b44309d4de4c1b3014d32db3dd0dca2b", "sha256": "6e9c4d484196c7bfea5b71e75c96ea8983feb97b413c4fc7e5ad649a5d49a15f" }, "downloads": -1, "filename": "complexity-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b44309d4de4c1b3014d32db3dd0dca2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5510, "upload_time": "2013-07-15T07:48:37", "url": "https://files.pythonhosted.org/packages/27/fb/c65de83e5194855afd70d1d530dac0fac4c742e7d2ae03a1d0dcd5c8e00d/complexity-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "82989d9abc42d3a2a9d3adde8aae0e1a", "sha256": "a818f10a02711b0f6887ac04e6ecb1935675c0933d5e820f3165d0da547a3bbf" }, "downloads": -1, "filename": "complexity-0.3.tar.gz", "has_sig": false, "md5_digest": "82989d9abc42d3a2a9d3adde8aae0e1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6594, "upload_time": "2013-07-18T13:04:32", "url": "https://files.pythonhosted.org/packages/13/7c/87c62c8251467004d4a58bdeea8dc91fc4f5d70a1f6daa4812a510186fb1/complexity-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "59153a9f82c692591b9d17a47278e0cf", "sha256": "59dc197a1573f8a76790f64c5f27fb4455eea5aba88c8b52bf978929db664b0f" }, "downloads": -1, "filename": "complexity-0.4.tar.gz", "has_sig": false, "md5_digest": "59153a9f82c692591b9d17a47278e0cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9266, "upload_time": "2013-07-19T13:05:26", "url": "https://files.pythonhosted.org/packages/ee/7e/5e8f93beccdce2d66ee7faf0acc4bfb7350af80f68436128b481d4c29918/complexity-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "97cd1ab87096f0c71b87f232d998c4ae", "sha256": "009ea107e3252d1878ef7408b32bca15e2d4b3e3655f0315832bb98701044587" }, "downloads": -1, "filename": "complexity-0.4.1.tar.gz", "has_sig": false, "md5_digest": "97cd1ab87096f0c71b87f232d998c4ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9517, "upload_time": "2013-07-19T19:30:48", "url": "https://files.pythonhosted.org/packages/9d/7c/ed862673fc32c485f81149f6ea268b9d87b6780f342ba68a1874f0ca8b09/complexity-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "c818e764c38227fc1511ba3388dbb49e", "sha256": "b4876d4df5725b6f0d321e8d9a853c2126c2943fd2f87203601b5c6f35f5d4ac" }, "downloads": -1, "filename": "complexity-0.4.2.tar.gz", "has_sig": false, "md5_digest": "c818e764c38227fc1511ba3388dbb49e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10029, "upload_time": "2013-07-21T07:13:48", "url": "https://files.pythonhosted.org/packages/1f/1d/4cd3a1883063fb4d984eea2d471b449fd1b27c9ee92526f2c0eca4db67dc/complexity-0.4.2.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "d5a62560d44782262f8d622654cb8f3b", "sha256": "778416ad6397faa2d128a17115eca7c0d1083ccf7a57652b0e7c0d479de1b7a1" }, "downloads": -1, "filename": "complexity-0.5.tar.gz", "has_sig": false, "md5_digest": "d5a62560d44782262f8d622654cb8f3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10753, "upload_time": "2013-07-25T19:39:05", "url": "https://files.pythonhosted.org/packages/68/6f/9d80c362adacf65c5413234154c9adb65a3804661099282159bbdcbab24a/complexity-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "dfcaf4a7af002c17fdbc792b631971a2", "sha256": "618605ddd27a5a3bda08d856ee98209ce1822fbd8608676e495768e8146c6192" }, "downloads": -1, "filename": "complexity-0.6.tar.gz", "has_sig": false, "md5_digest": "dfcaf4a7af002c17fdbc792b631971a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11045, "upload_time": "2013-07-26T13:14:44", "url": "https://files.pythonhosted.org/packages/ca/84/6e602c879aba4b9e8f44631678473577842c1930acf60cc87b357040a247/complexity-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "0b162993618294b499e0a855afaa9751", "sha256": "5f6a23adeb7a0d0f49d9523ee0510f54d4954182ccfd6ac7607df8094c096207" }, "downloads": -1, "filename": "complexity-0.7.tar.gz", "has_sig": false, "md5_digest": "0b162993618294b499e0a855afaa9751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11607, "upload_time": "2013-08-05T20:37:33", "url": "https://files.pythonhosted.org/packages/ee/d2/705dbb956aac70ac691b740f3003176f951e92be234f7f6424aa1b5c3b53/complexity-0.7.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "cbc5058ebf3168f8d15aa151c42d9d36", "sha256": "2a9f62ed077a3464ff38ed033f22540b30e54c156322827ba9f6c588daaec3cb" }, "downloads": -1, "filename": "complexity-0.8.0.tar.gz", "has_sig": false, "md5_digest": "cbc5058ebf3168f8d15aa151c42d9d36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12120, "upload_time": "2013-08-09T22:59:30", "url": "https://files.pythonhosted.org/packages/d1/66/d0aaf55de127d5d69b6f0dfafc9feeae37ab00b50659c4c926aa5f8730f3/complexity-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "ad1f8dd31622d539c09c2ccf6e2d8311", "sha256": "a25ccb112f9262cd9d01bf35702a05db53b5d5143896b7fd63fef8e20b8137ca" }, "downloads": -1, "filename": "complexity-0.9.0.tar.gz", "has_sig": false, "md5_digest": "ad1f8dd31622d539c09c2ccf6e2d8311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12542, "upload_time": "2013-08-28T21:55:14", "url": "https://files.pythonhosted.org/packages/e2/88/ae5edf3db9081f77eaaa4d3d930419e4effc80809e5c099ba2383f619637/complexity-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "ae648cfb716cb0ecfc54c4a3fb75cb61", "sha256": "1de19b0607d2445ba78edf48d5bfe2104828e4559944777be38419adacfc53e9" }, "downloads": -1, "filename": "complexity-0.9.1.tar.gz", "has_sig": false, "md5_digest": "ae648cfb716cb0ecfc54c4a3fb75cb61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12700, "upload_time": "2013-12-03T05:18:24", "url": "https://files.pythonhosted.org/packages/e2/df/6dc665548bd3ccce3d29e0900843354041afcd7ed59835f68746f66e7d2d/complexity-0.9.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae648cfb716cb0ecfc54c4a3fb75cb61", "sha256": "1de19b0607d2445ba78edf48d5bfe2104828e4559944777be38419adacfc53e9" }, "downloads": -1, "filename": "complexity-0.9.1.tar.gz", "has_sig": false, "md5_digest": "ae648cfb716cb0ecfc54c4a3fb75cb61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12700, "upload_time": "2013-12-03T05:18:24", "url": "https://files.pythonhosted.org/packages/e2/df/6dc665548bd3ccce3d29e0900843354041afcd7ed59835f68746f66e7d2d/complexity-0.9.1.tar.gz" } ] }