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)

Metadata

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 Provenance Actions
fatamorgana-0.14.tar.gz 73.9 kB Without provenance Details for fatamorgana-0.14.tar.gz

Built distribution (wheel)

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

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

Security for fatamorgana 0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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