Skip to main content

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/

Release files for pyasar 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyasar 1.0.8
File Size Uploaded
pyasar-1.0.8.tar.gz 3.4 kB Details

Release files / pyasar-1.0.8.tar.gz

Download URL pyasar-1.0.8.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f96b322ea5c450d129dbe6990e5ba827d1d070e818822c408abffa44058f7f08
BLAKE2b-256 checksum
How to use checksums
d24614d4da631f58f7ad27a55cdcbae5a45c2b9ebebe76d53662e2048f1a1229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.8 This release

1 release file

1.0.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page