{ "info": { "author": "Alex Nordlund", "author_email": "deep.alexander@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "Generate nice looking documents from your FIX repository.\n\n### Command-line interface\n\n`fix-parse [--base fixation/fix_repository_2010_edition_20140507] [--document] [--fiximate]`\n\n`--base` points to where you're storing your fix repository.\n\n`--document` generates a single-page document.html suitable for turning into a pdf.\n\n`--fiximate` generates fiximate-styled pages, suitable for online-publishing.\n\n### Using your own templates\n\nThe core of fixation is centered around Jinja2 templates, before you begin you should bookmark [http://jinja.pocoo.org/docs/2.10/templates/] contains well-written and easy to follow documentation on how to write templates.\n\nNow the easiest way to get started is to copy the templates/ folder into your current working directory, there are a few base templates which contain the generic structure and then more specific templates which extends the bases.\n\n### Writing templates\n\nIn the case of `--fiximate` you'll have a `repository` which will tell you what `type` you're handling, the `copyright` and `version`\n\nYou also have access to the Jinja2 filter `linkify` (which gives you a relative link to the item) and the tests `messages`, `field`, `component`, and `blacklist`/`whitelist` (with or without context).\n\nThe following is how messages.html uses linkify to generate links.\n\n```jinja2\n\n```\n\nThe following is from how messages.html check if something is a field or component.\n\n```jinja2\n{% if msgcontent is component %}\n```\n\nThe following example is from document.html and handles blacklisting/whitelisting with and without context.\n```jinja2\n{% if msgcontent is not blacklisted(message) %}\n{% if message is not blacklisted %}\n\n```\n\n### document-settings.json\n\nIf you want to blacklist or whitelist things there are two ways to do it, in the following example the StandardTrailer will be considered blacklisted in the context of message ResendRequest (2)\n\nAnything put in extra_data will be inserted into the document so the following example would let you use `{{ key }}` to access the list.\n\n```json\n{\n\"blacklist\": [\"0\", \"StandardHeader\"],\n\"ctx_blacklist\": { \"2\": [\"StandardTrailer\"] },\n\"extra_data\": { \"key\": [\"value1\", \"value2\"] }\n}\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/deepy/fixation", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "FIXation", "package_url": "https://pypi.org/project/FIXation/", "platform": "", "project_url": "https://pypi.org/project/FIXation/", "project_urls": { "Homepage": "https://gitlab.com/deepy/fixation" }, "release_url": "https://pypi.org/project/FIXation/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "FIX repository tool", "version": "0.0.4" }, "last_serial": 3982671, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "64afc044b0830ed016e5f167170a20af", "sha256": "a2c666c7df0bc594b4225db82dec98fe9456dfa5865bab635ee371ea6cf7cf29" }, "downloads": -1, "filename": "FIXation-0.0.1.tar.gz", "has_sig": false, "md5_digest": "64afc044b0830ed016e5f167170a20af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7522, "upload_time": "2018-06-10T16:05:42", "url": "https://files.pythonhosted.org/packages/d4/c7/3be771640dd025a5c056cf1df659290d63352c3077bf965e69de1cf32c2e/FIXation-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "30cfb22146237065dffe04c41434108d", "sha256": "8f06867c732dd832f86c91b8ec7134619ee0fbfdfee4907eff531a920a792c91" }, "downloads": -1, "filename": "FIXation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "30cfb22146237065dffe04c41434108d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8658, "upload_time": "2018-06-13T17:59:52", "url": "https://files.pythonhosted.org/packages/97/78/c8ab73aedff4fc85ca2ec8bd7b454542542683dc8c503764b65c6b625e1b/FIXation-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "87507032f21688ba974bb47633a5ccab", "sha256": "de0b4352a8239f7f61a13776760ec57f871faa4d81edd88260e93310a13efc82" }, "downloads": -1, "filename": "FIXation-0.0.3.tar.gz", "has_sig": false, "md5_digest": "87507032f21688ba974bb47633a5ccab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8781, "upload_time": "2018-06-20T13:51:42", "url": "https://files.pythonhosted.org/packages/c0/0c/ba95ace6bc09403e8bc01b1e691e942992f464cb65780c481649a3bf67c5/FIXation-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d67e83a0f5f22fcc54d1efb5d8bee930", "sha256": "3ecbe5d562902671e6383d84ea1e6059f08ffd74f5b78daf6d29e667f580a6dc" }, "downloads": -1, "filename": "FIXation-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d67e83a0f5f22fcc54d1efb5d8bee930", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8790, "upload_time": "2018-06-20T19:17:51", "url": "https://files.pythonhosted.org/packages/4c/0d/9a6db21aa6bcc6c6fd9316e2dbc47f11b87180cdee6fd4efbf6101a9553a/FIXation-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d67e83a0f5f22fcc54d1efb5d8bee930", "sha256": "3ecbe5d562902671e6383d84ea1e6059f08ffd74f5b78daf6d29e667f580a6dc" }, "downloads": -1, "filename": "FIXation-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d67e83a0f5f22fcc54d1efb5d8bee930", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8790, "upload_time": "2018-06-20T19:17:51", "url": "https://files.pythonhosted.org/packages/4c/0d/9a6db21aa6bcc6c6fd9316e2dbc47f11b87180cdee6fd4efbf6101a9553a/FIXation-0.0.4.tar.gz" } ] }