Skip to main content

Print apple plist files in a readable and comprehensible way

Project description

catplist

catplist is a small python utility to print apple plists (Information Property List) in a readable and comprehensible manner.

Rationale

While plistutil exists to convert plists from binary to xml and vice versa plists are usually still hard to read for humans or parse from the command line with tools like grep. catplist aims to make this task easier. It's main focus is to print a human-readable and parsable representation of the plist. Additionally, plists often contain binary data, or some strange nested key value structures originating from NSArchiver or NSKeyedArchiver serialization. catplist aims to deliver a good readable representation by unwrapping those structures.

Try it on some Metadata out of your iPhone Photo library like *.albummetadata, *.memorymetadata, *.facemetadata, *.foldermetadata or just regular *.plist files.

For editing and more accurate/original representation of plists or search for PlistBuddy, XCode, plutil.

Features

  • wildcard support

  • recurse into directories

  • reads binary and xml plists

  • NSArchiver: unwraps nsarchiver plists that just add an layer of indirectness into the key value store.

  • Nested plists: in some plists apple stores plist as a value. catplist unwraps those nested plists.

  • Interpretation of some of Binary Data stored within plists, usually consisting of:

    • UUID data
    • xz compressed data
    • binary plists

Usage

catplist myplist.plist
> catplist --help

Usage: catplist [OPTIONS] [FILE]...

  This is catplist: display your plist for human reading and easy grepping.

Options:
  -R, --raw      print raw plist contents, will not unpack nested data & plists
  -r, --recurse  recurse into subdirs, reads all files ignores non plist files
  --help         Show this message and exit.

Install

Installation via PyPi:

pip install catplist

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

catplist-0.0.4.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

catplist-0.0.4-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page