{ "info": { "author": "Kazuki Yamamoto", "author_email": "k.yamamoto.08136891@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# bitfieldpy\nPython3 porting of [bitfield](https://github.com/drom/bitfield) with all respect\nto the original designer.\n\n`python3 bitfield.py bitfield.json > bitfield.svg`\n\nThe library works exactly same as original program, except some of command line options.\n\n- Added `-s/--svg` to output to a file in addition with redirecting(`>`)\n- More strict to JSON format\n\n# Install\nThe library requires svgwrite and attrdict libraries.\n\n- `pip3 install bitfieldpy`(install archive from pypi)\n- `pip3 install git+https://github.com/K4zuki/bitfieldpy.git`(edge/developing version)\n\n# Options\n\n```\nusage: bitfieldpy.py [-h] [--input INPUT] [--svg SVG] [--vspace VSPACE]\n [--hspace HSPACE] [--lanes LANES] [--bits BITS]\n [--font-family FONT_FAMILY] [--font-weight FONT_WEIGHT]\n [--font-size FONT_SIZE]\n\nbitfield clone in python(experimental)\n\noptional arguments:\n -h, --help show this help message and exit\n --input INPUT, -i INPUT\n \n --svg SVG, -s SVG \n --vspace VSPACE, -V VSPACE\n height per lane in px\n --hspace HSPACE, -H HSPACE\n width per lane in px\n --lanes LANES, -L LANES\n number of lane\n --bits BITS, -B BITS total bitwidth\n --font-family FONT_FAMILY, -F FONT_FAMILY\n font family for all texts\n --font-weight FONT_WEIGHT, -W FONT_WEIGHT\n font weight\n --font-size FONT_SIZE, -S FONT_SIZE\n font size\n```\n\n| parameter | optional | purpose | default |\n|---------------------------|----------|---------------------------|--------------|\n| `--input`/`-i` | **N** | input file name | |\n| `--svg`/`-s` | **N** | output file name | |\n| `--vspace`/`-V` | Y | height per lane in px | 80 |\n| `--hspace`/`-H` | Y | width per lane in px | 640 |\n| `--lanes`/`-L` | Y | number of lanes | 2 |\n| `--bits`/`-B` | Y | total bit width | 32 |\n| `--font-family`/`-F` | Y | font family for all texts | \"sans-serif\" |\n| `--font-font_weight`/`-W` | Y | font weight | \"normal\" |\n| `--font-size`/`-S` | Y | font size | 14 |\n\n![Example](tests/images/bits.svg)\n\n# License\n**MIT License (c) 2018 Kazuki Yamamoto**", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/K4zuki/bitfieldpy", "keywords": "svg", "license": "", "maintainer": "", "maintainer_email": "", "name": "bitfieldpy", "package_url": "https://pypi.org/project/bitfieldpy/", "platform": "", "project_url": "https://pypi.org/project/bitfieldpy/", "project_urls": { "Homepage": "https://github.com/K4zuki/bitfieldpy" }, "release_url": "https://pypi.org/project/bitfieldpy/0.0.9/", "requires_dist": null, "requires_python": "", "summary": "Python3 porting of bitfield(https://github.com/drom/bitfield) with all respect", "version": "0.0.9" }, "last_serial": 4603114, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "76f4193328cc74ed34c2da3218c08453", "sha256": "1a9f7c3d4841fdb344d948e0644fdf225fe647c85643a64e863bad191e999809" }, "downloads": -1, "filename": "bitfieldpy-0.0.1-py3.6.egg", "has_sig": false, "md5_digest": "76f4193328cc74ed34c2da3218c08453", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 8574, "upload_time": "2018-01-21T17:23:10", "url": "https://files.pythonhosted.org/packages/28/fb/f95a574de79db76f3fc5e21c24f92a6ba5f4fe922781eace7cbf9d465498/bitfieldpy-0.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "c94aab13d991118ae9833393d0bf5477", "sha256": "a103bfc6a68d2061825f2be7c0e09bcdcba699f465c64cf8885ca30e5de339e1" }, "downloads": -1, "filename": "bitfieldpy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c94aab13d991118ae9833393d0bf5477", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6860, "upload_time": "2018-01-21T17:23:12", "url": "https://files.pythonhosted.org/packages/d3/66/4e504e49ea4907e105288bce16cf2f6a4c553810bac86a0d7f7b7ce7c835/bitfieldpy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0efebdf983795b9ae258a94ca98a10a2", "sha256": "7485dcec7a9ff3083a7a4c37b88814fa4c328bbfcafea7ee0afa5704da85b726" }, "downloads": -1, "filename": "bitfieldpy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0efebdf983795b9ae258a94ca98a10a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6262, "upload_time": "2018-01-22T11:08:35", "url": "https://files.pythonhosted.org/packages/4d/68/4c9a3232bf61c7735098d4c99cb0ebce22344a60b5f6b7a8f020fb9ebe10/bitfieldpy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "862460f06b49fc9a6ca7f26f49dd904a", "sha256": "151654d7e6f5e8d460a5635236611949dc081030e2ef90b21516810bb81e0813" }, "downloads": -1, "filename": "bitfieldpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "862460f06b49fc9a6ca7f26f49dd904a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6274, "upload_time": "2018-10-12T01:40:18", "url": "https://files.pythonhosted.org/packages/4c/a3/6da59ffa9b2769f66feba4f26277903460b00f052c4994ce1ebc40d49ae0/bitfieldpy-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "b695165f76bbbc0f1de81e7c011b6246", "sha256": "55368b975994856930fdac7dced98ee88aac70c1f6c2da4b96e598ff59e789af" }, "downloads": -1, "filename": "bitfieldpy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b695165f76bbbc0f1de81e7c011b6246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6432, "upload_time": "2018-10-12T13:54:49", "url": "https://files.pythonhosted.org/packages/30/43/e0ca7ebecc9feb8664e4ca51f6df825b2271ba839afd9fd643aa841b8d06/bitfieldpy-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f0eba86247a889a2c98c0004fdeab697", "sha256": "a7f79f4992dc6282577d07474478696c95ed50e00b8cbc26ecdae84727c25800" }, "downloads": -1, "filename": "bitfieldpy-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f0eba86247a889a2c98c0004fdeab697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6590, "upload_time": "2018-10-15T13:42:33", "url": "https://files.pythonhosted.org/packages/5a/fa/efbdae649aa84b2719c448eec16e2b27fbe32b258134e4277c5b070a35d2/bitfieldpy-0.0.5.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "2a933b4ca07e300c65acc1f4f0e656de", "sha256": "af2e5f874e20372ee5fb31a627a3501d2447b1ddd489018adfc5d3e787136149" }, "downloads": -1, "filename": "bitfieldpy-0.0.7.tar.gz", "has_sig": false, "md5_digest": "2a933b4ca07e300c65acc1f4f0e656de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10360, "upload_time": "2018-11-18T09:19:26", "url": "https://files.pythonhosted.org/packages/f6/f7/3fdba55e6397992328fc00830ccb7954215aaa84e6f6ac7b7c5f7e398ade/bitfieldpy-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "172e0d288b7a6613fc00b42b0fbb623c", "sha256": "6f3d83022f6c6041c2e333617f6e6360e82def46534996ecfe646e3de9f835cf" }, "downloads": -1, "filename": "bitfieldpy-0.0.8.tar.gz", "has_sig": false, "md5_digest": "172e0d288b7a6613fc00b42b0fbb623c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10497, "upload_time": "2018-11-19T14:15:17", "url": "https://files.pythonhosted.org/packages/3a/71/696a318acf00f75bf786c9baaadec6c4d064ca7e5e3c7b554263cf003e40/bitfieldpy-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "5f77a25594038ea5f57524b066380e78", "sha256": "fec6c9c07346d6f24b770add1cf1d34d074fb913df47d3c850d632b8b3c9cf9b" }, "downloads": -1, "filename": "bitfieldpy-0.0.9.tar.gz", "has_sig": false, "md5_digest": "5f77a25594038ea5f57524b066380e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10720, "upload_time": "2018-12-15T17:10:49", "url": "https://files.pythonhosted.org/packages/8b/8e/535098c660f34df256c8d54dc45095274e39602b899a3c4eeb022a48ed81/bitfieldpy-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5f77a25594038ea5f57524b066380e78", "sha256": "fec6c9c07346d6f24b770add1cf1d34d074fb913df47d3c850d632b8b3c9cf9b" }, "downloads": -1, "filename": "bitfieldpy-0.0.9.tar.gz", "has_sig": false, "md5_digest": "5f77a25594038ea5f57524b066380e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10720, "upload_time": "2018-12-15T17:10:49", "url": "https://files.pythonhosted.org/packages/8b/8e/535098c660f34df256c8d54dc45095274e39602b899a3c4eeb022a48ed81/bitfieldpy-0.0.9.tar.gz" } ] }