Repository navigation
Releases
Omasheet 0.1.12
Omasheet 0.1.8 to 0.1.12: what changed since 0.1.7
Five releases in a week. Numbers now carry units, Decimal has a scale and Fraction is exact, windowed columns run in Polars, Boolean has formats and logic, every file has built-in constants, and Omasheet installs on macOS and Windows as well as Omarchy and Arch Linux.
Install or update
On macOS (Apple silicon or Intel) and on Omarchy and Arch Linux (x86_64 or aarch64):
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashOn Windows (64-bit), in PowerShell:
irm https://raw.githubusercontent.com/librasteve/omasheet/main/install.ps1 | iexThe macOS app and the Windows build are not code-signed. The installers fetch them in a way that avoids the Gatekeeper and SmartScreen warnings; a zip downloaded by hand will show them.
Units
- SI units in cell text.
5kg,300cm,20°C,9.81m.s^-2,45°30′30″. A sum or a comparison converts the right side to the unit of the left (5kg + 300gis5.3kg); a product or quotient combines the units; two dimensions that do not match are an error that says so.5kg.to('g')converts, andx.unit()andx.value()take a quantity apart:5kg.unit()iskg, andx.to('g').value()is its number of grams. - Prefixes. All the SI prefixes work on every unit, and a prefix and a
.alone is a scale:1k.is 1000. The bitband the byteBtake the binary prefixes too (KiBis 1024 B), andData,DataRateandDataDensitycolumns can be shown in any of them. - Metric units that are not SI, each an exact multiple of an SI unit: the litre
l(alsoL), the tonnet, the hectareha, thebar, the electronvolteV, the caloriecal, the watt-hourWhand the daltonDa. None of the imperial ones. - Angles and time.
radis the base unit, withsr,lmandlx, and°,′and″.sin,cosandtantake an angle in any unit, andarcsin,arccosandarctangive backrad. A quantity of time can be added to a time, date or date-time (17:05:00 + 10s). - Columns. A column can have a quantity type,
Weight : Mass, and a unit and number format in the brackets,Weight : Mass[g; .1f]. A cell in another unit of the same kind is converted, a bare number is read in the column's unit, and a cell of another dimension is an error.sum,mean,min,maxandmediankeep the unit. - Uncertainty.
10.5(3)e-3kgand5kg ± 100gcarry their uncertainty through arithmetic. AScientifichas the same notation without a unit. - Parquet. A quantity column is a struct of value, uncertainty and unit, with its kind kept so it opens as the same type. CSV and JSON write the text (
5kg); an XLSX export writes text and says the unit is dropped. Importing a CSV, JSON or XLSX never turns text like12ginto a quantity. - The units come from
siquant, a Rust crate of SI units and prefixes (github.com/librasteve/siquant), which is vendored in the repository.
Exact numbers
Fractionis an exact rational of arbitrary-precision integers, always reduced: a googol at one end and 1 over a googol at the other. It is written1/7in a cell and<1/7>in an expression, shown as1/3or2 1/3, and it never lowers to Polars. A sequence seeded with whole numbers and fractions steps exactly:1, 1/3goes down by2/3, not by0.667.- Everything else lowers to Polars, including
/andmeanover aDecimal, so a column of money is computed by the dataframe and not cell by cell. Where a product might overflow Polars' intermediate, the engine falls back to the exact path and gives the true answer. Decimal(n)is a column type, and an undeclared column takes the smallest scale that holds every cell, up to 18 places, andFractionpast that. Mixed scales work exactly:Decimal(a)besideDecimal(b)isDecimal(max(a, b)). A declared column given more places than it keeps is refused, cell by cell, with the type that would hold it.- Interchange. Parquet writes a
Fractionas a struct of two strings,numandden, with its kind in the file's metadata, and--decimalwrites the nearestDecimalorFloat64instead and says what was cut. CSV and JSON write1/3as text, and XLSX the rounded double with a note.
Windowed columns
cum_sum, diff, pct_change, rank, forward_fill, backward_fill and the rolling_ family (rolling_sum, rolling_mean, rolling_min, rolling_max, rolling_std) run in Polars, over Decimal as well as Integer and Float, with by to partition: Amount.cum_sum(by Account), Amount.diff(1, Date by Account), Score.rank(min, desc by Region). See docs/expressions.md.
Booleans, complex numbers and built-in constants
Booleancolumns take display formats, including symbol formats such as✓✗, and there are logic functions and gate operators. Booleans are set right in the grid. Seeexamples/booleans.omx.Complexhasre,im,conjandarg, withabs,sqrt,exp,ln, the logarithms and the inverse trigonometric and hyperbolic functions, and a column of complex results is typedComplex.iis a built-in constant:3 + 4 * iis3+4i.- Built-in constants every file has:
pi,tau,e,i, the speed of lightc, standard gravitygn,planck,hbar,kB,NA,R,qe,Gandme, as the 2019 SI defines the exact ones and CODATA 2022 the rest. A constant of the same name in the file wins. The app lists them after the file's own, greyed; they cannot be edited or deleted. - A format for constants.
consts [; .10s]before the first sheet is the number format the constants' values are shown by, set fromSet format…on the Constants tab. Without the line they use the default format.
In the app
- Type and unit pickers. Set type opens a picker grouped by domain, with a live check, and a unit picker for quantity columns. Set format works like the filter box: a legend of examples, checked as you type, and a short reason in red when it is wrong. F4 cycles the Set panels.
- Whole columns carry their type. Copying or cutting whole columns and pasting them onto whole columns brings the type, unit and format with them. Paste format in the column menu pastes only those, and no values.
- Copy values, selectable error messages, a draggable filter popup, a Clear filter button, filter undo, a summary that honours filters, and a cell editor that spills past the last column.
- Windows: the app starts no console window, uses Consolas for the grid, shows its symbols correctly, and carries the Omasheet icon on the executable, the Start menu shortcut,
.omxfiles and the Apps & features entry. Run from PowerShell or cmd, theomasheetcommand still prints there, though the prompt may return before its output appears.
Installers and packaging
- macOS and Windows installers (0.1.9). On macOS
Omasheet.appgoes into/Applicationsandomasheetis linked into/usr/local/bin; the app carries its own Qt. On Windows it installs to%LOCALAPPDATA%\Programs\Omasheetwith no administrator rights, adds a Start menu entry, opens.omxfiles, putsomasheeton your PATH, and lists itself in Apps & features with an uninstaller. - Every release attaches the Arch packages (x86_64 and aarch64), the macOS zips (arm64 and x86_64) and the Windows zip, all checksummed and attested, and the Omarchy package is checked against the tag's source.
- Fixed since 0.1.9: the macOS installer stopped at "not what SHA256SUMS says it should be" on a Mac whose own
sha256sumhas no--check; it usesshasumnow. - The agent skill for Claude Code,
skill/omasheet/SKILL.md, is installed to/usr/share/omasheet/agent-skill/omasheet/, and the package prints the command that links it into Claude Code.omasheet-mdrenders documents from sheets with the same displays as the grid, anddocs/and the README are up to date.
Known issues
- Double-clicking an
.omxin Finder may not open it;omasheet file.omxdoes. - The
dateformatsexample differs on a machine whose locale writesAMandPMwhere the example expectsa.m.andp.m..
By release
| 0.1.8 | SI units, data, angles and time, uncertainty, complex functions, three-place display, type and unit pickers, whole-column paste |
| 0.1.9 | macOS and Windows installers, Boolean formats and logic, paste format fix |
| 0.1.10 | Decimal(s) with a column scale, exact Fraction, windowed columns in Polars, quantity formats, unit() and value(), metric non-SI units, constants format; code formatting for CI |
| 0.1.11 | macOS installer checksum fix, Windows font, exact powers and fraction sequences, built-in constants in the app |
| 0.1.12 | Windows symbols and no console window, Windows icon, i, a unit after a constant |
Omasheet 0.1.11
Omasheet 0.1.11
Fixes to the macOS installer and the Windows font, with exact powers and sequences, and the built-in constants shown in the app.
Install or update
On macOS (Apple silicon or Intel) and on Omarchy and Arch Linux (x86_64 or aarch64):
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashOn Windows (64-bit), in PowerShell:
irm https://raw.githubusercontent.com/librasteve/omasheet/main/install.ps1 | iexFixes
- macOS installer. On a Mac whose own
sha256sumhas no--check, the installer stopped at "not what SHA256SUMS says it should be" and installed nothing. It now usesshasum. - Windows font. The grid used the family name
monospace, which Windows does not know and may fill with a symbol face. It now uses Consolas, as macOS uses Menlo. 5 kgstays an error; only a name or a call beside a number makes a product.
Exact numbers
- A power of whole numbers is an exact
Fraction:10 ** 100is not rounded and10 ** -2is1/100. - A sequence seeded with whole numbers and fractions steps exactly:
1, 1/3goes down by2/3, not by0.667. 1/1joins with1as aFractionin the table of type joins indocs/format.md.
In the app
- The built-in constants every file has, such as
pi, are listed after the file's own, greyed. A constant of the same name in the file replaces one, and a built-in cannot be edited or deleted.
Omasheet 0.1.10
Omasheet 0.1.10
A patch release over 0.1.9: the code is now cargo fmt clean, so CI passes.
Install or update
On macOS (Apple silicon or Intel) and on Omarchy and Arch Linux (x86_64 or aarch64):
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashOn Windows (64-bit), in PowerShell:
irm https://raw.githubusercontent.com/librasteve/omasheet/main/install.ps1 | iexAlso
- Formatting fixes so the CI format check passes.
Omasheet 0.1.9
Omasheet 0.1.9
Omasheet now installs on macOS and Windows as well as Omarchy and Arch Linux, and Boolean columns get formats and logic functions.
Install or update
On macOS (Apple silicon or Intel) and on Omarchy and Arch Linux (x86_64 or aarch64):
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashOn Windows (64-bit), in PowerShell:
irm https://raw.githubusercontent.com/librasteve/omasheet/main/install.ps1 | iexThe macOS app and the Windows build are not code-signed. The installers fetch them in a way that avoids the Gatekeeper and SmartScreen warnings; a zip downloaded by hand will show them.
Installers
- macOS.
Omasheet.appgoes into/Applicationsand theomasheetcommand is linked into/usr/local/bin. The app carries its own Qt. - Windows. Installs to
%LOCALAPPDATA%\Programs\Omasheetwith no administrator rights, adds a Start menu entry, opens.omxfiles, putsomasheeton your PATH, and lists itself in Apps & features with an uninstaller. - Releases now attach the macOS (arm64 and x86_64) and Windows zips beside the Arch packages, all checksummed and attested.
Booleans
Booleancolumns take display formats, including symbol formats, and there are logic functions and gate operators. Seeexamples/booleans.omxanddocs/omx.md.- Booleans are set right in the grid.
In the app
- Paste format and the column caret fixes.
Also
- README and
docs/brought up to date, including the type hierarchy.
Known issues
- The Windows build and installer, and the Intel macOS build, have not been run on those systems before this release.
- Double-clicking an
.omxin Finder may not open it;omasheet file.omxdoes.
v0.1.8
Numbers now carry units. A cell can hold 5kg, 9.81m.s^-2 or 45°30′, and sums, products, comparisons and conversions follow the units, with an error for a mismatch. Numbers can also carry an uncertainty (10.5(3)e-3), Complex gets a full set of functions, and the way numbers are shown has changed: three places by default, with a · wherever digits are not shown.
Install or update
On Omarchy and Arch Linux, x86_64 or aarch64:
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashIf pacman cannot satisfy a dependency on qt6, run sudo pacman -Syu and then the line above again. Install from source to run on macOS.
SI units
A unit is written straight after the number, in SI, with no space: 5kg, 300cm, 20°C. A unit of more than one term is joined with . and takes ^ and a whole exponent, kg.m^2.s^-2. There is no / and no space.
- Arithmetic. A sum or a comparison converts the right side to the unit of the left (
5kg + 300gis5.3kg). A product or quotient combines the units, and a result with no dimension is a plain number (6m / 3cmis200). Two quantities of different dimensions are an error that says so. - Conversion.
5kg.to('g')gives5000g. Celsius differences stay Celsius (20°C - 10°Cis10°C). - Prefixes and scales. All the SI prefixes work on every unit. A prefix and a
.on their own is a scale:1k.is 1000 and5m.is 0.005, both exact numbers, andmalone is still the metre. - Uncertainty.
10.5(3)e-3kgand5kg ± 100gcarry their uncertainty through arithmetic. - Columns. A column can have a quantity type,
Weight : Mass, and a unit and number format in the brackets,Weight : Mass[g; .1f]. A cell in another unit of the same kind is converted to the column's unit, a bare number is read in it, and a cell of another dimension is an error. Quantity columns are set right in the grid like any number. - Aggregates.
sum,mean,min,maxandmedianof a quantity column keep the unit. - Parquet. A quantity column is written to Parquet as a struct of value, uncertainty and unit, and its kind is kept so it opens as the same type. In CSV and JSON a quantity is written as text (
5kg); an XLSX export writes text and says the unit is dropped. Importing a CSV, JSON or XLSX never turns text like12gor10minto a quantity. - The units come from
siquant, a new Rust crate of SI units and prefixes (github.com/librasteve/siquant). It is taken from crates.io (siquant0.1.2).
Data, angles and time
- Data. The bit
band the byteBtake the SI prefixes (kBis 1000 B) and the binary ones (KiBis 1024 B). A rate needs no unit of its own (MiB.s^-1), and1Ki.is 1024.Data,DataRateandDataDensitycolumns can be shown in any of them,Data[GiB], so a drive's capacity over its platter area comes out inTib.m^-2. - Angles.
radis the base unit, withsr,lmandlxbuilt on it, and°(alsoº),′and″as units.45°30′30″is a literal, anddms()writes an angle that way.sin,cosandtantake an angle in any unit (a plain number is radians), andarcsin,arccosandarctangive back aradquantity. Seeexamples/angles.omx. - Time. A quantity of time can be added to a time, date or date-time,
17:05:00 + 10s, as aDurationcan, and converts to and from aDuration. A time of day wraps at midnight, and a date-time follows the clocks of its zone. Seeexamples/durations.omx.
Approximate equality
=~= compares numbers, complex numbers and quantities within a tolerance of 1e-15 of the larger, or absolutely when either is zero: sin(pi()) =~= 0 is true where == is false. An uncertainty is ignored. == on a Float stays exact, and on a Scientific it compares within the combined uncertainty.
Uncertain numbers
A Scientific is a number with an uncertainty in brackets, 10.5(3)e-3, or written with ±. The uncertainty propagates through arithmetic and the math functions, takes the number formats, has its own entry in the type menu, and is written to Parquet as a struct (an XLSX export drops the uncertainty). ± binds tighter than any other operator. See examples/uncertainty.omx.
Complex numbers
re,im,conjandarg, withabs,sqrt,exp,ln, the logarithms, and the inverse trigonometric and hyperbolic functions, now take aComplex. Their results come back complex where they leave the real line (arcsin(2)is1.571+1.317i).- A
Complexconverts to a real only when its imaginary part is exactly zero. The old tolerance that allowed3+1e-16ito convert is gone. - A column of complex results is typed as
Complex. Seeexamples/complex.omx.
How numbers are shown
- A
Decimal, aFloat, the parts of aComplexand aQuantityare shown to three places after the point. Anything cut is marked with·(1/3is0.333·,sqrt(2)is1.414·,arcsin(1)is1.571rad·). A number with three places or fewer is shown whole, and one below a thousandth keeps its digits. Pointing at a cell shows the number in full, andomasheet eval --exactand files give every digit. - Before that, a
Floator the part of aComplexis rounded to 15 places so that the noise of a calculation shows as nothing:cos(90°)is0·and not6.123e-17. The 15 is thefloat_placesof the display style, which can be turned off in code but has no setting in the app yet. - A
Scientificand a quantity with an uncertainty are not cut: the uncertainty sets the digits. omasheet render(Markdown and--html) sets quantity columns right, as the grid does.
In the app
- Type and unit pickers. Set type opens a picker grouped by domain, with a live check and a master caret, and a unit picker for quantity columns that shows the base unit ticked and examples. Both have Apply and Close buttons and clear buttons, and Tab cycles between the panels.
- Set format works like the filter box: typed with a legend panel of examples, checked as you type, and shown in red with a short reason when it is wrong.
- F4 cycles the Set panels and shows help beside F3's.
- Whole columns carry their type. Copying or cutting whole columns and pasting them onto whole columns brings the type, unit and format with them, including when inserted with Insert cells before/after. Paste format in the column menu pastes only the type, unit and format, with no values, and replaces Paste transposed there.
- Copy values, selectable error messages, a draggable filter popup, a Clear filter button, filter undo at Apply, a summary that honours filters, and a cell editor that spills past the last column.
Also
omasheet-mdrenders documents from sheets with the same displays as the grid (seeexamples/showcase/for a Starship flight-plan example).- The
omasheetagent skill and a language spec of OMX are in the repository. docs/(format, expressions, OMX, app, interop), the README and the skill are up to date with all of the above.
Tests
The engine test suite passes in full. The three tests that failed in earlier builds are settled: how_much_of_the_corpus_lowers is removed, and a_comparison_uses_the_values and every_math_function_carries_its_slope were brought up to date with the comparison tolerance and the inverse trigonometric functions that give a rad quantity.
Known issues
- The
dateformatsexample differs on a machine whose locale writesAMandPMwhere the example expectsa.m.andp.m.. - The clipboard changes for whole columns were tried out only by building and starting the app.
v0.1.7
Omasheet is a text-native spreadsheet: plain-text .omx files of named, typed sheets, with formulas in OMX and exact arithmetic.
Install or update
On Omarchy and Arch Linux, x86_64 or aarch64:
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashIf pacman cannot satisfy a dependency on qt6, run sudo pacman -Syu and then the line above again. Install from source to run on macOS.
Big files open at once
A CSV, JSON or XLSX over 4 MB, and a Parquet file of more than 10,000 rows, is now read as a table instead of being imported as text. A 1.1 GB CSV of 20 million rows opens at once.
- The app shows the first 1,000 rows straight away while a Parquet copy is written in the background, and a marker at the foot of the grid says "Showing the first N rows — loading the rest…" until it is done. The copies are kept in a cache that is held to a bounded size.
- Only the rows on the screen are formatted, and only the columns a formula names are read. A
head(5)reads the first row group, not the file, andlenof a selection counts rows without reading the column. An aggregate over a selection (Passengers[; Pclass == 1].Fare.sum()) is one Polars pass. - A million-row table opens in about 0.4 s, and adding a formula column to it takes about the same.
- Adding a formula column to a big table keeps the file's columns, and a formula that fails in every row lists a few hundred problems and then "and N more like these" instead of millions (the old list made a snapshot of hundreds of megabytes, which crashed the app).
- Copy into the document, on a table's tab menu, copies a table's rows into the file as a sheet of its own to edit. It refuses a table with formula columns, and one too big to hold.
- A CSV is read with its own literals: exact decimals, percent columns (
12.5%), lowercase hex.
Sorting and filtering a column
The circle on a column's header opens a popup with Sort Ascending, Sort Descending and a filter. A filter is an expression in which * is the cell:
* >= 3
*.starts_with('A'..'C')
*.to_lowercase().contains('an')
*.year == 2025 and *.weekday >= 6
- The box is checked as you type and turns red, with the reason on hover, while the expression is wrong.
- On a table the filter is one Polars pass over the column, so it opens on millions of rows as fast as on ten. A filter and a sort are a view on the sheet: a save and an export still hold every row.
Types
The numeric types form a hierarchy of increasingly expressive number systems:
ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ
Where:
- Integer (ℤ) — integers
- Decimal (ℚ) — rational numbers
- Float (ℝ) — real numbers (approximately represented)
- Complex (ℂ) — complex numbers
For any binary operation, the result takes the least common number system containing both operands:
A op B ∈ max(A, B)
Note: This is a conceptual mathematical model. Machine integers, Decimal128 and Float64 are finite-precision representations, rather than the mathematical sets themselves.
For example:
Integer+Decimal→DecimalDecimal*Float→FloatFloat+Complex→Complex
Each type may have multiple representations:
| Type | Literal | Representations |
|---|---|---|
| Integer | 1 |
Hex 0xff, Octal 0o17, Binary 0b101 |
| Decimal | 1.0 |
Fraction 1/7, Mixed fraction 2 3/4, Percent 14.29% |
| Float | 1e0 |
- |
| Complex | 3+4i |
- |
- Same representation: The representation is preserved. Hex + Hex stays Hex; Fraction + Fraction stays Fraction.
- Different representations of the same type: The result uses the plain type. Hex + Binary becomes Integer; Fraction + Percent becomes Decimal.
- Different types: The more infectious type wins, and the result uses its plain representation. Fraction × Integer becomes Decimal.
Additional rules:
- A power with a non-whole exponent, such as
2 ** 0.5, produces a Float. - Functions such as trigonometric, exponential or logarithmic produce Floats.
- An operation involving String type produces Any.
Complexfunctions arere,im,conjandarg, andabs,sqrt,expandlnaccept one.Complexis written to Parquet as a struct of twoFloat64fields,reandim.- Datetimes with a time zone, a declared time zone on a column, and Parquet durations and widths are read and written.
- A Decimal that overflows its 38 digits is caught.
In the app
- Tabs can be dragged to reorder, and the last file opens when the app starts.
- Constants can be deleted.
- The grid is quicker to write to, and menus and hover hints are tidied.
Packaging
A recipe for the Omarchy package repository is in pkgbuild/omarchy-pkgs/omasheet.
Also
docs/(format, expressions, app, interop), the README and theomasheetskill are up to date with all of the above.- The release build uses a smaller, faster profile.
Demo data
Big files for trying how Omasheet opens big data: NYC TLC trip records, which are public. Not a release of Omasheet.
Download them into demo_data/ with demo_data/fetch.sh; see demo_data/README.md.
| File | Rows | Source |
|---|---|---|
| yellow_tripdata_2026-01.parquet (64 MB) | 3,724,889 × 20 | NYC TLC yellow taxi, January 2026 |
| fhvhv_tripdata_2019-03.parquet (611 MB) | 23,864,598 × 24 | NYC TLC ride-hail, March 2019 |
| fhvhv_tripdata_2021-06.csv.gz (176 MB; 921 MB unzipped) | 14,961,892 × 7 | NYC TLC ride-hail, June 2021, via DataTalksClub |
Omasheet v0.1.6
Omasheet is a text-native spreadsheet: plain-text .omx files of named, typed sheets, with formulas in OMX and exact arithmetic.
Install or update
On Omarchy and Arch Linux, x86_64 or aarch64:
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashIf pacman cannot satisfy a dependency on qt6, run sudo pacman -Syu and then the line above again.
Polars underneath
Omasheet now uses Polars for its numbers, types and big tables. Where a column's formula has the same answer in Polars, Polars calculates it in one pass; otherwise the engine does as before.
Names changed — older files may need editing
OMX now uses the Polars names. An old name is reported as unknown; there is no automatic rename.
- Types:
Bool→Boolean,Text→String,Num→Float,DateTime→Datetime. A blank cell isNull. - Functions:
avg→mean,eom→month_end,to_zone→convert_time_zone,asin→arcsin. countcounts what is not empty, and the newlencounts rows.round(x, 2)rounds to two decimal places; writeround(x / 100) * 100for a nearest multiple.Complexis gone. ADecimalis a 38-digit fixed point and anIntani64;Fractionis a way of showing a decimal,1/7or2 3/4.
New functions: len, median, std, var, quantile, product, first, last, head, tail, shift, is_null, is_not_null, fill_null, is_in, cast, month_start, quarter, week, ordinal_day, is_nan, is_not_nan.
Parquet
table Passengers := dataframe["titanic.parquet"]
A sheet can read its rows from a Parquet file. It takes the file's columns, reads only the columns a formula asks for, and is read-only; its tab shows the file and the number of rows. omasheet import reads a .parquet and omasheet export --parquet writes one per sheet, and the app opens and exports Parquet too. With --meta, the export keeps the formulas, so importing the file again brings back the computed columns.
Sheets calculated from other sheets
sheet Dearest := Passengers |> sort(Fare, desc) |> select(Name, Fare) |> head(5)
sheet ByRegion := Sales |> group_by(Region) |> agg(Revenue.sum(), Orders := Item.len())
sheet Both := Sales |> join(Targets, Month, left)
filter, sort, select, head and tail pick and order rows, group_by … agg makes one row per group, and join pairs the rows of two sheets where their keys match. [Revenue; *-1 by Region] reads the row before within the same region, for a running total per region. A sheet can also be just := lines, as long as the sheets its formulas read.
In the app, a column can be sorted and filtered from its header.
New types
Duration, written in ISO 8601:PT30M,P1DT6H,P2W. Subtracting two dates or times gives one;total_days,total_hours,total_minutesandtotal_secondsturn it into a number.Hex,OctalandBinary:0xff,0o17,0b101, with the bitwise operators+&,+|,+^and the shifts+<and+>, written as in Raku.Url,EmailandUuid: text that is checked when it is entered, or converted in a formula withEmail(x).- Times hold fractions of a second, and a column can declare its time zone.
Formats on a column
Price : Decimal['.2f]
Due : Date[%d %b %Y]
A format in brackets after a column's type sets how its cells are shown, in the CLI, in Markdown and in the app.
In the app
- The formula box opens to four lines for a formula over several lines; Alt+Enter adds a newline.
- The function directory is divided into sections you can open and close.
- Rows or columns that were cut or copied are inserted in place of blank ones.
- Ctrl+Alt+N opens a new file.
Omasheet v0.1.5
Omasheet is a text-native spreadsheet: plain-text .omx files of named, typed sheets, with formulas in OMX and exact arithmetic.
Install or update
On Omarchy and Arch Linux, x86_64 or aarch64:
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashIf pacman cannot satisfy a dependency on qt6, run sudo pacman -Syu and then the line above again.
Sequences fill a column
A computed column may now be written as a sequence, terms ... limit. The terms given start the column and the rest follow a rule, taken from the terms where none is written:
Odd := 1, 3 ... Inf # 1, 3, 5, 7, …
Double := 1, 2, 4 ... Inf # a constant ratio
Fib := 0, 1, $-1 + $-2 ... Inf # a rule of its own
Count := 20, 15 ... 0 # stops at its limit
Col := "A", "B" ... Inf # A, B, … Z, AA, AB, …
Day := "Monday", "Tuesday" ... Inf # round and round
Period := "Nov-2026", "Dec-2026" ... Inf # carries into the year
Monthly := 2025-01-01, 2025-02-01 ... Inf # the first of each month
MonthEnd := 2025-01-31, 2025-02-28 ... Inf # Mar 31, Apr 30, …
$-1 is the term before this one and $-2 the one before that. Inf fills the column; any other limit stops the sequence there and leaves the rows after it empty.
The days of the week and the months of the year are known by name, in full or in three letters, in any case, and they go round: Sunday is followed by Monday. A month written with its year carries into the year instead. Any other text counts up the way letters and digits do, carrying at Z and 9.
Dates a fixed number of days apart step by days; dates on the same day of each month step by months, however many days that is, counting from the largest day given — so the end of February goes on to the end of March, not back to its 28th.
Alongside it: n.day, n.week, n.month and n.year next to a date, and the functions succ, add_months and eom. examples/sequences.omx has all of it at work.
Copy, cut and paste across the grid
Cells, rows, columns and whole sheets now copy, cut and paste as one.
- A copy is outlined from its row numbers and column headers, a cut dashed, and Esc lets go of it before the selection.
- Columns paste onto one column whole, and past the last they are added, named after their source with
_001. Columns pasted onto others holding each other's names are renamed through spare names rather than refused. - A whole sheet copied onto another makes a copy under its name with
_001; cut and pasted, it is moved there. Deleting a sheet asks first. - A copy pasted onto a smaller block is cut to its size, one cell cut onto a block fills it, and a paste is undone as one step.
- Formula cells paste onto formula columns as their formulas, unless they differ from row to row.
Picking cells into a formula
Drag for a range and Ctrl+click for a list; Shift+Arrow picks a range and shows it as it grows, Ctrl+Arrow goes to the end, and Alt picks by row number. The cells a formula refers to are highlighted, and the formula box echoes the edit and its cursor.
A cell of a formula column stands for the column
Enter edits its formula, F2 renames it, a copy of it is its formula, and a formula pasted there becomes the column's. F2 also renames a column in its header. A cell that does not fit its column now says which column, which type and what it expected.
Numbers and functions
sum, avg, min, max and count take several vectors, blocks and values together. A Decimal is any exact number, shown cut and marked where it does not end, and a column of no declared type holding one is a Fraction column.
Rows
Rows are put in only from the grid: Ctrl+Enter on rows or one cell, not mid-edit. Enter on the last row no longer adds one. Insert rows opens with its count unselected and the cursor after it.
Omasheet v0.1.4
Omasheet is a text-native spreadsheet: plain-text .omx files of named, typed sheets, with formulas in OMX and exact arithmetic.
Install or update
On Omarchy and Arch Linux, x86_64 or aarch64:
curl -fsSL https://raw.githubusercontent.com/librasteve/omasheet/main/install.sh | bashIf pacman cannot satisfy a dependency on qt6, run sudo pacman -Syu and then the line above again.
Every sheet is a Markdown table
A sheet is now written between outer pipes, with a --- line under the header row, so an .omx file reads as Markdown tables wherever it is shown, a sheet of one column too:
| Month | Revenue | Cost |
| ----- | ------- | ---- |
| Jan | 10000 | 6000 |
Existing files open as they are. A sheet changed in the app, a new file, and an imported workbook, CSV or JSON are written the new way. The source view (F3) shows every sheet as a table, lined up, and keeps it so when the source is edited there.
New in the app
- In a formula, the arrow keys pick a cell only where a reference can go, and move in the text elsewhere. Alt+arrows always pick, and Escape takes back a pick.
- F2 on a whole column renames it in its header, and on the whole sheet in its tab.
- Right-click a sheet tab, or the corner above the row numbers, for the sheet's menu; Ctrl+. opens it above the tab when the whole sheet is selected.
- Each sheet keeps its cursor and selection when you come back to it.
- The box at the top shows only how to write a value, such as the date format; formula cells are shown in regular text.
Also
- Showcase examples and screenshots updated.
Early and changing. May contain errors.
