{ "info": { "author": "Alex Musayev", "author_email": "alex.musayev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Text Processing :: General", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML" ], "description": "public-static\n=============\n\nThis is a static website builder with the following features:\n\n- Works out of the box.\n- Capable for blogs and websites with arbitrary content structure.\n- Uses `markdown `__ page\n sources and `Jinja2 `__ templates.\n- Includes neat and responsive default theme based on `Twitter\n Bootstrap 3 `__.\n- Provides optional JavaScript, CSS and HTML minification.\n- Can generate `sitemap.xml `__,\n `robots.txt `__,\n `humans.txt `__, and atom feed for blog posts.\n- Supports `LESS `__ stylesheets.\n- Local host site preview.\n- Code hightlighting based on `Google Code\n Prettify `__.\n- Supports Disqus comments and Google Analytics.\n- Tags.\n\nInstallation\n------------\n\nThe latest stable version could be installed from PyPI:\n\n::\n\n pip install publicstatic\n\nUse this command to install latest development version directly from\nGitHub:\n\n::\n\n pip install -e git+git://github.com/dreikanter/public-static#egg=public-static\n\nDefault website configuration uses Yahoo's yuicompressor for CSS and\nJavaScript minification. To use this tool `Java\nruntime `__ should be\npreinstalled.\n\nBasic usage\n-----------\n\nThe following command creates a new website source in the current\ndirectory:\n\n::\n\n pub init\n\nUse the following commands to add posts or pages:\n\n::\n\n pub post \"Good news everyone!\"\n pub page \"True story\"\n\nWith default configuration this commands will create a new post supposed\nto be located at ``http://example.com/posts/good-news-everyone``, and a\npage ``http://example.com/true-story``.\n\nAfter adding some content the website should be built.\n\n::\n\n pub build\n\nThis command will generate HTML pages using text content and template\nfiles. Build output will also include CSS files and any other assets\nincluded to the website source. Generated website could be previewed\nright on the local host:\n\n::\n\n pub run -b\n\n``-b`` option tells public-static to open site root page using the\ndefault browser.\n\nThe last operation is to deploy generated web content to the destination\nserver:\n\n::\n\n pub deploy\n\nThis command suppose to use external tool like ``rsync`` or ``aws`` to\nsynchronize local web content directory to the remote one. The actual\ncommand should be predefined in the configuration file as ``deploy_cmd``\nparameter value. See some `examples on\nwiki `__.\n\nUse ``--help`` for detailed command line arguments description.\n\nPage file format\n----------------\n\nEach page is a plain text/markdown file complemented with the optional\nmetadata in the header. The format is pretty straightforward. Here is an\nexample:\n\n::\n\n title: Hello World!\n updated: 2012-06-05 13:49:38\n template: default\n custom-field: Custom field value\n\n # Hello world!\n\n This is the main page contents section.\n\nSome details:\n\n- All header fields are optional. The whole header could be omitted if\n you lazy enough.\n- Both ``created`` and ``updated`` field values should comply the\n default format which is ``YYYY-MM-DD HH:MM:SS``.\n- ``template`` value is to be transformed to ``[tpl_path]\\[name].html``\n file name where ``tpl_path`` is defined by configuration and ``name``\n is what specified in the page header.\n- All header fields are accessible from template body by name. E.g.\n ``{{title}}`` will be replaced by the actual title if it's specified.\n- Any number of custom header fields could be added.\n- Custom field names should consist of alphanumeric characters, dashes\n and underscores. All names are case-sensitive.\n- Page header fields could have single-line values only.\n- Everything beneath the key-value header definition is to be treated\n as page content. Template name for this section is ``{{ content }}``.\n\nConfiguration\n-------------\n\nPublic-static configuration resides in a yaml-formatted file\n``pub.conf`` in the root of each website directory. ``init`` comand\ngenerates this file with default parameter values and a brief comment\nfor each of them. Configuration supposed to be updated after site\ncreation to fit user requirements like site structure, deployment\ndestination, etc.\n\nContent migration\n-----------------\n\nThere is a great tool to export Wordpress data to\npublic-static-compatible files:\n`wp2md `__.\n\nTroubleshooting\n---------------\n\n- ``pub`` command is not available after installation.\n\nIf `pyenv `__ is used for Python version\nmanagement, run ``pyenv rehash`` after calling pip install.\n\n- pip fails to install package dependencies on Windows, saying \"The\n process cannot access the file because it is being used by another\n process\".\n\nThere are two possible solutions. 1. This behavior is specific to 64-bit\nversion of Python. So try to replace it with x86 one. 2. If you still\nneed 64-bit version of Python, try to install the problematic package\nmanually (e.g. 'pip install markdown'), and then repeat 'pip install\npublicstatic' command.\n\nLicensing\n---------\n\nCopyright \u00a9 2013 by `Alex Musayev `__. License:\n`MIT `__.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dreikanter/public-static", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "publicstatic", "package_url": "https://pypi.org/project/publicstatic/", "platform": "any", "project_url": "https://pypi.org/project/publicstatic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/dreikanter/public-static" }, "release_url": "https://pypi.org/project/publicstatic/0.7.8.4/", "requires_dist": null, "requires_python": null, "summary": "Yet another static website builder. A good one.", "version": "0.7.8.4" }, "last_serial": 1053652, "releases": { "0.7.3": [ { "comment_text": "", "digests": { "md5": "6effc40802dd42dbb4cb0ebd05bd59ef", "sha256": "424c8482a0c443c676022719657ac84d31f5c56d0bbef628e2d467698640633f" }, "downloads": -1, "filename": "publicstatic-0.7.3.zip", "has_sig": false, "md5_digest": "6effc40802dd42dbb4cb0ebd05bd59ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28848, "upload_time": "2013-10-05T09:23:22", "url": "https://files.pythonhosted.org/packages/97/25/a57bbfda5a895e54d417011151f5775f562e2546e90f888713799e1ed100/publicstatic-0.7.3.zip" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "688b18f59efff18bf9df31d315e5ba0f", "sha256": "08ab4ec31784f367b1829e991d079b3b325a797ba4c271f3a286a7a2814052d3" }, "downloads": -1, "filename": "publicstatic-0.7.5.tar.gz", "has_sig": false, "md5_digest": "688b18f59efff18bf9df31d315e5ba0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25737, "upload_time": "2013-12-09T09:25:54", "url": "https://files.pythonhosted.org/packages/44/fd/b6ad32ae959e11f4d9087fa7d2644b78434b69bf42ba5cc1d43085d87f9a/publicstatic-0.7.5.tar.gz" } ], "0.7.6": [ { "comment_text": "", "digests": { "md5": "ae5e11f29df656a2bea6093de88a0de8", "sha256": "24b2cb4ecea313cd66de7883cbaff26d51bfe36bda47213c406561bf4afaa1ab" }, "downloads": -1, "filename": "publicstatic-0.7.6.tar.gz", "has_sig": false, "md5_digest": "ae5e11f29df656a2bea6093de88a0de8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25732, "upload_time": "2013-12-09T09:27:31", "url": "https://files.pythonhosted.org/packages/ef/09/7f61cd7c79e506767c6340b07e4bcafa5eb82641928a8331d77541a855a2/publicstatic-0.7.6.tar.gz" } ], "0.7.6-p1": [ { "comment_text": "", "digests": { "md5": "20c2eb4996c84bcae9a53b80c00cc03a", "sha256": "da41790178c2a0d4d6ec0b79e3d40a79c95362895c633e58d114077328df547e" }, "downloads": -1, "filename": "publicstatic-0.7.6-p1.tar.gz", "has_sig": false, "md5_digest": "20c2eb4996c84bcae9a53b80c00cc03a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26129, "upload_time": "2013-12-09T17:28:02", "url": "https://files.pythonhosted.org/packages/d0/82/5f3e328ef03d75578ed8076bbfa90324acef1ed708a94862c2e6e7ecb538/publicstatic-0.7.6-p1.tar.gz" } ], "0.7.6-p3": [ { "comment_text": "", "digests": { "md5": "110597e688fc567e9e0f497736db450d", "sha256": "6ed1075af1c414596b3d832ccba8504aa69b47a8ba65f02859db871e93de6ce6" }, "downloads": -1, "filename": "publicstatic-0.7.6-p3.tar.gz", "has_sig": false, "md5_digest": "110597e688fc567e9e0f497736db450d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25611, "upload_time": "2013-12-13T12:57:05", "url": "https://files.pythonhosted.org/packages/32/7b/1a6eb96112622debffc0dd1d18b9fa59d08cb91f3b511d7155dcef5def09/publicstatic-0.7.6-p3.tar.gz" } ], "0.7.6-p4": [ { "comment_text": "", "digests": { "md5": "8ac3a5b78f69697da65ba8619eb736d7", "sha256": "bae9bb7440d8426669293c77054329c33452a63577423f842da5a42a314c3dfd" }, "downloads": -1, "filename": "publicstatic-0.7.6-p4.tar.gz", "has_sig": false, "md5_digest": "8ac3a5b78f69697da65ba8619eb736d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25623, "upload_time": "2013-12-13T12:58:10", "url": "https://files.pythonhosted.org/packages/cd/0e/f9989308846e794336f796841563ce98769c6f364a78c7e1b3d5fd6f7450/publicstatic-0.7.6-p4.tar.gz" } ], "0.7.7": [ { "comment_text": "", "digests": { "md5": "9d1b0e117d4bd41d844b1131adee07ae", "sha256": "a39a6539b026ac753d2c7a0e17ce4a6f9d0f30681da5ceb1183fcac26b7b0870" }, "downloads": -1, "filename": "publicstatic-0.7.7.tar.gz", "has_sig": false, "md5_digest": "9d1b0e117d4bd41d844b1131adee07ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26202, "upload_time": "2013-12-13T12:14:30", "url": "https://files.pythonhosted.org/packages/d4/6a/fb319aca649e90dd77d9f00ab03f04667e9043e48e727fb8d3aecfb09821/publicstatic-0.7.7.tar.gz" } ], "0.7.8": [ { "comment_text": "", "digests": { "md5": "fda0336f2916fb85815a5d38952331e0", "sha256": "bc51eb76046dbcd25b44eb8c126e86af96d1675f3f1389155fae222bc81517ea" }, "downloads": -1, "filename": "publicstatic-0.7.8.tar.gz", "has_sig": false, "md5_digest": "fda0336f2916fb85815a5d38952331e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25875, "upload_time": "2014-04-07T10:36:44", "url": "https://files.pythonhosted.org/packages/58/bf/8135ce5ef646e30d3a38c4f8a94a0dd40e6e43b7f5e53fc828326fea3d37/publicstatic-0.7.8.tar.gz" } ], "0.7.8.1": [ { "comment_text": "", "digests": { "md5": "0aadc76f400ed9db9a3e24a152990d98", "sha256": "9db21a97fb447fc630ce054678e5381d12e8e9e4c26720d9b9d11da7613a1c56" }, "downloads": -1, "filename": "publicstatic-0.7.8.1.tar.gz", "has_sig": false, "md5_digest": "0aadc76f400ed9db9a3e24a152990d98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35727, "upload_time": "2014-04-07T11:15:53", "url": "https://files.pythonhosted.org/packages/ea/b4/ceff5063169136fee19880fee6e955a746fad314079b281be34c756dd5ab/publicstatic-0.7.8.1.tar.gz" } ], "0.7.8.2": [ { "comment_text": "", "digests": { "md5": "ec2ccf842953bbb2e90be8f74770b396", "sha256": "b7dc855a2002a60754569c30a352fb064e5682dfffe9aa43b711753dc5e5432e" }, "downloads": -1, "filename": "publicstatic-0.7.8.2.tar.gz", "has_sig": false, "md5_digest": "ec2ccf842953bbb2e90be8f74770b396", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35725, "upload_time": "2014-04-07T11:23:19", "url": "https://files.pythonhosted.org/packages/44/42/9dd9c9526d1c5fbde0d93e8ef4eaeedc4995050ae7b1398e6714c079c4c2/publicstatic-0.7.8.2.tar.gz" } ], "0.7.8.3": [ { "comment_text": "", "digests": { "md5": "7b1ab2bfb1cb8d1c67ca5e199f101326", "sha256": "23d69ca046134d69ccead52f6b3615178a00d40e245bdaa53a4055d5c43bf784" }, "downloads": -1, "filename": "publicstatic-0.7.8.3.tar.gz", "has_sig": false, "md5_digest": "7b1ab2bfb1cb8d1c67ca5e199f101326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36438, "upload_time": "2014-04-07T12:46:13", "url": "https://files.pythonhosted.org/packages/d3/f1/35fab2c438458320371da7924c5348082e4a6a5399cdba7a24272ae2ec10/publicstatic-0.7.8.3.tar.gz" } ], "0.7.8.4": [ { "comment_text": "", "digests": { "md5": "1ac71cf9d01513f243896ec0b72245c4", "sha256": "b22938a21e3145b9ad650cf903814f0f50fc1a30e7d8cf00e187d2b6811756e9" }, "downloads": -1, "filename": "publicstatic-0.7.8.4.tar.gz", "has_sig": false, "md5_digest": "1ac71cf9d01513f243896ec0b72245c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36443, "upload_time": "2014-04-07T13:03:45", "url": "https://files.pythonhosted.org/packages/10/ef/6270c3a8b92acf7a76653c8ffda8caebbcddeda8b00b2705bcc76254ec1e/publicstatic-0.7.8.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1ac71cf9d01513f243896ec0b72245c4", "sha256": "b22938a21e3145b9ad650cf903814f0f50fc1a30e7d8cf00e187d2b6811756e9" }, "downloads": -1, "filename": "publicstatic-0.7.8.4.tar.gz", "has_sig": false, "md5_digest": "1ac71cf9d01513f243896ec0b72245c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36443, "upload_time": "2014-04-07T13:03:45", "url": "https://files.pythonhosted.org/packages/10/ef/6270c3a8b92acf7a76653c8ffda8caebbcddeda8b00b2705bcc76254ec1e/publicstatic-0.7.8.4.tar.gz" } ] }