Skip to content
forked from Photonios/pyasar

Python 3 library for working with Electron's ASAR archive files.

License

Notifications You must be signed in to change notification settings

adhu2018/pyasar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Python 3 library for working with Electron's ASAR archive files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%