Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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:

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


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:

Example usage

from asar import AsarArchive

with'myasarfile.asar') as archive:

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:

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.4 kB) Copy SHA256 Hash SHA256
Source None Apr 17, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate