unarchiver


Nameunarchiver JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryUnarchive an NSKeyedArchive into a python object.
upload_time2024-05-13 16:54:36
maintainerNone
docs_urlNone
authorPandasAreBears
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Unarchiver

Unarchive an NSKeyedArchive into python.

## Installation

```sh
pip install unarchiver
```

## Command-line usage

```sh
Usage: unarchiver.py [OPTIONS] KEYED_ARCHIVE

  Unarchive an NSKeyedArchiver file.

Options:
  -o, --to-file PATH  A file to dump unarchived content into.
  --help              Show this message and exit.
```

``` sh
$ poetry run unarchive ~/Library/News/actionQueue
{
    "root": {
        "$type": "NSMutableDictionary",
        "NS.keys": [
            "FCFileCoordinatedAccountActionQueueLocalDataHintKey",
            "FCFileCoordinatedAccountActionQueueActionTypesKey"
        ],
        "NS.objects": [
            true,
            {
                "$type": "NSMutableArray",
                "NS.objects": []
            }
        ]
    }
}
```

## Library Usage

```py
from unarchiver.unarchiver import Unarchiver

unarchiver = Unarchiver(path_to_archive)

obj = unarchiver.parse()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "unarchiver",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "PandasAreBears",
    "author_email": "emailadresspanda@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c7/9a/e596c5a9f78508906ea5a5f5f08eca114a93f674389f43fd4e9bf833eb4d/unarchiver-0.2.0.tar.gz",
    "platform": null,
    "description": "# Unarchiver\n\nUnarchive an NSKeyedArchive into python.\n\n## Installation\n\n```sh\npip install unarchiver\n```\n\n## Command-line usage\n\n```sh\nUsage: unarchiver.py [OPTIONS] KEYED_ARCHIVE\n\n  Unarchive an NSKeyedArchiver file.\n\nOptions:\n  -o, --to-file PATH  A file to dump unarchived content into.\n  --help              Show this message and exit.\n```\n\n``` sh\n$ poetry run unarchive ~/Library/News/actionQueue\n{\n    \"root\": {\n        \"$type\": \"NSMutableDictionary\",\n        \"NS.keys\": [\n            \"FCFileCoordinatedAccountActionQueueLocalDataHintKey\",\n            \"FCFileCoordinatedAccountActionQueueActionTypesKey\"\n        ],\n        \"NS.objects\": [\n            true,\n            {\n                \"$type\": \"NSMutableArray\",\n                \"NS.objects\": []\n            }\n        ]\n    }\n}\n```\n\n## Library Usage\n\n```py\nfrom unarchiver.unarchiver import Unarchiver\n\nunarchiver = Unarchiver(path_to_archive)\n\nobj = unarchiver.parse()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Unarchive an NSKeyedArchive into a python object.",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f0c1357072283428a7a1faf77716c93dacde2291edbf398a14026b86a9918b1",
                "md5": "9c38cde6b06ed14bf735c8abc416a02b",
                "sha256": "df6c2f76e6fc855f83d493aaaea5f4d406cc90c5b584652d4d636527a7ead6bb"
            },
            "downloads": -1,
            "filename": "unarchiver-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9c38cde6b06ed14bf735c8abc416a02b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 3302,
            "upload_time": "2024-05-13T16:54:34",
            "upload_time_iso_8601": "2024-05-13T16:54:34.708261Z",
            "url": "https://files.pythonhosted.org/packages/1f/0c/1357072283428a7a1faf77716c93dacde2291edbf398a14026b86a9918b1/unarchiver-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c79ae596c5a9f78508906ea5a5f5f08eca114a93f674389f43fd4e9bf833eb4d",
                "md5": "9d88f13c890b60bff81a74fe2024e395",
                "sha256": "4c98760017c5e5ba1ded410bb3a6a431d28ce5bc32c27394655f9eaf97097d9b"
            },
            "downloads": -1,
            "filename": "unarchiver-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9d88f13c890b60bff81a74fe2024e395",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 2517,
            "upload_time": "2024-05-13T16:54:36",
            "upload_time_iso_8601": "2024-05-13T16:54:36.975046Z",
            "url": "https://files.pythonhosted.org/packages/c7/9a/e596c5a9f78508906ea5a5f5f08eca114a93f674389f43fd4e9bf833eb4d/unarchiver-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-13 16:54:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "unarchiver"
}
        
Elapsed time: 9.85056s