{ "info": { "author": "Anson Biggs", "author_email": "anson@ansonbiggs.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7" ], "description": "# .bdf to NumPy\n\nThis project takes a .bdf file and turns it into a [NumPy](https://www.numpy.org/) Array with an intended use with LED matrix displays. My [LED Stock Ticker](https://gitlab.com/them-boys/raspberry-pi-stock-ticker) uses this package. A good list of .bdf files can be found [here](https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/fonts)\n\n## Usage\n\n```python\nfrom bdfparse import Font\n\nfont = Font('9x18.bdf')\n\nprint(font.word('Hi'))\n```\n\nWhich outputs:\n\n```python\n[[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0]\n [0 0 1 1 1 1 1 1 1 0 0 0 0 0 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0]\n [0 0 1 0 0 0 0 0 1 0 0 0 1 1 1 1 1 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]]\n```\n\nOr you can use matplotlib to make the output a bit prettier.\n\n```python\nimport matplotlib.pyplot as plt\n\nplt.imshow(font.word('Anson'))\n```\n\n![Example of code output that reads Anson.](example.png)\n\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/MisterBiggs/bdfparse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "bdfparse", "package_url": "https://pypi.org/project/bdfparse/", "platform": "", "project_url": "https://pypi.org/project/bdfparse/", "project_urls": { "Homepage": "https://gitlab.com/MisterBiggs/bdfparse" }, "release_url": "https://pypi.org/project/bdfparse/2019.8/", "requires_dist": null, "requires_python": "", "summary": "A package for reading .bdf files into NumPy arrays.", "version": "2019.8" }, "last_serial": 5554331, "releases": { "2019.5": [ { "comment_text": "", "digests": { "md5": "e556f6a1cd00bb9304f0e16041ddaa34", "sha256": "7f6648cadf7f0c5d0ef21b816fbd2212ecc781173084aa2020c13d9a98ec214d" }, "downloads": -1, "filename": "bdfparse-2019.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e556f6a1cd00bb9304f0e16041ddaa34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2450, "upload_time": "2019-07-17T06:58:44", "url": "https://files.pythonhosted.org/packages/29/16/79a8e4a7ba68c5366d7f5c72482cbd881a177703a8dcdedd2694a138dd8c/bdfparse-2019.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43a0dc56b8779c1ce5ca593829e65c20", "sha256": "9aa226ae9b62f62063fd7f5978fc8778ed26d348bdb4604b457929163adbcb10" }, "downloads": -1, "filename": "bdfparse-2019.5.tar.gz", "has_sig": false, "md5_digest": "43a0dc56b8779c1ce5ca593829e65c20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1578, "upload_time": "2019-07-17T06:58:47", "url": "https://files.pythonhosted.org/packages/f6/79/0c128c255124b837299b570b82a9e7bf9b313e4b54d07f3ac914435be4d5/bdfparse-2019.5.tar.gz" } ], "2019.5.1": [ { "comment_text": "", "digests": { "md5": "67fd7bebcf11af6c46689a899a092799", "sha256": "64054a9e255b5f290195bae9af45407f549112946b7be9282810ea713be80c15" }, "downloads": -1, "filename": "bdfparse-2019.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "67fd7bebcf11af6c46689a899a092799", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2469, "upload_time": "2019-07-17T07:14:29", "url": "https://files.pythonhosted.org/packages/01/41/9ee632bc460c065c7621ff56a78aa9d47aa3e8ed9457d471980bd44d8e8c/bdfparse-2019.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "07d2c68d32a2a79b3fb8af052573ae97", "sha256": "ab28191e231279c82c5d64f8cd8a5ba9793bdfc3aac9abab41b2fc7217ceb10f" }, "downloads": -1, "filename": "bdfparse-2019.5.1.tar.gz", "has_sig": false, "md5_digest": "07d2c68d32a2a79b3fb8af052573ae97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1581, "upload_time": "2019-07-17T07:14:31", "url": "https://files.pythonhosted.org/packages/76/2a/86db65df9425bb24eb2969043f8eb147a18b28076efa47c9bb3a0ae71954/bdfparse-2019.5.1.tar.gz" } ], "2019.5.2": [ { "comment_text": "", "digests": { "md5": "70c9c7a217b59e4bd897f32d43326ac7", "sha256": "4d331ebf9cba16440a72d24c4da9a2668f759e35967086339a91064cdaa2a406" }, "downloads": -1, "filename": "bdfparse-2019.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "70c9c7a217b59e4bd897f32d43326ac7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4085, "upload_time": "2019-07-17T07:19:53", "url": "https://files.pythonhosted.org/packages/d6/5f/ef764feccd7a5959df5834e4867f94b193ebf2e1555490277eb979cbdcce/bdfparse-2019.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad041562398b383a4ccb7e3a78ad4d7f", "sha256": "284a537b4322beb736920c19df96f045f1db23215b96fca025eaa1d4fd065a23" }, "downloads": -1, "filename": "bdfparse-2019.5.2.tar.gz", "has_sig": false, "md5_digest": "ad041562398b383a4ccb7e3a78ad4d7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2909, "upload_time": "2019-07-17T07:19:55", "url": "https://files.pythonhosted.org/packages/ae/a2/d1539adfa26eefa27fe734a4c0e6fa8c6909773240d9377ed8abb8f156ec/bdfparse-2019.5.2.tar.gz" } ], "2019.6": [ { "comment_text": "", "digests": { "md5": "9e8dc3054eeaeaa6e60a91fcb1e8108b", "sha256": "df4734633f27035018656f3188ee098f0bcb6297ef79811024362effd0f2d966" }, "downloads": -1, "filename": "bdfparse-2019.6-py3-none-any.whl", "has_sig": false, "md5_digest": "9e8dc3054eeaeaa6e60a91fcb1e8108b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4061, "upload_time": "2019-07-17T07:25:45", "url": "https://files.pythonhosted.org/packages/1d/e2/6b2607b51eba3430ec58fba7c51d72cc5ceb7f1d30983171f5601a85296a/bdfparse-2019.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "262b1fe9d9ff30eb554ac3c59c2a7192", "sha256": "4ab3c47bf88ab6f07ded0c68c899c1c3b52c153f3f4d2233865263bd1f5874ff" }, "downloads": -1, "filename": "bdfparse-2019.6.tar.gz", "has_sig": false, "md5_digest": "262b1fe9d9ff30eb554ac3c59c2a7192", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2905, "upload_time": "2019-07-17T07:25:49", "url": "https://files.pythonhosted.org/packages/5d/6e/745fa6ba9583423a5b3803c8d4a82b10065a7276850f3467c4be64632f64/bdfparse-2019.6.tar.gz" } ], "2019.7": [ { "comment_text": "", "digests": { "md5": "13619972c9920750f1318fb32e2bef58", "sha256": "6b26851b5dc0e30df732e131cd493684dd3acd5424ca9ca47f0d3444b06d8afd" }, "downloads": -1, "filename": "bdfparse-2019.7-py3-none-any.whl", "has_sig": false, "md5_digest": "13619972c9920750f1318fb32e2bef58", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4493, "upload_time": "2019-07-18T21:29:15", "url": "https://files.pythonhosted.org/packages/4d/3a/252c5394bf64df3615423d436af90492ad1f1fc81ad84fcec7ca24136da8/bdfparse-2019.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d01d4f3e644a169f29fbcb285f89167c", "sha256": "812eccaa2d93c0fd07f3316b241e9a5e5993b4edf5682a807ac3f62e94811d4c" }, "downloads": -1, "filename": "bdfparse-2019.7.tar.gz", "has_sig": false, "md5_digest": "d01d4f3e644a169f29fbcb285f89167c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3076, "upload_time": "2019-07-18T21:29:17", "url": "https://files.pythonhosted.org/packages/b0/5c/42036a22184c77ad090624823bbdda3779dcbfbdd6c226f1b414940419a7/bdfparse-2019.7.tar.gz" } ], "2019.8": [ { "comment_text": "", "digests": { "md5": "a42f720edc7a848bbd36f3fbfe975912", "sha256": "608894693dd8a44950659c09568a471bb3034aa4165f6a4fb35a7537a9e10572" }, "downloads": -1, "filename": "bdfparse-2019.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a42f720edc7a848bbd36f3fbfe975912", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4508, "upload_time": "2019-07-19T02:48:05", "url": "https://files.pythonhosted.org/packages/3e/18/31a211d32fa1961035aa5693e0d1732c8ba56d4bf0c2a7cd0a991b952e78/bdfparse-2019.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a3a8b9c6c35b76d38fda6f62cf23852", "sha256": "130dfd1afd2dc113431623a982f292dde758e8d988f4bee5ee59e87800f03616" }, "downloads": -1, "filename": "bdfparse-2019.8.tar.gz", "has_sig": false, "md5_digest": "1a3a8b9c6c35b76d38fda6f62cf23852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3089, "upload_time": "2019-07-19T02:48:08", "url": "https://files.pythonhosted.org/packages/cf/93/f2823937427a0ef387dd087eae19e5111232c9453b9d478c7ae9fdc016c2/bdfparse-2019.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a42f720edc7a848bbd36f3fbfe975912", "sha256": "608894693dd8a44950659c09568a471bb3034aa4165f6a4fb35a7537a9e10572" }, "downloads": -1, "filename": "bdfparse-2019.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a42f720edc7a848bbd36f3fbfe975912", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4508, "upload_time": "2019-07-19T02:48:05", "url": "https://files.pythonhosted.org/packages/3e/18/31a211d32fa1961035aa5693e0d1732c8ba56d4bf0c2a7cd0a991b952e78/bdfparse-2019.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a3a8b9c6c35b76d38fda6f62cf23852", "sha256": "130dfd1afd2dc113431623a982f292dde758e8d988f4bee5ee59e87800f03616" }, "downloads": -1, "filename": "bdfparse-2019.8.tar.gz", "has_sig": false, "md5_digest": "1a3a8b9c6c35b76d38fda6f62cf23852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3089, "upload_time": "2019-07-19T02:48:08", "url": "https://files.pythonhosted.org/packages/cf/93/f2823937427a0ef387dd087eae19e5111232c9453b9d478c7ae9fdc016c2/bdfparse-2019.8.tar.gz" } ] }