{ "info": { "author": "Tim Burnham", "author_email": "timrburnham@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/timrburnham/bom_open.svg?branch=master)](https://travis-ci.org/timrburnham/bom_open) [![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)\n\nPython 3 context manager to open a file or stdio. When reading in text mode, encoding can be detected with chardet. When reading Unicode, always chooses an encoding which removes Byte Order Mark (utf-8-sig, utf-16 or utf-32).\n\nAdditional arguments are passed to `open()`.\n\nPython writes a Byte Order Mark for utf-8-sig, utf-16, or utf-32. Python does not write BOM when endianness is specified.\n\nDifferences from `open()`\n-------------------------\nIf `file=None` or `'-'`, open stdin (when reading) or stdout (when writing).\n\nIf `encoding=None` and `mode` is readable and text mode ('r' or 'w+'),\nfile encoding will be detected using chardet.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/timrburnham/bom_open", "keywords": "", "license": "unlicense.org", "maintainer": "", "maintainer_email": "", "name": "bom-open", "package_url": "https://pypi.org/project/bom-open/", "platform": "", "project_url": "https://pypi.org/project/bom-open/", "project_urls": { "Homepage": "https://github.com/timrburnham/bom_open" }, "release_url": "https://pypi.org/project/bom-open/0.4/", "requires_dist": null, "requires_python": ">=3.4", "summary": "Context manager to open encoded text file or stdin/stdout", "version": "0.4" }, "last_serial": 5629655, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "36fd751a51564b58cba67726399397ba", "sha256": "099c3fecfcbc82dc3f4bb1bd04ca4e2ddeb69385e0b18b0c75663debaba23ae6" }, "downloads": -1, "filename": "bom_open-0.1.2.tar.gz", "has_sig": false, "md5_digest": "36fd751a51564b58cba67726399397ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2196, "upload_time": "2018-03-18T19:50:28", "url": "https://files.pythonhosted.org/packages/72/78/cde2a700ace6ab494fa6766055d6f16b23abd1b65080967a8030b5ca7722/bom_open-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3926a2c0734db7fe905f9e46470372d1", "sha256": "d869cbb9032e8c73632347fdeb96922c9f80f68eb571ca0524e41690cd0b4b7a" }, "downloads": -1, "filename": "bom_open-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3926a2c0734db7fe905f9e46470372d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2439, "upload_time": "2018-03-19T04:02:23", "url": "https://files.pythonhosted.org/packages/fb/24/038c107271cd876ec7f79262f59072ec00ee1b1e2c0c69aff45d3b3cbc62/bom_open-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6aa162be3a3224ab16b0263700561b94", "sha256": "9dc8f9bef42731a6ecfda49a8a2ee587c2b0de21751470b7cb60044026ef2cb5" }, "downloads": -1, "filename": "bom_open-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6aa162be3a3224ab16b0263700561b94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2617, "upload_time": "2018-03-24T03:04:00", "url": "https://files.pythonhosted.org/packages/7a/a2/7b9e141870264a8b7fe32ec0af897f57ab44db6f3a22f93889b8a996c688/bom_open-0.3.0.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ec03d324ca76c8f843dab45129ebc63e", "sha256": "4ec0e0c09615cc990e2a05281bc4748672cf17fe7f0dbcce5203d84a28840a8b" }, "downloads": -1, "filename": "bom_open-0.3.2.tar.gz", "has_sig": false, "md5_digest": "ec03d324ca76c8f843dab45129ebc63e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2687, "upload_time": "2018-04-08T00:16:48", "url": "https://files.pythonhosted.org/packages/c5/1c/c3ac0f50ade12149b96252abda3aefff04ebd8af949acca3adc3cb81e34d/bom_open-0.3.2.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "13406da20db224d28b3dfc33f46566af", "sha256": "b295c33c2c339e65c3853843d63d1c973e3093f238991c19947298722de633b5" }, "downloads": -1, "filename": "bom_open-0.3.4.tar.gz", "has_sig": false, "md5_digest": "13406da20db224d28b3dfc33f46566af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2615, "upload_time": "2018-04-08T02:10:24", "url": "https://files.pythonhosted.org/packages/c4/53/1b4c2250c00b51064ffd000b6536aa20a16e4469d1b894ddababaff8f8ac/bom_open-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "3e381475d878de3bb459719dab4022e2", "sha256": "d956ddecfa2880f273d6d4b4d49b7b21f9c915c24a8b11545c05ca92bb0fe624" }, "downloads": -1, "filename": "bom_open-0.3.5.tar.gz", "has_sig": false, "md5_digest": "3e381475d878de3bb459719dab4022e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2612, "upload_time": "2018-04-08T02:13:37", "url": "https://files.pythonhosted.org/packages/5f/58/c43ff36e0d239e8ca5b8814dd58088e173604a7a3557ce8a1c514ef5d53f/bom_open-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "baf22cfb9f9ce1353bd3a2f9ab84013e", "sha256": "9e2238eab986f4810cc3e864e87679ee226b1ff1045f1531ed8ad9a78390338f" }, "downloads": -1, "filename": "bom_open-0.3.6.tar.gz", "has_sig": false, "md5_digest": "baf22cfb9f9ce1353bd3a2f9ab84013e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2615, "upload_time": "2018-04-08T02:19:58", "url": "https://files.pythonhosted.org/packages/b7/b4/ba565e84d7026fb2caff07934d41d6f5a3d0d128e7906ff2ce12dab6f07d/bom_open-0.3.6.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "69ee68035138c80478a6d79b427b8e13", "sha256": "fad1a0ff4e1cc7c5d91ffcbaa98e4dd0131466ff88f3542c4052d17813ce8322" }, "downloads": -1, "filename": "bom_open-0.4.tar.gz", "has_sig": false, "md5_digest": "69ee68035138c80478a6d79b427b8e13", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3148, "upload_time": "2019-08-04T03:18:41", "url": "https://files.pythonhosted.org/packages/7e/a7/04b8d3909c99af3a416fe1c637c2e91920abc599e6f701d88846503f0237/bom_open-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "69ee68035138c80478a6d79b427b8e13", "sha256": "fad1a0ff4e1cc7c5d91ffcbaa98e4dd0131466ff88f3542c4052d17813ce8322" }, "downloads": -1, "filename": "bom_open-0.4.tar.gz", "has_sig": false, "md5_digest": "69ee68035138c80478a6d79b427b8e13", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3148, "upload_time": "2019-08-04T03:18:41", "url": "https://files.pythonhosted.org/packages/7e/a7/04b8d3909c99af3a416fe1c637c2e91920abc599e6f701d88846503f0237/bom_open-0.4.tar.gz" } ] }