Skip to main content

fatamorgana

fatamorgana is a Python package for reading and writing OASIS format layout files.

Homepage: https://mpxd.net/code/jan/fatamorgana

Capabilities:

  • This package is a work-in-progress and is largely untested -- it works for the tasks I usually use it for, but I can't guarantee I've even tried the features you happen to use! Use at your own risk!
  • Interfaces and datastructures are subject to change!
  • That said the following work for me:
    • polygons
    • layer info
    • cell names
    • compressed blocks
    • basic property I/O

Installation

Dependencies:

  • python >=3.11
  • (optional) numpy

Install with pip from PyPi (preferred):

pip install fatamorgana

Documentation

Most functions and classes are documented inline.

To read the inline help,

import fatamorgana
help(fatamorgana.OasisLayout)

Examples

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)

Release files for fatamorgana 0.14

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

Source distribution (sdist)

Source distribution for fatamorgana 0.14
File Size Uploaded
fatamorgana-0.14.tar.gz 73.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fatamorgana 0.14
File Interpreter ABI Platform
fatamorgana-0.14-py3-none-any.whl Python 3 none any Details

Total release size: 173.9 kB

Release files / fatamorgana-0.14.tar.gz

Download URL fatamorgana-0.14.tar.gz
Size 73.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2cc813110a3764ef62e36ca033f6207f45da29b13004bf98fa3ed63310d0b77c
BLAKE2b-256 checksum
How to use checksums
de7c596403c6f6f33a1f3874e6dd15e9d11dd7f0263e19ea0c61f4b4007f27a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / fatamorgana-0.14-py3-none-any.whl

Download URL fatamorgana-0.14-py3-none-any.whl
Size 100.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b83f9f3357374ad3c5d17fb0f960d13704216e3b59cd1adea545ed01c484929d
BLAKE2b-256 checksum
How to use checksums
df743dcb008d0c35a119333325c07697127953ac45a2e5f32faa0dfc5d5175d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.14 This release

2 release files

0.13

2 release files

0.12

2 release files

0.11

2 release files

0.10

2 release files

0.9

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

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