{ "info": { "author": "CrescentApricot", "author_email": "anzu-noreply@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2017 CrescentApricot\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDescription: # lz4unipy\n \n ## \u6982\u8981\n \n `lz4unipy` \u306f `unity-lz4` \u4e92\u63db\u306e\u5c55\u958b/\u5727\u7e2e\u3092\u884c\u3046\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3068\u7c21\u6613\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\n \n ## \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n \n ```bash\n pip3 install lz4unipy\n ```\n \n ## \u4f7f\u3044\u65b9\n \n ### \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\n \n ```bash\n lz4unipy [-h] [--dir DIR] infile [infile ...]\n ```\n \n \u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3088\u308a\u81ea\u52d5\u7684\u306b\u52d5\u4f5c\u30e2\u30fc\u30c9\u3092\u3001\u30d1\u30b9\u3088\u308a\u81ea\u52d5\u7684\u306b\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\n \n ### \u30e9\u30a4\u30d6\u30e9\u30ea\n \n ```python\n import lz4unipy\n \n with open(\"target_file.unity3d.lz4\", \"rb\") as f:\n data = f.read()\n if lz4unipy.is_compressed(data):\n with open(\"target_file.unity3d\", \"wb\") as w:\n w.write(lz4unipy.decompress(data))\n \n with open(\"target_file.unity3d\", \"rb\") as f:\n data = f.read()\n if not lz4unipy.is_compressed(data):\n with open(\"target_file.unity3d.lz4\", \"wb\") as w:\n w.write(lz4unipy.compress(data))\n ```\n \n ## \u30c6\u30b9\u30c8\n \n ```bash\n git clone git@github.com/CrescentApricot/lz4unipy.git\n cd lz4unipy\n python3 setup.py test\n ```\n \n ### \u8b1d\u8f9e\n \u30c6\u30b9\u30c8\u7528\u30d5\u30a1\u30a4\u30eb [sample.png](/tests/sample.png) \u306b\u306f\u30d0\u30f3\u30c0\u30a4\u30ca\u30e0\u30b3\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30f3\u30e1\u30f3\u30c8\u682a\u5f0f\u4f1a\u793e\u306e\u63d0\u4f9b\u3059\u308b\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u5411\u3051\u30ea\u30ba\u30e0\u30b2\u30fc\u30e0\u3001[\u30a2\u30a4\u30c9\u30eb\u30de\u30b9\u30bf\u30fc\u30df\u30ea\u30aa\u30f3\u30e9\u30a4\u30d6\uff01 \u30b7\u30a2\u30bf\u30fc\u30c7\u30a4\u30ba](https://millionlive.idolmaster.jp/theaterdays/)\u306e\u30b2\u30fc\u30e0\u5185\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5834\u3092\u501f\u308a\u3066\u304a\u793c\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002\n \nPlatform: UNKNOWN\nClassifier: Programming Language :: Python :: 3\nClassifier: Development Status :: 4 - Beta\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Topic :: System :: Archiving :: Compression\nClassifier: Topic :: Software Development :: Libraries :: Python Modules\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CrescentApricot/lz4unipy", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "lz4unipy", "package_url": "https://pypi.org/project/lz4unipy/", "platform": "", "project_url": "https://pypi.org/project/lz4unipy/", "project_urls": { "Homepage": "https://github.com/CrescentApricot/lz4unipy" }, "release_url": "https://pypi.org/project/lz4unipy/2.0.1/", "requires_dist": [ "lz4 (<3.0.0)" ], "requires_python": "", "summary": "unity3d compatible lz4 (un)compress tool working on Python3.", "version": "2.0.1" }, "last_serial": 4894721, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "47d4d436464c9516083e384af7b66705", "sha256": "8081a1d316c4422233bd7d51432ad03e3b51977461c75eea463a06329641b858" }, "downloads": -1, "filename": "lz4unipy-1.0.1.tar.gz", "has_sig": false, "md5_digest": "47d4d436464c9516083e384af7b66705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3657, "upload_time": "2018-02-03T15:48:38", "url": "https://files.pythonhosted.org/packages/e0/51/575a22b238e25c5ab2b250ac3208aaaf6f270fe7fed4ae757967451bab41/lz4unipy-1.0.1.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "7ccab16897a7a643eb32e2fa4b2f6df2", "sha256": "930a01ed4b2b6a9acd38b3239b65320dde0b7f831df5662998f5076cf36919aa" }, "downloads": -1, "filename": "lz4unipy-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7ccab16897a7a643eb32e2fa4b2f6df2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5574, "upload_time": "2019-03-04T05:51:51", "url": "https://files.pythonhosted.org/packages/e8/90/cf2f4dff8d0751902aab4fcd67b245c0a88788670a6493fc68660a3dbf04/lz4unipy-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a680d792c9e9682bab011b06218b996b", "sha256": "37b8c7807a491a54a44145854593bab06474e70a59004f85c48b28b4d07fc69f" }, "downloads": -1, "filename": "lz4unipy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "a680d792c9e9682bab011b06218b996b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4136, "upload_time": "2019-03-04T05:51:53", "url": "https://files.pythonhosted.org/packages/b2/c1/1675283e21604989c8b4a1bf60edfc3ce4f212fa055d73a86481a3c07280/lz4unipy-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "1878b890a7c0adcb837fcba0d4194cdc", "sha256": "e70e1b5ff3dd727beeefbdd74a2c66b2896ccb9e4d442205d252a87de3aee8ea" }, "downloads": -1, "filename": "lz4unipy-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1878b890a7c0adcb837fcba0d4194cdc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5575, "upload_time": "2019-03-04T14:32:03", "url": "https://files.pythonhosted.org/packages/91/87/fca5639998f47484d77ba81dc79bb8124305b0e5c3ebc6d4853996e80a7d/lz4unipy-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7b9f7bcde3f9b558e9f7a4d43e919c0", "sha256": "b2768a2eba7fd20b9ca051d1baf6594d22fcfb2610e5d385bc69e94c99be9724" }, "downloads": -1, "filename": "lz4unipy-2.0.1.tar.gz", "has_sig": false, "md5_digest": "b7b9f7bcde3f9b558e9f7a4d43e919c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4147, "upload_time": "2019-03-04T14:32:05", "url": "https://files.pythonhosted.org/packages/f8/65/8c9a612edf9d0dcd478f19ca844fa9babd6a1cee05a5aac2bd2ea3964d35/lz4unipy-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1878b890a7c0adcb837fcba0d4194cdc", "sha256": "e70e1b5ff3dd727beeefbdd74a2c66b2896ccb9e4d442205d252a87de3aee8ea" }, "downloads": -1, "filename": "lz4unipy-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1878b890a7c0adcb837fcba0d4194cdc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5575, "upload_time": "2019-03-04T14:32:03", "url": "https://files.pythonhosted.org/packages/91/87/fca5639998f47484d77ba81dc79bb8124305b0e5c3ebc6d4853996e80a7d/lz4unipy-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7b9f7bcde3f9b558e9f7a4d43e919c0", "sha256": "b2768a2eba7fd20b9ca051d1baf6594d22fcfb2610e5d385bc69e94c99be9724" }, "downloads": -1, "filename": "lz4unipy-2.0.1.tar.gz", "has_sig": false, "md5_digest": "b7b9f7bcde3f9b558e9f7a4d43e919c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4147, "upload_time": "2019-03-04T14:32:05", "url": "https://files.pythonhosted.org/packages/f8/65/8c9a612edf9d0dcd478f19ca844fa9babd6a1cee05a5aac2bd2ea3964d35/lz4unipy-2.0.1.tar.gz" } ] }