|
1 year ago | |
---|---|---|
fatamorgana | 1 year ago | |
.gitignore | 2 years ago | |
LICENSE.md | 3 years ago | |
MANIFEST.in | 3 years ago | |
README.md | 3 years ago | |
setup.py | 2 years ago |
fatamorgana is a Python package for reading and writing OASIS format layout files.
Homepage: https://mpxd.net/code/jan/fatamorgana
Capabilities:
Dependencies:
Install with pip from PyPi (preferred):
pip install fatamorgana
Install directly from git repository:
pip install git+https://mpxd.net/code/jan/fatamorgana.git@release
Most functions and classes are documented inline.
To read the inline help,
import fatamorgana
help(fatamorgana.OasisLayout)
The documentation is currently very sparse and I expect to improve it whenever possible!
Read an OASIS file and write it back out:
import fatamorgana
with open('test.oas', 'rb') as f:
layout = fatamorgana.OasisLayout.read(f)
with open('test_write.oas', 'wb') as f:
layout.write(f)