{ "info": { "author": "Filipe Regadas", "author_email": "filipe@regadas.org", "bugtrack_url": null, "classifiers": [], "description": "presstatic\n----------\n\nThis is a little CLI utility that helps deploying static websites to Amazon S3.\n\nUsage\n-----\n\n.. code-block:: shell\n\n\t$> pip install presstatic\n\n\t$> pstatic -h\n\n\tusage: presstatic [-h] [-http HOST:PORT] [-s3 bucket] directory\n\n\tpositional arguments:\n\t\tdirectory directory containing the static website.\n\n\toptional arguments:\n\t\t-h, --help show this help message and exit\n\t\t-http HOST:PORT creates an HTTP Server with as root dir.\n\t\t-s3 bucket deploy on the specified S3 bucket.\n \t\t\n* upload your website:\n\n.. code-block:: shell\n\n\t$> export AWS_ACCESS_KEY_ID=\n\n\t$> export AWS_SECRET_ACCESS_KEY=\n\n\t$> pstatic -s3 example.com ~/projects/example.com\n \t\n* preview your website while you develop it:\n\n\tAny change in files/directories will trigger the builder. Because of this and other reasons this http server is intended for development only.\n\n.. code-block:: shell\n\t\n\t$> pstatic -http ~/projects/example.com\n\n\nTemplates\n---------\n\nWe use the awesome `Jinja `_ template engine.\n\nAssets\n------\n\nWe are using `webassets `_ for asset bundling.\n\nIf you intend to use assets you need to add a configuration file (YAML) to your root project.\nPlease see the webassets docs to see for more details.\n\nHere's an example:\n\n.. code-block:: yaml\n\n\turl: /static\n\tdebug: True\n\tbundles:\n\t all_css:\n\t filters: yui_css\n\t output: static/css/packed.css\n\t contents:\n\t - static/css/style.css\n\t - static/css/jquery.fancybox.css\n\t all_js:\n\t filters: yui_js\n\t output: static/js/packed.js\n\t contents:\n\t - static/js/jquery-latest.min.js\n\t - static/js/jquery.fancybox.pack.js\n\t - static/js/app.js\n\nTODO\n----\n\n* Add Template support [DRAFT]\n* Add Asset support [DRAFT]\n* Add watcher support [DRAFT]\n* Upload only modified files [DONE]", "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/regadas/presstatic", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "presstatic", "package_url": "https://pypi.org/project/presstatic/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/presstatic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/regadas/presstatic" }, "release_url": "https://pypi.org/project/presstatic/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Deploy static websites to Amazon S3 easily.", "version": "0.1.0" }, "last_serial": 781133, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9e01e6be962036e9cbba766dc492d277", "sha256": "300feab23c1b56f50b4bcd40d07f57cd703927e3abe66551b4e2bb8a8fdac3de" }, "downloads": -1, "filename": "presstatic-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9e01e6be962036e9cbba766dc492d277", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4043, "upload_time": "2013-02-03T23:16:20", "url": "https://files.pythonhosted.org/packages/0f/9e/5379cda4a40acf8f1023b148be671698f782fc6ae783c370ce5a78b7fa7c/presstatic-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "499458a7a0310678be6653d01a5a794e", "sha256": "65de73455975c8330a130eeb270b2b20da98a19f0e10b8343db3c3934b341ab5" }, "downloads": -1, "filename": "presstatic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "499458a7a0310678be6653d01a5a794e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6486, "upload_time": "2013-02-08T22:02:16", "url": "https://files.pythonhosted.org/packages/37/91/5cd2b1cc135135136d22d1fc347da29b21fedae8ea8c578f507e5dd4d4ff/presstatic-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "499458a7a0310678be6653d01a5a794e", "sha256": "65de73455975c8330a130eeb270b2b20da98a19f0e10b8343db3c3934b341ab5" }, "downloads": -1, "filename": "presstatic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "499458a7a0310678be6653d01a5a794e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6486, "upload_time": "2013-02-08T22:02:16", "url": "https://files.pythonhosted.org/packages/37/91/5cd2b1cc135135136d22d1fc347da29b21fedae8ea8c578f507e5dd4d4ff/presstatic-0.1.0.tar.gz" } ] }