Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matwey/pybeam
Python module to parse Erlang BEAM files
https://github.com/matwey/pybeam
beam erlang erlang-beam python
Last synced: 3 days ago
JSON representation
Python module to parse Erlang BEAM files
- Host: GitHub
- URL: https://github.com/matwey/pybeam
- Owner: matwey
- License: mit
- Created: 2013-04-29T17:12:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T16:04:59.000Z (5 months ago)
- Last Synced: 2025-01-13T19:13:45.789Z (10 days ago)
- Topics: beam, erlang, erlang-beam, python
- Language: Python
- Size: 149 KB
- Stars: 22
- Watchers: 5
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Python](https://github.com/matwey/pybeam/actions/workflows/python.yml/badge.svg)](https://github.com/matwey/pybeam/actions/workflows/python.yml)
[![PyPI version](https://badge.fury.io/py/pybeam.svg)](https://badge.fury.io/py/pybeam)
[![Documentation Status](https://readthedocs.org/projects/pybeam/badge/?version=latest)](http://pybeam.readthedocs.io/en/latest/?badge=latest)pybeam
======
Python module to parse Erlang BEAM files.Pull-requests are always welcome.
## Quick start:
```python
import pybeam
p = pybeam.BeamFile("/usr/lib64/erlang/lib/appmon-2.1.14.1/ebin/appmon.beam")
print(p.imports)
print(p.exports)
print(p.atoms)
```## References
* [Erlang BEAM file format](http://www.erlang.se/~bjorn/beam_file_format.html)
* [Erlang external term format](http://erlang.org/doc/apps/erts/erl_ext_dist.html)
* [BEAM file format](http://synrc.com/publications/cat/Functional%20Languages/Erlang/BEAM.pdf)
* [BEAM Wisdoms](http://beam-wisdoms.clau.se/en/latest/)