RoffIO
A (lazy) parser and writer for the Roxar Open File Format (ROFF).
Decision gist · record as of 2026-08-14
Yes, if you work with Roxar Open File Format data. Install friction is low, maintenance is active, and there are no known vulnerabilities. The copyleft LGPL-3.0 license is a consideration only if you plan to distribute modified versions. The Planning development status suggests the API may not be fully stable, so pin the version or monitor releases if stability is critical.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction—pure Python wheel with only dataclasses and numpy as runtime dependencies.
- Active maintenance with recent commits; however, development status is marked as Planning, which may indicate the API is not yet stabilized.
License · maintenance · safety
LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must be distributed under the same license; static linking or closed-source distribution of modified versions is not permitted.
last release 2025-04-23 (478 days) · last repo commit 2026-08-03 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 120,388 downloads/mo, #12,026 on PyPI
Alternatives
Verify before relying
import roffio
# Read a ROFF file
contents = roffio.read("my/file.roff")
value = contents["tagname"]["keyname"]
# Write a ROFF file
roffio.write("my/file.roff", {"tagname": {"keyname": 1.0}})
# Lazy read to avoid loading entire file
with roffio.lazyread("my/file.roff") as contents:
for tagname, tagkeys in contents:
for keyname, value in tagkeys:
print(tagname, keyname, value)- Whether the Planning development status indicates breaking API changes are expected or if it is simply outdated metadata.
- Performance characteristics when handling large ROFF files or deeply nested tag structures.
- Whether endianness detection via the filedata tag's byteswaptest is automatic or requires manual configuration.
What it is and what it does
Roffio is a parser and writer for Roxar Open File Format (ROFF), a structured binary and ASCII file format used primarily in geoscience applications. It provides both eager and lazy reading modes: eager read loads the entire file into a nested dictionary structure keyed by tag and tag-key names, while lazy read iterates through tags and keys on-demand, useful for extracting specific values from large files without loading everything into memory.
The package handles ROFF's type system (int, float, double, bool, byte, char, and arrays thereof) and maps them to Python and numpy types. It supports files with duplicate tag names by returning lists of dictionaries when collisions occur. Binary ROFF files are automatically distinguished from ASCII variants, and endianness is managed through a filedata tag convention. The library depends on numpy for array handling and dataclasses for internal structure.
Use it for
- Extract specific values from large geoscience ROFF files without loading the entire file into memory using lazy read.
- Convert ROFF data to Python dictionaries for further processing or analysis in scientific workflows.
- Write structured geoscience data back to ROFF format, preserving type information and tag hierarchy.
- Parse binary ROFF files from legacy geoscience software and convert to modern formats.
- Handle ROFF files with repeated tag names by reading them as lists of dictionaries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with Roxar Open File Format data.
Install friction is low, maintenance is active, and there are no known vulnerabilities. The copyleft LGPL-3.0 license is a consideration only if you plan to distribute modified versions. The Planning development status suggests the API may not be fully stable, so pin the version or monitor releases if stability is critical.
Install
roffio on PyPI
Before you install
Low install friction—pure Python wheel with only dataclasses and numpy as runtime dependencies. Active maintenance with recent commits; however, development status is marked as Planning, which may indicate the API is not yet stabilized.
License in practice
Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must be distributed under the same license; static linking or closed-source distribution of modified versions is not permitted.
Quickstart
import roffio
# Read a ROFF file
contents = roffio.read("my/file.roff")
value = contents["tagname"]["keyname"]
# Write a ROFF file
roffio.write("my/file.roff", {"tagname": {"keyname": 1.0}})
# Lazy read to avoid loading entire file
with roffio.lazyread("my/file.roff") as contents:
for tagname, tagkeys in contents:
for keyname, value in tagkeys:
print(tagname, keyname, value)
Verify before relying
- Whether the Planning development status indicates breaking API changes are expected or if it is simply outdated metadata.
- Performance characteristics when handling large ROFF files or deeply nested tag structures.
- Whether endianness detection via the filedata tag's byteswaptest is automatic or requires manual configuration.
Package facts
| License | LGPL-3.0 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdataclassesnumpy |
| Maintenance | Actively maintained 478 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 120,388 / month, #12,026 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 1 - PlanningLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Programming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: roffio-1.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ROFF file parser”
- RoffIORoffio reads and writes Roxar Open File Format (ROFF) files in both…
- INIToolsINITools parses and manipulates INI-style configuration files through…
- iniparseiniparse is an INI file parser that preserves formatting (comments,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also binaryornot · fitsio · bincopy · dissect.cstruct · fabio · lasio · pyorc · hurry.filesize · linear-tsv · resfo