{ "info": { "author": "FOSS Galaxy", "author_email": "software@fossgalaxy.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3" ], "description": "J2static\n========\n\nAbout this project\n------------------\nThis project aims to unify a set of internally produced scripts for generating\nstatic content, choosing to standardise on the jinja2 templating engine.\n\nSimply put, this project aims to provide utilities to do the following:\n\n* Static site generation (for gitlab)\n* Generate customised summary documents based on submissions\n* Generate PDFs from CSV files and templates (mail merges)\n\nDevelopment\n-----------\nThe recommended way to develop the tools in the package is to use development\nmode of setup.py, this will create executables in your path which can be used\nto test changes.\n\n::\n\n ./setup.py develop --user\n\nWe're open to pull requests and feature requests, this should be done via our\ngitlab_ server.\n\nUsage\n-----\nThe project consits of two executables, j2static, the static site generator\nand j2merge, the mail merge tool.\n\nj2static executable\n...................\nj2static builds files stored in a directory named _templates/ using jinja2,\ngenerating output documents in site/. The tool will ignore any file that starts\nwith an underscore, allowing for the creation of templates.\n\nj2static can also act as a webserver for local testing. In this mode the server\nwill not generate output documents on disk, but will instead generate and send \nthem to the browser 'on the fly'. This is useful if you have javascript on\nyour site and don't want to fall foul of the browser's security settings when\ntesting with local files.\n\n::\n\n j2static build # use templates in the _templates/ directory to build the site\n j2static serve # start a webserver on localhost (for development)\n\n\nj2merge executable\n..................\nj2merge is a 'mail merge' tool for combining csv files with a template document\nthis is useful for producing reports or personalised documents. This can be\noptionally combined with a LaTeX distrubtion to generate PDFs.\n\nj2merge assumes that the csv file provided has headers and contains a row named\nid which will be used for the resulting filenames. The data for each row will\nbe available in the template as the variable row.\n\n::\n\n j2merge data.csv # combine data.csv and base.html to generate documents\n j2merge data.csv -out pdf # combine data.csv and base.tex to generate pdfs\n\n.. _gitlab: https://git.fossgalaxy.com\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.fossgalaxy.com", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "j2static", "package_url": "https://pypi.org/project/j2static/", "platform": "", "project_url": "https://pypi.org/project/j2static/", "project_urls": { "Homepage": "https://www.fossgalaxy.com" }, "release_url": "https://pypi.org/project/j2static/0.2.3/", "requires_dist": [ "jinja2" ], "requires_python": "", "summary": "static templating engine", "version": "0.2.3" }, "last_serial": 5003125, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "72335ef6412aa8f58916ae3193832214", "sha256": "1a8665ce1074fa80f323dcf7e803ee940248c46764f64d4e7699a50fda44a388" }, "downloads": -1, "filename": "j2static-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "72335ef6412aa8f58916ae3193832214", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8584, "upload_time": "2018-04-12T16:02:07", "url": "https://files.pythonhosted.org/packages/88/4a/5e5213506dc2aaf4ec11eb6bd4b5d680713337cfd63c30b48421db3d633f/j2static-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5776a8b1779da1aaf69278dfc43d5564", "sha256": "6f046257224155a75861a49bea4b599d393310e931d5d6f24a8a5559dda31ff8" }, "downloads": -1, "filename": "j2static-0.1.tar.gz", "has_sig": false, "md5_digest": "5776a8b1779da1aaf69278dfc43d5564", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5492, "upload_time": "2018-04-12T16:02:08", "url": "https://files.pythonhosted.org/packages/5e/f7/dc718c68827b286ecd211860beead99935cbaccf131b9e7d2e18c4d0ca93/j2static-0.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "0658d7ddad9fee4bd108cc391f0996b4", "sha256": "9280069ea3699b021d9e09b85680821981eb9808c09514e6a61644194bfbb646" }, "downloads": -1, "filename": "j2static-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0658d7ddad9fee4bd108cc391f0996b4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10619, "upload_time": "2018-04-13T13:00:46", "url": "https://files.pythonhosted.org/packages/48/74/046eae0a3887a1bf9beb9c7377fe22312dc9a3668eb2675afc15976735bd/j2static-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "db5cb2e2ead3529a65e95a871ea0d4eb", "sha256": "f2b33390e3503f1352818b99c4ae162d4954f5d4193c0c5c96396a174bec846f" }, "downloads": -1, "filename": "j2static-0.2.1.tar.gz", "has_sig": false, "md5_digest": "db5cb2e2ead3529a65e95a871ea0d4eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7617, "upload_time": "2018-04-13T13:00:47", "url": "https://files.pythonhosted.org/packages/46/24/deff1624c2ffb1ae363f7b66b6588ebe3a90082d419fce78eee1791521d9/j2static-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "29b6af3fc00dd76f09e708daf7efb4a3", "sha256": "9124ccdc23a1c9d20af23f2e9ee7875c1d4d529a9b664629bec5a576dfe406f1" }, "downloads": -1, "filename": "j2static-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "29b6af3fc00dd76f09e708daf7efb4a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8865, "upload_time": "2018-07-02T21:28:40", "url": "https://files.pythonhosted.org/packages/84/50/6bdc6cb2043c9bfb57cabb5aff1dece2e8c3cb33727d44a9b509b3213e7c/j2static-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1963faf93f4266abaf9be3b2b43cbc21", "sha256": "90f738637ecc85de46681c40da44eb64715233a737adb2aeb723ea9f427ea769" }, "downloads": -1, "filename": "j2static-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1963faf93f4266abaf9be3b2b43cbc21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7025, "upload_time": "2018-07-02T21:28:41", "url": "https://files.pythonhosted.org/packages/85/76/69acd961017241c024098f3ba15920e079cd5e6cef1a49ac3184b72243e1/j2static-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "470f2ce88cc4a64cb9f3a443041a4439", "sha256": "e844cc19db7ac8ae94540e290dc01ae700e18d2812ae7f0e75537ea7e21f1af3" }, "downloads": -1, "filename": "j2static-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "470f2ce88cc4a64cb9f3a443041a4439", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8900, "upload_time": "2019-03-29T12:55:33", "url": "https://files.pythonhosted.org/packages/7f/42/ca0cc8c36a4cecea67a63ead280315df5c17773bbac80e402568b1069c18/j2static-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e116c084c5e2b0a5c6f8297b8768d186", "sha256": "f306566adb17d24d5835644ecc8a15df48eef8dda794ccca18d159a5dfec685f" }, "downloads": -1, "filename": "j2static-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e116c084c5e2b0a5c6f8297b8768d186", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6958, "upload_time": "2019-03-29T12:55:34", "url": "https://files.pythonhosted.org/packages/d0/63/37f1fda44550c0c5a5f64c0e770d47f9d6de1da29a2daf6443a112c1299a/j2static-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "470f2ce88cc4a64cb9f3a443041a4439", "sha256": "e844cc19db7ac8ae94540e290dc01ae700e18d2812ae7f0e75537ea7e21f1af3" }, "downloads": -1, "filename": "j2static-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "470f2ce88cc4a64cb9f3a443041a4439", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8900, "upload_time": "2019-03-29T12:55:33", "url": "https://files.pythonhosted.org/packages/7f/42/ca0cc8c36a4cecea67a63ead280315df5c17773bbac80e402568b1069c18/j2static-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e116c084c5e2b0a5c6f8297b8768d186", "sha256": "f306566adb17d24d5835644ecc8a15df48eef8dda794ccca18d159a5dfec685f" }, "downloads": -1, "filename": "j2static-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e116c084c5e2b0a5c6f8297b8768d186", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6958, "upload_time": "2019-03-29T12:55:34", "url": "https://files.pythonhosted.org/packages/d0/63/37f1fda44550c0c5a5f64c0e770d47f9d6de1da29a2daf6443a112c1299a/j2static-0.2.3.tar.gz" } ] }