{"id":491609,"date":"2026-08-20T13:09:36","date_gmt":"2026-08-20T13:09:36","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=491609"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=491609","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c huntZip\u00a0\u2014 \u041a\u0430\u043a\u00a0\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u043b\u044f\u00a0\u0430\u0440\u0445\u0438\u0432\u043e\u0432 \u043d\u0430\u00a0Python"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><strong>Hello world! <\/strong><\/p>\n<p>\u041a\u0430\u043a\u2011\u0442\u043e \u0440\u0430\u0437 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u0430\u0440\u0445\u0438\u0432\u0430\u043c\u0438 \u0432\u00a0\u043e\u0434\u043d\u043e\u043c \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0438 \u044f \u0437\u043d\u0430\u0442\u043d\u043e \u043f\u0440\u0438\u0444\u0438\u0433\u0435\u043b \u043e\u0442\u00a0\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u0412\u043e\u0437\u043d\u0438\u043a \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0443\u0437: \u0434\u043b\u044f\u00a0\u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e ZIP \u043d\u0443\u0436\u0435\u043d <code>zipfile<\/code>, \u0434\u043b\u044f\u00a0\u043a\u0430\u043a\u043e\u0433\u043e \u043d\u0438\u0431\u0443\u0434\u044c TAR <code>tarfile<\/code>, \u0430\u00a0\u0435\u0441\u043b\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c 7z \u0438\u043b\u0438\u00a0RAR, \u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u043d\u044b <code>py7zr<\/code> \u0438 <code>rarfile<\/code>, \u0438\u0437\u00a0\u0437\u0430\u00a0\u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u00a0\u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 \u0438 <strong>\u00ab\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439\u00bb<\/strong> \u0437\u0430\u0431\u043e\u0440 \u0438\u0437\u00a0\u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432 \u0438 \u043a\u0443\u0441\u043a\u043e\u0432 \u043b\u043e\u0433\u0438\u043a\u0438 \u043f\u043e\u0434\u00a0\u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0438\u0445. \u041c\u0435\u043d\u044f \u044d\u0442\u043e \u043e\u043e\u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0431\u0435\u0441\u0438\u043b\u043e, \u0438 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e 2\u20133\u00a0\u0434\u043d\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0441\u0435\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u00ab\u043a\u043e\u043c\u0431\u0430\u0439\u043d\u00bb \u0434\u043b\u044f\u00a0\u0430\u0440\u0445\u0438\u0432\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0437\u0432\u0430\u043b <strong>huntZip<\/strong>. <\/p>\n<p><strong>\u041a\u0430\u043a\u0438\u0435 \u0432\u043e\u043e\u0431\u0449\u0435 \u0430\u0440\u0445\u0438\u0432\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f?<\/strong><\/p>\n<ul>\n<li>\n<p><strong><em>ZIP (\u0442\u0430\u043a\u00a0\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f Zip64)<\/em>:<\/strong> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0430 \u0438 \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0430<\/p>\n<\/li>\n<li>\n<p><strong><em>TAR (\u0430 \u0442\u0430\u043a\u00a0\u0436\u0435 \u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0438\u0438 GZip, Bzip2, XZ)<\/em>:<\/strong> \u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430<\/p>\n<\/li>\n<li>\n<p><strong><em>RAR<\/em>:<\/strong> \u0412\u00a0\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 (\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0443, \u043f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u0437\u043d\u0430\u044e)<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0422\u0435\u0441\u0442\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 (\u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438)<\/strong><\/p>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043c\u043e\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u00a0\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441\u00a0zipfile, \u0438 \u043f\u0440\u0438\u0448\u0435\u043b \u043a\u00a0\u0432\u044b\u0432\u043e\u0434\u0443 \u0447\u0442\u043e\u00a0huntZip\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 zipfile \u0432 1.26\u00a0\u0440\u0430\u0437. \u0412\u0441\u0435 \u0442\u0435\u0441\u0442\u044b \u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b \u043d\u0430\u00a0Ryzen 5\u00a0(\u041d\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u00a0\u0436\u0435\u00a0\u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u043d\u0430\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u041f\u041a)<\/p>\n<ul>\n<li>\n<p><strong><em>huntZip<\/em>:<\/strong> 0.334\u00a0\u0441\u0435\u043a.<\/p>\n<\/li>\n<li>\n<p><strong><em>zipfile<\/em>:<\/strong> 0.421\u00a0\u0441\u0435\u043a.<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a\u00a0\u0431\u044b\u0441\u0442\u0440\u043e? \u0414\u0435\u043b\u043e \u0432\u00a0\u0442\u043e\u043c, \u0447\u0442\u043e\u00a0\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043c\u0435\u0442\u043e\u0434 <code>f.relative_to(source)<\/code> \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b Zip64\u00a0\u0447\u0435\u0440\u0435\u0437 allowZip64=True. <\/p>\n<p>\u0418 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0438 \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u0438\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 <code>os.walk<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043a\u0443\u0447\u0443\u00a0\u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u043a\u043e\u0434, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043c\u0435\u0442\u043e\u0434 <code>source.rglob(\"*\")<\/code> \u0438\u0437\u00a0\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <code>pathlib<\/code>. \u041e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a\u00a0\u043b\u0435\u043d\u0438\u0432\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e\u00a0Python \u043d\u0435\u00a0\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u043f\u043a\u0438 \u0432\u00a0\u043f\u0430\u043c\u044f\u0442\u044c \u0441\u0440\u0430\u0437\u0443, \u0430\u00a0\u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u0445 \u043f\u043e\u00a0\u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u00a0\u043b\u0435\u0442\u0443.<\/p>\n<p>\u041f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 <code>f.relative_to(source)<\/code>\u00a0\u2014 <code>f.relative_to(source)<\/code> \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0444\u0430\u0439\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0430\u043f\u043a\u0438. \u0418\u0437\u2011\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0430\u0440\u0445\u0438\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u0442\u043e\u0439, \u0431\u0435\u0437\u00a0\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00a0\u043b\u0438\u0448\u043d\u0438\u0445 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439 \u0432\u00a0\u0441\u0430\u043c\u043e\u043c ZIP\u2011\u0444\u0430\u0439\u043b\u0435.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041a\u0430\u043a\u00a0\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443?<\/strong><\/p>\n<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u00a0PyPI \u043f\u043e\u00a0\u043f\u0440\u043e\u0441\u0442\u0435\u0446\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435:<\/p>\n<pre><code>pip install huntzip<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041b\u0438\u0431\u043e \u0432\u00a0\u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a href=\"https:\/\/codeberg.org\/PXStudio\/huntZip\/releases\" rel=\"noopener noreferrer nofollow\"><code>Releases \u043d\u0430 Codeberg<\/code><\/a><\/p>\n<p><strong>\u0410\u00a0\u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439?<\/strong><\/p>\n<p>\u0412\u043e\u0437\u044c\u043c\u0435\u043c \u0432\u00a0\u043f\u0440\u0438\u043c\u0435\u0440 ZIP:<\/p>\n<pre><code>from huntzip import pack, unpackpack(\"my_project\", \"backup.zip\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong><em>(\u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435.)<\/em><\/strong><\/p>\n<p>\u0410\u00a0\u0435\u0441\u043b\u0438 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c:<\/p>\n<pre><code>unpack(\"backup.7z\", \"extracted_ready\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong><em>(\u043b\u0438\u0431\u043e \u0432\u043c\u0435\u0441\u0442\u043e 7z \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0430\u0448 \u0444\u043e\u0440\u043c\u0430\u0442)<\/em><\/strong><\/p>\n<p><strong>\u041a\u0430\u043a\u00a0\u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438?<\/strong><\/p>\n<p>\u041a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c. \u042f \u0441\u043e\u0431\u0438\u0440\u0430\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <code>pathlib<\/code> \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u044e \u043d\u0443\u0436\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0434\u00a0\u043a\u0430\u043f\u043e\u0442\u043e\u043c:<\/p>\n<pre><code>import osimport tarfileimport zipfilefrom pathlib import Pathimport py7zrdef pack(source_path: str, archive_name: str) -&gt; str:    source = Path(source_path)    if not source.exists():        raise FileNotFoundError(f\"Path not found: {source_path}\")    archive = Path(archive_name)    ext = \"\".join(archive.suffixes).lower()    if ext == \".zip\":        with zipfile.ZipFile(archive, \"w\", zipfile.ZIP_DEFLATED, allowZip64=True) as zipf:            if source.is_file():                zipf.write(source, source.name)            else:                for f in source.rglob(\"*\"):                    if f.is_file():                        zipf.write(f, f.relative_to(source))    elif ext == \".7z\":        with py7zr.SevenZipFile(archive, \"w\") as sz:            if source.is_file():                sz.write(source, source.name)            else:                sz.writeall(source, source.name)    elif \".tar\" in ext or ext.endswith((\".gz\", \".bz2\", \".xz\")):        mode = \"w\"        if ext.endswith(\".gz\"):            mode = \"w:gz\"        elif ext.endswith(\".bz2\"):            mode = \"w:bz2\"        elif ext.endswith(\".xz\"):            mode = \"w:xz\"        with tarfile.open(archive, mode) as tar:            tar.add(source, arcname=source.name)    else:        raise ValueError(f\"Unsupported format: {ext}\")    return str(archive.resolve())def unpack(archive_path: str, extract_to: str = \".\") -&gt; str:    archive = Path(archive_path)    if not archive.exists():        raise FileNotFoundError(f\"Archive not found: {archive_path}\")    target_dir = Path(extract_to)    target_dir.mkdir(parents=True, exist_ok=True)    ext = \"\".join(archive.suffixes).lower()    if ext == \".zip\":        with zipfile.ZipFile(archive, \"r\", allowZip64=True) as zipf:            zipf.extractall(target_dir)    elif ext == \".7z\":        with py7zr.SevenZipFile(archive, \"r\") as sz:            sz.extractall(path=target_dir)    elif \".tar\" in ext or ext.endswith((\".gz\", \".bz2\", \".xz\")):        with tarfile.open(archive, \"r:*\") as tar:            try:                tar.extractall(target_dir, filter='fully_trusted')            except TypeError:                tar.extractall(target_dir)    else:        raise ValueError(f\"Unknown archive format: {ext}\")    return str(target_dir.resolve())<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h4>\u0427\u0442\u043e\u00a0\u0434\u0430\u043b\u044c\u0448\u0435, \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u00a0RAR<\/h4>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u043e\u00a0\u044f \u0435\u0441\u0442\u044c \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0443\u043f\u0438\u043a \u0441\u00a0RAR.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0447\u0442\u0435\u043d\u0438\u0435, \u0438 \u0437\u0430\u043f\u0438\u0441\u044c. \u041d\u043e\u00a0\u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441\u0436\u0430\u0442\u0438\u044f \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 WinRAR. \u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0438 \u043b\u0435\u0433\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e <strong>\u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c<\/strong> \u0444\u0430\u0439\u043b\u044b. \u041d\u0430\u043f\u0438\u0448\u0435\u0448\u044c \u0441\u0432\u043e\u044e \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0443&#8230;\u0418 \u043f\u0440\u0438\u043b\u0435\u0442\u0438\u0442 DMCA, \u0430\u00a0\u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0443\u0434\u0430\u043b\u044f\u0442.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043b\u0430\u043d\u044b \u0442\u0430\u043a\u0438\u0435:<\/p>\n<ol>\n<li>\n<p><strong>RAR \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u00a0\u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0443:<\/strong> \u0421\u043a\u043e\u0440\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 <code>rarfile<\/code>. \u041f\u0440\u0438\u00a0\u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 <code>.rar<\/code> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430:<\/strong> \u0421\u0434\u0435\u043b\u0430\u044e \u043a\u043e\u043b\u043b\u0431\u0435\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u00a0\u0441\u0431\u043e\u0440\u043a\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0430\u0440\u0445\u0438\u0432\u043e\u0432 \u0432\u00a0\u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0431\u0435\u0436\u0430\u043b\u0430 \u043f\u043e\u043b\u043e\u0441\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<\/p>\n<\/li>\n<\/ol>\n<h4>\u041a\u0430\u043a\u00a0\u043f\u043e\u043c\u043e\u0447\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0443?<\/h4>\n<p>\u041a\u043e\u0434 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439, \u0438 \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0449\u0438. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043e\u043a\u0438\u043d\u0443\u0442\u044c \u0444\u0438\u0447\u0443:<\/p>\n<ol>\n<li>\n<p>\u0424\u043e\u0440\u043a\u0430\u0439\u0442\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u0430\u00a0Codeberg.<\/p>\n<\/li>\n<li>\n<p>\u0414\u0435\u043b\u0430\u0439\u0442\u0435 \u0432\u0435\u0442\u043a\u0443 \u0441\u00a0\u0432\u0430\u0448\u0435\u0439 \u0444\u0438\u0447\u0435\u0439.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0438\u0448\u0438\u0442\u0435 \u0442\u0435\u0441\u0442\u044b.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u0441\u044b\u043b\u0430\u0439\u0442\u0435 Pull Request.<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1072576\/\">https:\/\/habr.com\/ru\/articles\/1072576\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello world! \u041a\u0430\u043a\u2011\u0442\u043e \u0440\u0430\u0437 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u0430\u0440\u0445\u0438\u0432\u0430\u043c\u0438 \u0432\u00a0\u043e\u0434\u043d\u043e\u043c \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0438 \u044f \u0437\u043d\u0430\u0442\u043d\u043e \u043f\u0440\u0438\u0444\u0438\u0433\u0435\u043b \u043e\u0442\u00a0\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u0412\u043e\u0437\u043d\u0438\u043a \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0443\u0437: \u0434\u043b\u044f\u00a0\u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e ZIP \u043d\u0443\u0436\u0435\u043d zipfile, \u0434\u043b\u044f\u00a0\u043a\u0430\u043a\u043e\u0433\u043e \u043d\u0438\u0431\u0443\u0434\u044c TAR tarfile, \u0430\u00a0\u0435\u0441\u043b\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c 7z \u0438\u043b\u0438\u00a0RAR, \u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u043d\u044b py7zr \u0438 rarfile, \u0438\u0437\u00a0\u0437\u0430\u00a0\u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u00a0\u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 \u0438 \u00ab\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439\u00bb \u0437\u0430\u0431\u043e\u0440 \u0438\u0437\u00a0\u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432 \u0438 \u043a\u0443\u0441\u043a\u043e\u0432 \u043b\u043e\u0433\u0438\u043a\u0438 \u043f\u043e\u0434\u00a0\u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0438\u0445. \u041c\u0435\u043d\u044f \u044d\u0442\u043e \u043e\u043e\u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0431\u0435\u0441\u0438\u043b\u043e, \u0438 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e 2\u20133\u00a0\u0434\u043d\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0441\u0435\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u00ab\u043a\u043e\u043c\u0431\u0430\u0439\u043d\u00bb \u0434\u043b\u044f\u00a0\u0430\u0440\u0445\u0438\u0432\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0437\u0432\u0430\u043b huntZip. \u041a\u0430\u043a\u0438\u0435 \u0432\u043e\u043e\u0431\u0449\u0435 \u0430\u0440\u0445\u0438\u0432\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f?ZIP (\u0442\u0430\u043a\u00a0\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f Zip64): \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0430 \u0438 \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0430TAR (\u0430 \u0442\u0430\u043a\u00a0\u0436\u0435 \u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0438\u0438 GZip, Bzip2, XZ): \u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430RAR: \u0412\u00a0\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 (\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0443, \u043f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u0437\u043d\u0430\u044e)\u0422\u0435\u0441\u0442\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 (\u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438)\u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043c\u043e\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u00a0\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441\u00a0zipfile, \u0438 \u043f\u0440\u0438\u0448\u0435\u043b \u043a\u00a0\u0432\u044b\u0432\u043e\u0434\u0443 \u0447\u0442\u043e\u00a0huntZip\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 zipfile \u0432 1.26\u00a0\u0440\u0430\u0437. \u0412\u0441\u0435 \u0442\u0435\u0441\u0442\u044b \u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b \u043d\u0430\u00a0Ryzen 5\u00a0(\u041d\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u00a0\u0436\u0435\u00a0\u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u043d\u0430\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u041f\u041a)huntZip: 0.334\u00a0\u0441\u0435\u043a.zipfile: 0.421\u00a0\u0441\u0435\u043a.\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a\u00a0\u0431\u044b\u0441\u0442\u0440\u043e? \u0414\u0435\u043b\u043e \u0432\u00a0\u0442\u043e\u043c, \u0447\u0442\u043e\u00a0\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043c\u0435\u0442\u043e\u0434 f.relative_to(source) \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b Zip64\u00a0\u0447\u0435\u0440\u0435\u0437 allowZip64=True. \u0418 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0438 \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u0438\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 os.walk, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043a\u0443\u0447\u0443\u00a0\u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u043a\u043e\u0434, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043c\u0435\u0442\u043e\u0434 source.rglob(&#171;*&#187;) \u0438\u0437\u00a0\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 pathlib. \u041e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a\u00a0\u043b\u0435\u043d\u0438\u0432\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e\u00a0Python \u043d\u0435\u00a0\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u043f\u043a\u0438 \u0432\u00a0\u043f\u0430\u043c\u044f\u0442\u044c \u0441\u0440\u0430\u0437\u0443, \u0430\u00a0\u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u0445 \u043f\u043e\u00a0\u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u00a0\u043b\u0435\u0442\u0443.\u041f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 f.relative_to(source)\u00a0\u2014 f.relative_to(source) \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0444\u0430\u0439\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0430\u043f\u043a\u0438. \u0418\u0437\u2011\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0430\u0440\u0445\u0438\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u0442\u043e\u0439, \u0431\u0435\u0437\u00a0\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00a0\u043b\u0438\u0448\u043d\u0438\u0445 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439 \u0432\u00a0\u0441\u0430\u043c\u043e\u043c ZIP\u2011\u0444\u0430\u0439\u043b\u0435.\u041a\u0430\u043a\u00a0\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443?\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u00a0PyPI \u043f\u043e\u00a0\u043f\u0440\u043e\u0441\u0442\u0435\u0446\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435:pip install huntzip\u041b\u0438\u0431\u043e \u0432\u00a0\u0440\u0430\u0437\u0434\u0435\u043b\u0435 Releases \u043d\u0430 Codeberg\u0410\u00a0\u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439?\u0412\u043e\u0437\u044c\u043c\u0435\u043c \u0432\u00a0\u043f\u0440\u0438\u043c\u0435\u0440 ZIP:from huntzip import pack, unpackpack(&#171;my_project&#187;, &#171;backup.zip&#187;)(\u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435.)\u0410\u00a0\u0435\u0441\u043b\u0438 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c:unpack(&#171;backup.7z&#187;, &#171;extracted_ready&#187;)(\u043b\u0438\u0431\u043e \u0432\u043c\u0435\u0441\u0442\u043e 7z \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0430\u0448 \u0444\u043e\u0440\u043c\u0430\u0442)\u041a\u0430\u043a\u00a0\u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438?\u041a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c. \u042f \u0441\u043e\u0431\u0438\u0440\u0430\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 pathlib \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u044e \u043d\u0443\u0436\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0434\u00a0\u043a\u0430\u043f\u043e\u0442\u043e\u043c:import osimport tarfileimport zipfilefrom pathlib import Pathimport py7zrdef pack(source_path: str, archive_name: str) -&gt; str:    source = Path(source_path)    if not source.exists():        raise FileNotFoundError(f&#187;Path not found: {source_path}&#187;)    archive = Path(archive_name)    ext = &#171;&#187;.join(archive.suffixes).lower()    if ext == &#171;.zip&#187;:        with zipfile.ZipFile(archive, &#171;w&#187;, zipfile.ZIP_DEFLATED, allowZip64=True) as zipf:            if source.is_file():                zipf.write(source, source.name)            else:                for f in source.rglob(&#171;*&#187;):                    if f.is_file():                        zipf.write(f, f.relative_to(source))    elif ext == &#171;.7z&#187;:        with py7zr.SevenZipFile(archive, &#171;w&#187;) as sz:            if source.is_file():                sz.write(source, source.name)            else:                sz.writeall(source, source.name)    elif &#171;.tar&#187; in ext or ext.endswith((&#171;.gz&#187;, &#171;.bz2&#187;, &#171;.xz&#187;)):        mode = &#171;w&#187;        if ext.endswith(&#171;.gz&#187;):            mode = &#171;w:gz&#187;        elif ext.endswith(&#171;.bz2&#187;):            mode = &#171;w:bz2&#187;        elif ext.endswith(&#171;.xz&#187;):            mode = &#171;w:xz&#187;        with tarfile.open(archive, mode) as tar:            tar.add(source, arcname=source.name)    else:        raise ValueError(f&#187;Unsupported format: {ext}&#187;)    return str(archive.resolve())def unpack(archive_path: str, extract_to: str = &#171;.&#187;) -&gt; str:    archive = Path(archive_path)    if not archive.exists():        raise FileNotFoundError(f&#187;Archive not found: {archive_path}&#187;)    target_dir = Path(extract_to)    target_dir.mkdir(parents=True, exist_ok=True)    ext = &#171;&#187;.join(archive.suffixes).lower()    if ext == &#171;.zip&#187;:        with zipfile.ZipFile(archive, &#171;r&#187;, allowZip64=True) as zipf:            zipf.extractall(target_dir)    elif ext == &#171;.7z&#187;:        with py7zr.SevenZipFile(archive, &#171;r&#187;) as sz:            sz.extractall(path=target_dir)    elif &#171;.tar&#187; in ext or ext.endswith((&#171;.gz&#187;, &#171;.bz2&#187;, &#171;.xz&#187;)):        with tarfile.open(archive, &#171;r:*&#187;) as tar:            try:                tar.extractall(target_dir, filter=&#8217;fully_trusted&#8217;)            except TypeError:                tar.extractall(target_dir)    else:        raise ValueError(f&#187;Unknown archive format: {ext}&#187;)    return str(target_dir.resolve())\u0427\u0442\u043e\u00a0\u0434\u0430\u043b\u044c\u0448\u0435, \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u00a0RAR\u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u043e\u00a0\u044f \u0435\u0441\u0442\u044c \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0443\u043f\u0438\u043a \u0441\u00a0RAR.\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0447\u0442\u0435\u043d\u0438\u0435, \u0438 \u0437\u0430\u043f\u0438\u0441\u044c. \u041d\u043e\u00a0\u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441\u0436\u0430\u0442\u0438\u044f \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 WinRAR. \u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0438 \u043b\u0435\u0433\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b. \u041d\u0430\u043f\u0438\u0448\u0435\u0448\u044c \u0441\u0432\u043e\u044e \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u043a\u0443&#8230;\u0418 \u043f\u0440\u0438\u043b\u0435\u0442\u0438\u0442 DMCA, \u0430\u00a0\u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0443\u0434\u0430\u043b\u044f\u0442.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043b\u0430\u043d\u044b \u0442\u0430\u043a\u0438\u0435:RAR \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u00a0\u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0443: \u0421\u043a\u043e\u0440\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 rarfile. \u041f\u0440\u0438\u00a0\u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 .rar \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443.\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430: \u0421\u0434\u0435\u043b\u0430\u044e \u043a\u043e\u043b\u043b\u0431\u0435\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u00a0\u0441\u0431\u043e\u0440\u043a\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0430\u0440\u0445\u0438\u0432\u043e\u0432 \u0432\u00a0\u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0431\u0435\u0436\u0430\u043b\u0430 \u043f\u043e\u043b\u043e\u0441\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.\u041a\u0430\u043a\u00a0\u043f\u043e\u043c\u043e\u0447\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0443?\u041a\u043e\u0434 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439, \u0438 \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0449\u0438. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043e\u043a\u0438\u043d\u0443\u0442\u044c \u0444\u0438\u0447\u0443:\u0424\u043e\u0440\u043a\u0430\u0439\u0442\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u0430\u00a0Codeberg.\u0414\u0435\u043b\u0430\u0439\u0442\u0435 \u0432\u0435\u0442\u043a\u0443 \u0441\u00a0\u0432\u0430\u0448\u0435\u0439 \u0444\u0438\u0447\u0435\u0439.\u041f\u0438\u0448\u0438\u0442\u0435 \u0442\u0435\u0441\u0442\u044b.\u041f\u0440\u0438\u0441\u044b\u043b\u0430\u0439\u0442\u0435 Pull Request.\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1072576\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-491609","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/491609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491609"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/491609\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}