Skip to main content

Library for working with Electron's ASAR archives.

Project description

Library for working with Electron’s ASAR archive files. Electron (formely known as Atom Shell) uses it’s own archive format to compress files into a single file. The format is somewhat similar to TAR files. There’s a Node.JS package for working with ASAR files:

https://github.com/electron/asar

The URL above also contains the format documentation. Code was written for Python >3.4.

Installation

PyAsar is on PyPi (Python Package Index) and can be installed through Pip:

pip install pyasar

You can view more information about the package on the PyPi package:

https://pypi.python.org/pypi

Example usage

from asar import AsarArchive

with AsarArchive.open('myasarfile.asar') as archive:
    archive.extract('/home/mydir')

At the moment that is all what it can do ;)

Disclaimer / License

This is no way associated with Github, Electron or Atom. This is free, and open-source (free as in beer) for fun and profit. Licensed under the Do What the Fuck You want Public License:

http://www.wtfpl.net/

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

pyasar-1.0.8.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file pyasar-1.0.8.tar.gz.

File metadata

  • Download URL: pyasar-1.0.8.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasar-1.0.8.tar.gz
Algorithm Hash digest
SHA256 f96b322ea5c450d129dbe6990e5ba827d1d070e818822c408abffa44058f7f08
MD5 69dae59581adb9a5704bce7ce8ed8206
BLAKE2b-256 d24614d4da631f58f7ad27a55cdcbae5a45c2b9ebebe76d53662e2048f1a1229

See more details on using hashes here.

Supported by

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