Changelog
This changelog is generated automatically from GitHub Releases.
v0.30.1
2026-11-24 · GitHub
README note on what 0.30 changed at the command line, so the PyPI page carries it; the README also now describes the great-docs site and uses the quiet library correctly in its examples. No code change. See the v0.30.0 release for the full list.
v0.30.0
2026-11-23 · GitHub
0.30 cleaned up the command line. Renamed verbs (list → show, metakernels/mk → ls, resolve/aliases → which, duplicates → stats, verify → check, prune → clean; the old names still run with a note until 1.0), update walks every tracked metakernel and downloads only with --execute, a kernel_dirs list in the config (one root is the normal case) with no configured download target, exit codes a script can read (check bits 1/2/4, untracked 1, ambiguous 2, broken config 78), a quiet library with spice_kernel_db.__all__ as its public API, and docs generated from the code. The README on GitHub carries the same note.
The version jumps from 0.22.3 to 0.30.0 to mark the CLI redesign: there are no 0.23 to 0.29 releases. Everything below landed between 2026-11-19 and 2026-11-23 from the CLI review (#41, #43, #45 to #49, #53, #55).
Changed
- The documentation is built with great-docs (#53). The API reference is generated from the docstrings of the public names (
great-docs.ymlreference:, kept equal tospice_kernel_db.__all__by a test); the hand-writtenapi.qmdis gone and what it said now lives in those docstrings. The guides (motivation, design, usage, CLI, coverage, tutorial, troubleshooting) are unchanged in content, andmake docs/make servebuild and preview the site.
Added
A quiet library and a declared public API (#49, closes #6). Nothing under
spice_kernel_dbprints unless it is handed arich.console.Console:KernelDB(console=...)is where tables, notes, progress bars and the download question go, and without one (the default) get_metakernel answers its own question with no and reportsaborted. The CLI passes its console. Warnings go through thespice_kernel_dblogger, which the CLI routes to stderr (INFO under--verbose).spice_kernel_db.__all__is the public API, listed indocs/index.qmd§ Public API and held stable within a major version, with module-level get, check, scan, register_metakernel, resolve_metakernel and metakernels_covering that open the configured database per call.config.pyneither prints nor prompts: a corrupt file raises ConfigError (the CLI prints the message and exits 78, the configuration-error code, instead of falling back to setup, which would have overwritten the file), ensure_config() with no file and noseed_rootraises it too, and the first-run questions live in thefetch_metakernel,list_remote_metakernelsandresolve_kernel_urlsare no longer exported from the package (they stay inspice_kernel_db.remote). For a program that mounts the command tree under its own CLI,spice_kernel_db.cli.app,spice_kernel_db.cli.exit_code(exc)and spice_kernel_db.cli.logging_to_stderr() are the host contract (planetarypy’splp spice).
check answers three questions, each with its own exit bit (#46). present (every listed kernel on disk, bit 1), resolves (every entry resolves through
PATH_VALUESto the file the database knows, bit 2) and matches remote (sizes, with--hashalso SHA-256, against the server, bit 4, only with--remote). The exit code is the sum, so a script can tell a missing kernel from a corrupt one, and the output never collapses into one tick.--jsonemits the verdicts and their evidence.doctor reports database health with no metakernel argument: poisoned supersession rows, kernel locations whose file is gone, tracked metakernels whose file is gone, and the table counts. It exits 1 only on poisoned rows (#46).
One resolver for every metakernel argument (#45). KernelDB.resolve_metakernel() turns a path, a registry filename, a versionless base name (with or without
.tm) or the source URL into the tracked file, case-insensitively, and every command (check,list,verify,coverage,update,rewrite,metakernels,resolve --metakernel) goes through it. A name that matches nothing exits 1 with the get hint; a name that matches several tracked metakernels raises the new AmbiguousMetakernel, and the CLI lists them and exits 2. The first match is never picked silently.rewritenow accepts the same forms and offers the picker when the argument is omitted.Pickers know whether they have a terminal (#45). With no argument at a terminal every picker behaves as before. In a script, a notebook or a pipe (stdin not a terminal) the candidates are printed on stderr and the command exits 2 instead of blocking on input; stdout stays clean for the caller.
Poisoned supersession rows are reported (#31). #29 made the state repairable but nothing said it existed: a user saw the same kernels re-download on every
updatewith no hint why. KernelDB.poisoned_superseded() lists kernels present on disk yet flagged as superseded by content that exists in no location. check names them and exits 1 when any are found; stats shows the count, highlighted when non-zero. Both point atscan <kernel_dir>as the repair.import <mk-file>tracks a metakernel that is already on disk (#47). It indexes the entries, registers the kernels the file resolves to that exist on disk, and adds the registry row with no source URL. It makes no network request.--missionoverrides the mission guessed from the path. The Python entry point is KernelDB.import_metakernel().updatewalks every tracked metakernel (#47). It re-fetches each one from its source and shows what is missing. It is a dry run by default;--executedownloads and is the confirmation, so there is no per-metakernel prompt. Alias rows (symlinks) are skipped. A source that answers 403, 404 or 410, or one that cannot be reached, is noted in the summary table and the walk goes on. The Python entry point is KernelDB.update_all(); get_metakernel() and update_metakernel() gained adry_runparameter for it.cleanremoves what points at nothing, in three named classes (#47):--locations(kernel locations whose file is gone, then kernel rows left with no location),--symlinks(dangling symlinks under each mission’s download tree) and--registry(tracked metakernels whose source URL answers 403, 404 or 410, the only class that contacts the server;--delete-filesalso unlinks the.tm). Dry run by default,--executeremoves. With no class flag the two local classes run, so a plaincleannow also sweeps dangling symlinks.get <name>re-fetches a tracked metakernel (#47). When the argument names a tracked metakernel, get fetches it from its stored source URL, downloads what is missing and re-indexes, which is whatupdate <name>did. A filename that is not tracked is still looked up on the configured mission’s server.Several kernel roots (#48).
[storage]inconfig.tomlnow holdskernel_dirs, a list in which no root is special. Every root is scanned, resolved against (which, check) and deduplicated across, sodeduplinks a kernel in one root to its identical twin in another. A file with onlykernel_dirloads as a one-root list and is rewritten askernel_dirson the next save.config add-root <dir>andconfig remove-root <dir>edit the list (#48).add-rootcreates the directory and does not add a root twice;remove-rootrefuses the last root and leaves files and database rows alone.skd configlists the roots.scan takes an optional directory (#48). With none it scans every configured kernel root.
Where a download lands is derived, never configured. get re-fetches a tracked metakernel into the root that holds it, puts a new metakernel into the one root that already holds its mission, and with one root uses that root. Only when several roots could take a new mission does it list them and ask at a terminal (exit 2 in a script);
--download-dirnames the root explicitly.scan --archivemoves each file into its own root or its mission’s root, settling every file before anything moves.update(the all-metakernels walk) and update_all() lose--download-dir, which would have forced metakernels from every root into one directory.KernelDB.root_for(mission, mk_path)is the one resolver and AmbiguousKernelRoot the exception. Before this, the first configured root was a “download target”, which would have written a re-fetched second-root metakernel into the first root.import --unofficialand theofficialcolumn (#48). A metakernel assembled locally, such as a subsetter’s output or planetarypy’sarchived_kernels.py, can be marked as not published by an archive.metakernel_registrygainsofficial BOOLEAN DEFAULT TRUE, added when an older database is first opened for writing; opened read-only before that (ls,show, doctor, check), every row reads as official.lsappendsunofficialto the name andshowprintsOfficial: no. RegistryRow, list_metakernels() and info_metakernel() carryofficial, andimport_metakernel(path, mission=None, official=True)sets it.Python functions for the roots (#48): kernel_roots(),
add_root(dir)andremove_root(dir), exported from the package, andensure_config(seed_root=...), which writes a first configuration with that root instead of prompting. An existing configuration is never changed by the seed.Config(db_path, kernel_dirs)holds the list; the single-rootkernel_dirparameter and property are gone.KernelDB(kernel_roots=...)anddb.kernel_rootscarry the roots used to guess a mission, anddb.scan_roots()scans every one.
Changed
verifyfolded into check (#46).verifystays as a hidden alias (--deepis--hash,--strictis ignored with a note) and its--jsondocument now has the three-verdict shape.check --fullis gone; the server comparison ischeck --remote, and--hashno longer needs it. The poisoned-row report moved from check to doctor, so check exits 1 for a missing kernel and nothing else. KernelDB.check_metakernel() prints nothing and no longer contacts the server; the newer-version notice is part of--remote, and KernelDB.check_report() returns the three verdicts as data.KernelDB.info_metakernel() and update_metakernel() raise MetakernelNotTracked for an unknown name instead of printing “not found” or raising a bare
LookupError; the CLI maps that to exit 1 in one place (#45).mk --removeno longer matches a bare prefix; it takes the same forms as every other command, so a prefix matching several rows is reported instead of removing the first one (#45).skd --versionand--helpstart faster (#26).requests,duckdb,importlib.metadataand Typer’s rich error formatter are now imported where they are used instead of at module level, so invocations that open no database and touch no network no longer pay for them. On the reference machine--versionwent from 184 ms to 123 ms and--helpfrom 187 ms to 141 ms.spice_kernel_db.__version__is resolved on first access; everything else in the public API is unchanged.The verbs were renamed and regrouped (#47).
--helpnow shows four panels in order: acquire (browse, get,update), inspect (ls,show,which,coverage, stats, check, doctor), maintain (scan,import,rewrite,rm,clean,dedup,reset) and configure (mission,config).browse,coverage,rewrite,dedup,missionandconfigkeep their names.metakernelsandmkbecamels [mission], the listing of tracked metakernels. The--missionoption is now the optional argument.listandmetakernels <name>becameshow <mk>: the registry row (mission, source, acquired, local path) plus the kernels with type, size and status.--typefilters the table. On a.tmthat is not tracked it lists the kernels and saysskd importtracks it.resolveand aliases becamewhich <kernel>. The first line is the local path. When the content is known under several filenames, the alias table and the on-disk locations follow. It accepts a filename or a SHA-256 prefix.--metakernel <mk>resolves every kernel of a metakernel. With no argument at a terminal it offers a picker over the deduplicated kernels.duplicateswas folded into stats: the database statistics come first, then the duplicate kernels section.metakernels --removebecamerm <mk>. It removes the registry row and its entries; the file stays. With no argument at a terminal it offers a picker.- prune became
cleanwith the classes named--locations,--symlinks(was--orphan-symlinks) and--registry(was--metakernels). The three classes can now be combined in one run. update <name>becameget <name>, andupdatewith no argument became the walk over all tracked metakernels, a dry run unless--executeis given.updatewith an argument printsnote: 'update <name>' is now 'get <name>'and runs get.resetmoved from the configure panel to the maintain panel. The command is unchanged.- scan never prompts (#47). A mission that is not configured and has no
.spice-servermarker no longer starts a setup dialog. scan prints theskd mission add <NAME> --server-url <URL>command instead, so it is safe in a script. - KernelDB.info_metakernel() takes
kernel_type=Noneto limit the printed kernel table to one type (#47).
Deprecated
- The old verb names remain as hidden aliases and are removed in 1.0 (#47). Each prints
note: 'old' is now 'new'on stderr, then runs the new command with the new command’s options:listisshow;metakernelsandmkarels, and with a nameshow, and with--removerm;resolveand aliases arewhich;duplicatesis stats; prune isclean(--metakernelsand--mkare--registry,--orphan-symlinksis--symlinks, and a plain prune keeps its old meaning of locations only);verifyis check (--deepis--hash);update <name>isget <name>.
Fixed
A re-scan of a directory holding a metakernel that get had fetched replaced its registry row, dropping the source URL and the acquisition time, so a later
updatereported it as added by scan with no source. A scan now writes a registry row only for a metakernel it sees for the first time; get andimportstill replace the row (found while removing the download target, 2026-11-21).A tracked metakernel’s mission comes from the registry, and
guess_missionknows the kernel roots (#43, #48). A metakernel in the default store (~/.local/share/spice-kernel-db/kernels/JUICE/mk/x.tm) got the missionSPICE-KERNEL-DB, the directory that holds the store, and check then reportedCross-mission: 102 kernels. check,rewrite,coverageand the server comparison now read a tracked metakernel’s mission from its registry row.guess_mission(filepath, roots=None)takes the first directory below a configured root as the mission, classifies a file under a root but in no mission directory from its filename alone, and applies the old heuristic only outside every root. scan andimportpass the configured roots. A scan that meets an already tracked metakernel keeps the mission andofficialflag of its row; get andimportstate them.doctor lists a path registered under more than one hash, and scan repairs it (#48). One file could carry two
locationsrows, such as a 0-byte row from an interrupted download beside the real one, and check then reportedSIZE_MISMATCHagainst the wrong row (!= expected 0). KernelDB.doctor() returns the paths asconflicting_locationsand the CLI prints them; the exit code is unchanged. register_file used to supersede one stale row at a path. It now supersedes all of them, so a scan of the directory keeps the row that matches the file on disk.check no longer reports
AMBIGUOUSfor a registered path whose filename exists elsewhere with other content (#48). When an entry resolves to a path (or to the file its symlink leads to) that is a registered location, that row’s size and hash are the expectation. Only an unregistered path falls back to the filename, where several activekernelsrows are stillAMBIGUOUS. Three differentnaif0012.tlsacross two stores no longer fail the check.verifyandlistcrashed on a registry filename that check accepted (#41). Both handed the bare name to the parser and died withFileNotFoundError; they now resolve it like check does.get -vno longer crashes (#39). The verbose “Resolved URLs” listing in get_metakernel() read a name that did not exist, so every verbose get ended in aNameErrorafter the kernel table. Found by ruff’s undefined-name check; a test now exercises the branch.Broad
except Exceptionhandlers no longer hide defects (#33). 21 handlers caught everything and reported something plausible; one had already turned aTypeErrorin verify_against_server() into “could not fetch”. Each now names what the call site raises:duckdb.IOExceptionfor the connect retry,duckdb.CatalogExceptionfor the startup case-duplicate check,OSError/http.client.HTTPExceptionon network paths,requests.RequestExceptionfor the size HEAD,SpiceyErroraround spiceypy. Two deadexcept Exception: raiselines are gone. The four that stay broad (two atomic-write cleanups, two transaction rollbacks) all re-raise and say so in a comment.Narrowing exposed what the issue predicted: 25 unit tests had been reaching the real network through the size lookup and check’s staleness probe, and the offline guard’s exception was being swallowed. Those tests now mock both, the
remote_sizesfixture patches the bindingdb.pyactually uses, and the guard exception is aBaseExceptionso no handler can hide it again.The test suite can no longer overwrite the user’s
config.toml(#28).test_config_setkept the realsave_configaway only by patching it by name; when the Typer port moved the import site the patch missed and~/.config/spice-kernel-db/config.tomlwas replaced with a test’s tmp paths, breaking every laterskdcall. An autouse fixture now pointsHOME,CONFIG_DIRandCONFIG_FILEat an empty directory for every test, and a session guard fails the run if the real config changed anyway.
v0.22.3
2026-10-26 · GitHub
Fixed
A kernel marked superseded now recovers when its file is present (#29).
superseded_byhad exactly one writer and it only ever SET the column, so once a hash was flagged nothing could clear it. Whenever anything wrote non-kernel content to a tracked path — a pre-0.17.0 interrupted download, a Dropbox conflict copy, an editor — the real kernel’s hash was marked superseded by that junk. Restoring the file marked the junk superseded in turn, leaving both rows flagged, and find_by_filename() excludes superseded rows. Soresolvereported “not found” for a byte-perfect file on disk,_should_skip_download()saw nodb_hash, and everyupdatere-downloaded the same kernel. Forever, with no shipped way to repair it.Observed on a real install where
pck00011.tpcandearthstns_fx_201023.bspre-downloaded on every run.register_file() now clears the flag when the superseding content exists in no live location. The condition is narrow on purpose: a genuine upstream update whose newer file is on disk keeps its supersession, so
resolvecan never start handing back a real older release. Content that supersedes nothing findable was never a version, only damage.If you have been bitten by this, run
spice-kernel-db scan <kernel_dir>— one pass over the tree heals every poisoned row. The damage is otherwise invisible without querying DuckDB by hand.
v0.22.2
2026-10-26 · GitHub
Packaging and citation metadata. No code changes from 0.22.0.
This supersedes 0.22.1, which was never published to PyPI: a git add -A in its version bump swept in a scratch build directory named dist_0210/, so the 0.21.0 wheel and sdist (272 KB) ended up in the repository, in the v0.22.1 tag and in the sdist built from it. .gitignore covered dist/ but not a differently-named build directory; it is now dist*/.
Changed
pyproject.toml’sauthorsfield said justMichael, which is what PyPI would have shown as the author. It now names K.-Michael Aye.New
CITATION.cff, which drives GitHub’s “Cite this repository” button, and new.zenodo.json, which overrides the creators Zenodo otherwise infers from the repository’s contributor statistics. Both carry ORCID 0000-0002-4088-1928 in the form each format requires: CFF takes the fullhttps://orcid.org/URL, Zenodo’s API takes the bare identifier.
Fixed
- The repository no longer carries build artefacts, and
dist*/is ignored.
v0.22.1
2026-10-26 · GitHub
Packaging and citation metadata only. No code changes from 0.22.0.
Changed
pyproject.toml’sauthorsfield said justMichael, which is what PyPI would have shown as the author. It now names K.-Michael Aye.New
CITATION.cff, which drives GitHub’s “Cite this repository” button, and new.zenodo.json, which overrides the creators Zenodo otherwise infers from the repository’s contributor statistics. Both carry ORCID 0000-0002-4088-1928 in the form each format requires: CFF takes the fullhttps://orcid.org/URL, Zenodo’s API takes the bare identifier.
These landed after the v0.22.0 tag, so this patch release exists to keep the tag, the published artefact and the Zenodo record pointing at the same thing.
v0.22.0
2026-10-26 · GitHub
The CLI is rebuilt on Typer, and a crash in every empty interactive picker is fixed.
Changed
The CLI is built on Typer instead of argparse. Every command, flag, default and exit code is unchanged bar the one exception below; what changed is the shape of the code and of
--help.cli.py— 2,014 lines holding one argparse definition block and a 490-lineif args.command == ...chain — is now thecli/package with one module per help panel:browse.py(browse, get, update),inspect_cmds.py(list, check, verify, coverage, metakernels, resolve, aliases, stats, duplicates),transform.py(scan, rewrite, dedup, prune) andconfigure.py(mission, config, reset), plusprompts.pyfor the shared interactive pickers. Each command is one typed function, so adding a flag is adding a parameter.--helpnow generates its four command panels from the registrations instead of a hand-maintained epilog, which had already drifted and omittedverify.-hstill works. New:--install-completionand--show-completion.Usage errors are worded by Click rather than argparse; they still exit 2.
Abbreviated long options are no longer accepted. argparse completed any unambiguous prefix, so
--miss JUICE,--execand--archworked. Click does not: they now fail with exit 2 and name the full option (No such option: --miss (Possible options: --mission)). Spell options out in scripts and shell aliases.
Fixed
“No locally acquired metakernels” crashed instead of printing it. Eleven call sites passed
stderr=Truetorich.Console.print(), which has no such argument, so every interactive picker that found nothing to pick — check,list,verify,coverage,update,resolve, aliases, and get with no argument on an empty registry — died with aTypeError. They now write the hint to stderr as intended.The Keep a Changelog header and
[Unreleased]section, dropped by the 0.21.0 release commit, are back, along with the[0.21.0]comparison link that commit never added.
Full notes: CHANGELOG.md
v0.21.0
2026-10-24 · GitHub
Eight issues closed, the unit suite made offline by default with a real network suite alongside it, and the 6,062-line test module split by subsystem.
Added
check --fullcompares each local kernel against the server (#15). check only asked whether a file of each name existed, so a file holding the wrong content counted as present. Onjuice_crema_5_2_v473_20260819_001.tmit reported “Found locally: 102/102” while 10 kernels differed from the server, one of them a 245 MB DSK present as 11 MB.Size is compared first, one HEAD per kernel, which already proves two files differ.
--hashadditionally compares sha256 for kernels whose size matched, and--spicefurnshes every local kernel and reports what SPICE cannot read. The command exits 1 when anything is wrong. New: KernelDB.verify_against_server().A real network test suite (
tests/test_network.py): 11 requests against NAIF and ESA covering probe classification, both directory-listing formats, size queries, and ESA’s TLS handshake timing. Markednetworkand deselected by default, sopytest -m networkruns them deliberately.
Fixed
- check resolves a bare metakernel name before parsing it (#11)
- get and
updateaccept-v, andupdate’s help matches get’s (#3, #4) probe_urldistinguishes absent from unreachable (#10): a 404 from a healthy server no longer reads the same as a server that never answered- Explicit timeouts on every
urlopen(#12), so a stalled connection fails rather than hanging indefinitely - CI moved off the deprecated Node 20 actions
Changed
- The legacy database lookup is gone. A legacy file is no longer picked up silently; it raises LegacyDatabaseFound with migration instructions.
- Unit tests are hard-offline by default, enforced by a socket guard rather than hoped for. One test had been opening six real TLS connections to naif.jpl.nasa.gov whose failures were swallowed, so the assertions never depended on them. Blocking the sockets changed no assertion, which is the argument for blocking them: 23.1 s to 9.4 s, and CI no longer needs JPL to be up.
tests/test_kernel_db.pysplit intotest_remote.py,test_cli.py,test_metakernel.py,test_db.pyandtest_regressions.py. Every branch had been appending to the same two files and colliding; the 337 collected test IDs are byte-identical before and after.
Full notes: CHANGELOG.md
v0.20.1
2026-09-18 · GitHub
Fixed
resolve_kernel no longer returns a different filename than the one asked for (#9). find_by_filename joins on
sha256, so two byte-identical files under different names share onekernelsrow and either name matches both of theirlocationsrows. The winner was whichever path the scanner walked last, soresolve juice_crema_5_2.tmcould hand backjuice_crema_5_2_v473_20260819_001.tm. A location actually named as requested now always wins.No caller could ever have loaded different data than it asked for: the join is on content, so every path returned was byte-identical to the file requested. What was wrong was the name, which matters for recording which file a run used.
The content match is kept as the documented fallback —
jup365.bspresolving to a location namedjup365_19900101_20500101.bspwhen no file of the requested name is registered — and now adds a warning naming the file used.
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md
v0.20.0
2026-09-18 · GitHub
Remote size queries were slow and could silently lose sizes.
Released first as 0.19.1, then re-released as 0.20.0: the change adds a runtime dependency, which is not a patch-level change. Same code.
Changed
- Remote size queries reuse connections.
query_remote_sizes(behind get andupdate) opened a fresh TCP+TLS connection for every kernel, so a 102-kernel metakernel paid 102 handshakes. It now keeps onerequestssession alive per worker thread. Measured onjuice_crema_5_2.tm(102 kernels) against the ESA archive: 135 s before, 17 s after. requests>=2.31is now a runtime dependency, replacingurllibfor the size queries.
Fixed
- Missing sizes no longer cause needless re-downloads. A failed HEAD was swallowed and recorded as “size unknown”, which showed the kernel as
unknownin the table, left it out of the download total, and made get re-download a file that was already complete on disk. 11 of 102 kernels hit this on the metakernel above; all 102 sizes now come back. - Size queries can no longer hang indefinitely. They had no timeout, so one unresponsive connection blocked its worker for as long as the server held the socket open (70 s in one measured case). Connect and read timeouts are now 15 s and 10 s, chosen from measured ESA handshake latency.
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md
v0.19.1
2026-09-18 · GitHub
Bugfix release: remote size queries were slow and could silently lose sizes.
Changed
- Remote size queries reuse connections.
query_remote_sizes(behind get andupdate) opened a fresh TCP+TLS connection for every kernel, so a 102-kernel metakernel paid 102 handshakes. It now keeps onerequestssession alive per worker thread. Measured onjuice_crema_5_2.tm(102 kernels) against the ESA archive: 135 s before, 17 s after. requests>=2.31is now a runtime dependency, replacingurllibfor the size queries.
Fixed
- Missing sizes no longer cause needless re-downloads. A failed HEAD was swallowed and recorded as “size unknown”, which showed the kernel as
unknownin the table, left it out of the download total, and made get re-download a file that was already complete on disk. 11 of 102 kernels hit this on the metakernel above; all 102 sizes now come back. - Size queries can no longer hang indefinitely. They had no timeout, so one unresponsive connection blocked its worker for as long as the server held the socket open (70 s in one measured case). Connect and read timeouts are now 15 s and 10 s, chosen from measured ESA handshake latency.
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md
v0.19.0
2026-09-14 · GitHub
Removed
Plans/from git and from the sdist. Design plans are local working notes;Plans/is now git-ignored and excluded from source distributions, so a release built from a working tree with draft plans in it can’t publish them.mission add --use-planetarypy, the[planetarypy]extra and theplanetarypy_bridgemodule, together with the registry’splanetarypyflag andregistry.is_planetarypy_managed. The delegation was a stub that never did anything: with the bundled registry empty the flag was a silent no-op, while the docs described it as working. For missions without a metakernel directory, planetarypy covers the need on its own:plp spice fetch <mission> --start … --stop …for a PDS-archive date range, andplp spice spk <mission>for a live mission’s current trajectory. Automatic support stays tracked in #2.
Added
KernelDB.metakernels_covering(body_id, et=None, mission=None)— the tracked metakernels whose SPK kernels cover a body, optionally at a given ephemeris time, with the coverage windows. It prints nothing and writes nothing, so programs (planetarypy’splp spicer --observer MPO) can pick a metakernel from aread_only=Truedatabase.list_metakernels(show=False)returns the rows without printing the summary table.
Changed
- One default database path. Without a config file, KernelDB() opened
~/.spice_kernels.duckdb, while first-run setup and the docs used~/.local/share/spice-kernel-db/kernels.duckdb, so the library and the CLI could quietly work on different databases. Both now use the latter.
Deprecated
- The old
~/.spice_kernels.duckdbdefault. Through 0.20.x a database that exists only there is still opened, with aFutureWarningsaying to move it or runspice-kernel-db config --setup. The lookup is removed in 0.21.0.
Fixed
update_metakernel() also ignored the configured kernel directory when called without
download_dir, the same defect as get_metakernel() below.The API docs said
read_only=Trueworks while another process writes. DuckDB’s file lock refuses that; the docs now say so.Ctrl+C during a download left a partial
.<name>.<random>.tmpfile. The cleanup only caughtException, andKeyboardInterruptis not one, so interrupting get stranded the half-written kernel next to its destination (one found at 167 MB). The temp file is now removed on any interruption.__version__said 0.13.4 while the package was 0.18.0. It was a hand-edited string that version bumps never touched; it now reads the installed package’s metadata, the same source--versionuses.KernelDB.get_metakernel() ignored the configured kernel directory when called from Python without
download_dir, always writing under~/.local/share/spice-kernel-db/kernels. It now useskernel_dirfrom the config, as the CLI already did.The conda recipe shipped only the
spice-kernel-dbcommand, not the shortskdalias thatpyproject.tomldeclares.The mission-discovery tutorial linked an internal planning file that is not part of the published docs.
v0.18.0
2026-06-29 · GitHub
Added
(+N aliases)annotation in get/update/listkernel tables — flags deduplicated kernels inline, withaliases <name>for the full trail.- Interactive aliases picker — run aliases with no argument to pick from the deduplicated kernels (most-aliased first).
- aliases on-disk listing gains a
Kindcolumn (real file/→ symlink target/missing); long paths fold instead of truncating. - Discovering archive-side aliases (docs) — because identity is content-based, aliases surfaces the names an archive (e.g. ESA) publishes identical bytes under, with no
dedupstep required.
Changed
kernel_aliasesis now a view derived fromlocations(SELECT DISTINCT sha256, basename) instead of the standalone table from 0.17.0 — always consistent, no backfill. Existing databases convert automatically on first open.
Fixed
- aliases now appears in the root
--helplisting (was missing in 0.17.0).
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md
v0.17.0
2026-06-29 · GitHub
Added
- aliases command — follow the deduplication trail. A new
kernel_aliasestable records every filename a content hash has been registered under (including the as-referenced name when a dedup symlink is registered).spice-kernel-db aliases <name-or-hash>prints the content hash, canonical name, every alias filename, and all on-disk locations. New KernelDB.aliases() / alias_counts(). Existing databases backfill from canonical names on first open.
Fixed
- Downloads no longer corrupt deduplicated kernels (write-through-symlink bug).
download_kernelusedopen(dest, "wb"), which follows symlinks — so downloading a now-diverged kernel wrote through a dedup symlink and overwrote the shared canonical file (surfaced asValueError: Hash mismatch …during get/update). Downloads now stream to a temp file andos.replace()into place atomically, so each download lands as its own independent real file. A failed download no longer clobbers a pre-existing destination. Seedocs/troubleshooting.qmdfor recovery on older versions.
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md
v0.16.0
2026-05-22 · GitHub
Added
- get auto-falls back to
former_versions/. When a metakernel filename is not present in the livemk/directory (HEAD 404),spice-kernel-db get <name> --mission <M>now transparently retries undermk/former_versions/<name>before failing. Older versioned metakernels (e.g.juice_crema_2_0_ops_v200.tm) are directly reproducible without manual URL construction. browse --archived. New flag targeting the mission’sformer_versions/subdirectory instead of the livemk/listing. Each archived.tmrenders on its own row (no base-name aggregation — archived snapshots are distinct historical files, not byte-identical named copies). Combines with--sortand--filter.browse --filter SUBSTRING. Case-insensitive substring filter on metakernel filenames. Essential for narrowing thousand-plus archive listings (e.g.--archived --filter crema_5_1on JUICE cuts 1441 → 8 base names). Mirrored onKernelDB.browse_remote_metakernels(..., filter=...).
Fixed
- Declining a get no longer leaves a half-acquired metakernel. Answering “no” at the download prompt previously still wrote the
.tm, inserted a registry row, and indexed entries — and even printed “Metakernel ready” — so the nextmklisting showed a broken metakernel with no indication kernels were missing. The decline path now rolls back cleanly: first-time get → no .tm, no rows; update-style re-get → prior content + registry row preserved. mk --removeno longer crashes with a read-only DB error. The destructive variant of an otherwise read-only command was inheriting the wrong mode and DuckDB raisedInvalidInputExceptionon the DELETE.
Changed
browseheader layout. Directory URL prints on its own indented line beneath the mission label instead of being squashed in parentheses and truncated to 60 chars.browse --archivedrendering is flat. Each archived metakernel is its own row with its actual date and size, not aggregated under a synthetic base-name. Footer readsTotal: N archived files | M locally acquired.
Full Changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.15.0…v0.16.0
v0.15.0
2026-05-20 · GitHub
Added
browse --sort {name,date}. New flag onspice-kernel-db browseto order rows by the Latest remote modification date instead of alphabetically.--sort datesorts ascending, so the most recently updated metakernels appear at the bottom of the table — convenient for spotting fresh updates without scrolling. Mirrored onKernelDB.browse_remote_metakernels(..., sort_by=...).
Full Changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.14.0…v0.15.0
v0.14.0
2026-05-12 · GitHub
Highlights
Non-interactive
mission add: positional name +--server-url,--mk-dir-url,--no-dedup,--use-planetarypy. Skips all prompts; HEAD-checks the URL.spice-kernel-db mission add MRO \ --server-url https://naif.jpl.nasa.gov/pub/naif/ \ --mk-dir-url https://naif.jpl.nasa.gov/pub/naif/MRO/kernels/mk/Curated mission registry (
mission_registry.toml) — extension point for verified alternate metakernel directory locations. Mission names map to candidate URL templates ({server}/{m}placeholders, absolute URLs also accepted) plus an optionalplanetarypy = trueflag.Optional
[planetarypy]extra andplanetarypy_bridgemodule — architectural hook for delegating to the planetarypy library for PDS-archived missions. Currently a stub (prints a notice, falls back to normal discovery); full delegation is tracked as a follow-up.Public API additions:
remote.discover_mk_url,remote.probe_mk_candidates,remote.DEFAULT_ALT_MK_PATHS,remote.server_label_for, theregistrymodule, and theplanetarypy_bridgemodule.
Reality check
An empirical NAIF survey behind this release found that only 8 of 76 real missions ship a metakernel directory at the conventional path (and 7 of those 8 are ESA-mirror entries). The remaining 68 NASA missions publish individual per-type kernels but no curated .tm file at all. DEFAULT_ALT_MK_PATHS is therefore deliberately limited to the standard kernels/mk/; the speculative alternates (spice_kernels/mk/, data/spice/mk/, etc.) one might guess from naming convention are not in use anywhere on NAIF.
For NASA missions without metakernels, your real options today are (a) point --mk-dir-url at a metakernel you’ve found elsewhere (typically a PDS bundle), or (b) wait for the planetarypy bridge to materialise. Synthesising a metakernel from per-type kernel listings is sketched as Tier 2 in Plans/did-we-have-a-abstract-kite.md.
Docs
New tutorial notebook at docs/tutorial-mission-discovery.ipynb. Updated docs/cli.qmd (mission-add option table + examples), docs/api.qmd (new public symbols), docs/troubleshooting.qmd (rewritten with survey numbers + registry contribution guide).
Tests: 232 → 254.
See CHANGELOG.md for the full entry.
v0.13.4
2026-05-12 · GitHub
UX fix: `spice-kernel-db mk` now shows correct kernel counts for alias rows.
When `get` creates an alias symlink (e.g. `juice_crema_5_2.tm` → `juice_crema_5_2_v470_20260415_001.tm`), the alias’s `metakernel_registry` row used the symlink path, but `metakernel_entries` were stored under the resolved target path. The JOIN returned `n_kernels=0` for the alias, and the content-fingerprint identity detection missed the relationship — so the listing showed `5_2.tm: 0` next to `5_2_v470_…: 101` instead of the expected “↳ identical to” annotation.
`list_metakernels` now detects alias rows and inherits the target’s count + fingerprint, so both rows display the same count and one is annotated “↳ identical to” — consistent with how same-content real files already render.
Tests: 230 → 232.
v0.13.3
2026-05-12 · GitHub
Adds `prune –orphan-symlinks` — the natural complement to default `prune`.
Walks each mission’s download tree (derived from `metakernel_registry.mk_path`) and unlinks symlinks whose target has disappeared. These accumulate after the upstream kernel store moves or after default `prune` removes a `locations` row — the bridge-tree symlinks pointing at that file aren’t themselves tracked in `locations`, so they survive as junk.
```bash # Preview spice-kernel-db prune –orphan-symlinks
Actually unlink
spice-kernel-db prune –orphan-symlinks –execute ```
Mutually exclusive with `–metakernels`; run sequentially if you need both.
Tests: 226 → 230.
v0.13.2
2026-05-12 · GitHub
Bug-fix release: prune --metakernels (introduced in 0.13.1) was filtering on WHERE source_url IS NOT NULL, which silently skipped every metakernel added via scan (the common case — scan_directory writes source_url=NULL).
Reproduced in the wild: `update juice_crema_5_1_150lb_23_1_a3_2_v462_20260223_001.tm` correctly raised `MetakernelUnreachableError` and pointed at `prune –metakernels`, but that command then failed to list the same metakernel because it had originally been scanned in rather than `get`-acquired.
Fix
`prune_metakernels()` now derives the probe URL per row using the same fallback as `update_metakernel`:
- Explicit `source_url` if set.
- Otherwise `mission.mk_dir_url + filename`.
- If neither (rare — hand-rolled metakernels), surfaces a “no probeable URL” note instead of silently ignoring.
Tests
224 → 226.
v0.13.1
2026-05-12 · GitHub
Patch release driven by an in-the-wild failure: spice-kernel-db update juice_crema_5_1_..._v462_20260223_001.tm crashed with a raw urllib stack trace because NAIF had rotated that snapshot into former_versions/.
Added
- New MetakernelUnreachableError (exported) — raised by update_metakernel() on HTTP 403/404/410. CLI catches it and renders a rich red panel with recovery steps. Exit code is
2(distinct from1for genericLookupError). - New
prune --metakernelsmode + KernelDB.prune_metakernels() API — HEAD-probes everysource_urlin the registry and lists rows that return 403/404/410.--executeremoves the registry rows;--delete-filesalso unlinks the on-disk.tm. Transient errors (timeouts, DNS, 5xx) are never treated as dead, so going offline never deletes state.
Documentation gap catch-up
This release also fixes documentation gaps from previous releases (the verify command shipped in 0.13.0 and prune shipped in 0.11.0 were both missing from docs/cli.qmd). A new “Development rules” section in CLAUDE.md codifies the requirement that docs must land in the same commit as the feature.
Recommended workflow
# When `update` reports a metakernel is unreachable:
spice-kernel-db prune --metakernels # preview
spice-kernel-db prune --metakernels --execute # remove registry rows
spice-kernel-db prune --metakernels --execute --delete-files # also delete .tm filesTests
216 → 224.
v0.13.0
2026-05-12 · GitHub
Red-team audit release: closes 8 P0 and 6 P1 findings from a parallel-agent architectural review. Headline P0s: a remotely-triggered path-traversal write-anywhere primitive via hostile metakernel (C1); a hash-verification bypass in the path-suffix fallback (C2); and nondeterministic resolution between same-named kernels with different content (C3). New verify command does deep cross-checks against the DB.
See CHANGELOG.md for the full per-finding breakdown and Plans/2026-05-12-redteam-findings.md for the audit document and data-migration notes.
Highlights
- 🛡️ C1 — Path-traversal write-anywhere (security). A hostile
.tmfile with$KERNELS/../../etc/passwd-style entries could write arbitrary content / symlinks to user-writable paths via get. New_safe_join+ upfront_validate_relpathsrefuse the entire operation on any escaping entry. - 🎯 C2 — Hash gate bypass.
_link_existing_kernelsnow verifies the resolved local path’s hash againstlocations.abs_path, not the requested filename. The path-suffix fallback case no longer silently skips verification. - 🔢 C3 — Deterministic resolution. New
kernels.superseded_bycolumn + deterministicORDER BYensure that filename collisions never silently load the wrong kernel. - 🆕
verifycommand.spice-kernel-db verify [<mk>] [--deep] [--strict] [--json]walks everyKERNELS_TO_LOADentry and reportsOK/DANGLING/HASH_MISMATCH/TRAVERSAL/AMBIGUOUS/etc. - 📥 C4 — Streaming download hashes.
download_kernelreturns the sha256 it streamed during the write; passed through to register_file asexpected_hash. Foundation for future manifest-based external checksum verification. - 🤝 C5/C6/C7 — Concurrency & atomicity. Race detection raises ConcurrentModificationError (previously discarded). Transactional register_file / index_metakernel. Atomic
_atomic_write_text/_atomic_symlinkeverywhere.tmfiles or symlinks are mutated. - 🌐 C8 — Case-insensitive filename queries. APFS/HFS+/NTFS and ext4 now behave the same.
- 🛠️ H1–H6 — Six P1 fixes. Dangling-symlink repair; full SPICE
.tmlexer with''escape + balanced parens; longest-PATH_SYMBOL-first substitution; mission-name canonicalisation with legacy-duplicate warning;task_infokeyed by full dest path; datetime-based staleness comparison.
Migration notes
- DBs created on earlier versions auto-migrate (new
superseded_bycolumn added viaALTER TABLE). - Legacy mission case-duplicates (
JUICE+juicerows) trigger a startup warning so you can merge manually. - For peace of mind on metakernels you actively use:
spice-kernel-db update <mk>re-fetches under the new code path. No bulk migration needed.
Test suite
161 → 216 tests (+55).
v0.12.0
2026-05-11 · GitHub
Added
- Alias symlinks on get — when the interactive picker groups versioned snapshots under a base name (e.g.
juice_crema_5_2.tmcoversjuice_crema_5_2_v470_20260415_001.tm), get now creates a relative symlink at the alias name and registers a secondmetakernel_registryrow so both names resolve. Also catches HTTP redirects viaresp.geturl(). Refuses to clobber regular files at the alias path; replaces existing symlinks. - Interactive
resolvepicker — runningspice-kernel-db resolvewith no arguments now opens a numbered table of tracked metakernels (filtered by--missionif given) and prints the selectedmk_path, instead of exiting with a usage error.
v0.11.1
2026-05-11 · GitHub
Fixed
resolvefinds tracked metakernels —spice-kernel-db resolve foo.tmnow returns the path of a.tmfile acquired via get (previously returned “Not found” because resolve_kernel only consulted thekernels/locationstables and ignoredmetakernel_registry). Mission preference and cross-mission fallback warnings work the same as for regular kernels.
v0.11.0
2026-04-27 · GitHub
Added
--versionflag —spice-kernel-db --versionnow prints the installed version.skdshort alias —skdis now a second entry point forspice-kernel-db, for quicker invocation.- No-args summary — running
spice-kernel-db(orskd) with no subcommand now shows locally acquired metakernels and a quick-start guide instead of just the help text. mk --removeflag —spice-kernel-db mk --remove <name>removes a metakernel from the registry and its entries. Does not delete files from disk.- prune command —
spice-kernel-db prunefinds and removes stale DB entries for files that no longer exist on disk. Also cleans up orphaned kernel records with no remaining locations. Dry-run by default (--executeto apply). resolve --metakernel— batch-resolve all kernels in a.tmfile, printingfilename\tpathfor each.config set/get—config set db_path /new/pathandconfig get db_pathfor scripted, non-interactive configuration.- Global
-v/--verboseflag on the root parser, replacing per-command-von scan and check. - Troubleshooting page —
docs/troubleshooting.qmdwith 9 common issues and solutions. - Quick-start workflow in the
--helpepilog:mission add → browse → get → check. - “See also” cross-references in subcommand help text (check, list, resolve, mk, get, update, browse).
- Pre-release review document —
docs/review.qmdcaptures the full CLI/API/docs audit.
Changed
- Deferred config loading — ensure_config() is no longer called before argument parsing.
--help,--version, and no-args invocation now work on a fresh install without triggering the interactive setup wizard. - update_metakernel() raises
LookupErrorinstead of callingsys.exit(1). The library layer (db.py) no longer callssys.exit()— all exit decisions are made in the CLI layer (cli.py). This makes KernelDB safe to use as a Python API. _resolve_body_interactive()returnsNoneon unknown bodies and invalid selections instead of callingsys.exit(1).browse(no args) now picks a mission interactively and browses its remote metakernels, instead of duplicating themission listtable.rewrite -ois now optional — defaults to<stem>_local.tmwhen omitted.coveragepositional renamed frombody_idtobodywith clearer help text.dedup --executenow prompts for confirmation (shows dry-run preview first). Use-yto skip.--missionhelp text standardized — “Override” for commands that set the mission, “Filter” for listing commands, “Preferred mission” for resolution commands.- get help text clarified — explains that filenames require a configured mission.
- Development Status classifier upgraded from Alpha to Beta.
- Test suite expanded from 136 to 157 tests.
Fixed
- Corrupt config handling —
load_config()now catchesTOMLDecodeErrorwith a friendly error message instead of a raw traceback. browsenetwork error — catchesURLError(network unreachable) with “Could not connect to server” message.coverageImportError — now caught around body resolution too, not just the coverage analysis call.- Documentation overhaul — removed all references to removed fuzzy filename matching from design.qmd, api.qmd, and CLAUDE.md. Updated API signatures for scan_directory, register_file, get_metakernel, check_metakernel, browse_remote_metakernels, and KernelDB constructor. Added missing update_metakernel API docs. Fixed Python version requirement in README (3.11, not 3.10). Updated Quarto site description. Added
kernel_coveragetable to schema docs. Updated usage.qmd browse output format. Addedlistcommand to usage guide.
Full changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.10.1…v0.11.0 PyPI: https://pypi.org/project/spice-kernel-db/0.11.0/
v0.9.1
2026-02-20 · GitHub
Added
- Conda package on anaconda.org/michaelaye —
conda install -c michaelaye spice-kernel-db conda/meta.yamlrecipe committed to repo for reproducible builds- Conda install instructions in README and docs
- Full release pipeline documented in CLAUDE.md
v0.9.0
2026-02-19 · GitHub
What’s new
updatecommand — re-fetch a metakernel from its source URL and download new/missing kernelsmkalias formetakernelscommand- Browse 3-state indicator —
yes/outdated/nobased on remote modification date - check remote staleness notice — warns when a newer version is available on the server
check -v— compact warning summary by default, full per-file details with-v- Categorized
--help— subcommands grouped into browse & acquire, inspect, transform, configure - Interactive mission picker — get/
browsewithout--missionshows a numbered menu instead of an error - Rich output — get uses Panels for summary/result,
browseuses Table for mission listing
Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md#090—2026-02-20
v0.8.1
2026-02-19 · GitHub
Fixed
Fuzzy kernel resolution no longer matches across file types. Previously, searching for a .bsp file could match a .tm metakernel with the same name prefix (e.g. juice_crema_5_1_150lb_23_1_a3_2_v01.bsp resolved to juice_crema_5_1_150lb_23_1_a3_2.tm). This caused coverage to feed a text metakernel to SpiceyPy’s spkcov as if it were a binary SPK, triggering SPICE(INVALIDARCHITECTURE). The fuzzy query now filters by file extension (case-insensitive), so .bsp queries only match .bsp files.
Install: pip install spice-kernel-db==0.8.1
v0.8.0
2026-02-19 · GitHub
Added
coverageCLI command and coverage_metakernel() API for checking SPK body coverage in metakernels. Uses SpiceyPy’sspkcovto report which SPK files contain data for a given NAIF body, including gap detection.kernel_coveragedatabase table caching body coverage intervals per kernel (content-addressed by SHA-256, reusable across sessions).- Body name resolution —
coverageaccepts ASCII names likeEarthor3i/atlasin addition to numeric NAIF IDs. Ambiguous names (e.g. “earth” → body center vs barycenter) prompt for disambiguation. NAIF_BODIESlookup table with 30+ common solar system bodies.- store_coverage() and query_coverage() API methods for persisting and querying coverage data.
- SpiceyPy as optional dependency:
pip install spice-kernel-db[spice] - Coverage documentation page (
docs/coverage.qmd) - Interactive metakernel selection for check and
coveragecommands — omit the metakernel argument to pick from locally acquired metakernels, with hints tobrowse/get when none are available.
Changed
- Quarto documentation theme: sandstone (light) + superhero (dark) with dark-mode table styling.
- check metakernel argument is now optional (interactive selection when omitted).
- CLI helpers refactored:
_require_metakernel()and_resolve_body_interactive()extracted to avoid code duplication. - Coverage time display uses compact
YYYY-MON-DD HR:MNformat instead of fractional seconds. - Coverage table Kernel column uses
no_wrapfor full filename visibility. - Coverage table error messages truncated to key SPICE error instead of full traceback.
- Test suite expanded from 95 to 114 tests.
Install: pip install spice-kernel-db==0.8.0 With coverage support: pip install spice-kernel-db[spice]==0.8.0
v0.7.1
2026-02-09 · GitHub
Bug Fixes
Python API now connects to the correct database
KernelDB() previously defaulted to a hardcoded ~/.spice_kernels.duckdb, while the CLI used the path from ~/.config/spice-kernel-db/config.toml. This caused the Python API to return empty results even though the CLI showed data. KernelDB() now reads the configured path automatically.
Metakernels now work with spice.furnsh() from any directory
Saved .tm files previously contained relative PATH_VALUES = ('..'), which SPICE resolves relative to the current working directory, not the metakernel file. This meant furnsh() only worked if you happened to cd into the mk/ directory first. Metakernels are now saved with absolute paths.
from spice_kernel_db import KernelDB
import spiceypy as spice
db = KernelDB()
mks = db.list_metakernels(mission="JUICE")
spice.furnsh(mks[0]["mk_path"]) # works from any directory nowInstall / Upgrade
pip install --upgrade spice-kernel-db
Full Changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.7.0…v0.7.1
v0.7.0
2026-02-09 · GitHub
What’s Changed
Mission listing now reflects reality
mission add now probes each mission for a kernels/mk/ directory using parallel HEAD requests before displaying the list. Missions without metakernels (most NASA missions) are shown separately as “not yet supported” with a reference to #2, instead of being offered for selection and then failing.
Investigation revealed that NASA and ESA use fundamentally different kernel organization: ESA consistently provides metakernels at kernels/mk/, while NASA missions generally do not publish metakernels on the NAIF server. See the detailed findings on [#2](https://github.com/michaelaye/spice-kernel-db/issues/2).
Case-insensitive .tm matching
Metakernel file parsing now handles uppercase .TM extensions (used by ESA missions like MEX). Version tag extraction also works with uppercase tags like _V324_20260206_002.TM.
Install
pip install spice-kernel-db==0.7.0
Full Changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.6.0…v0.7.0
v0.2.0
2026-02-06 · GitHub
What’s New
Added
acquirecommand — point at a remote metakernel URL, see a table of required kernels with sizes and DB status, then download the missing ones- First-run configuration — interactive setup for database path and kernel storage directory, saved to
~/.config/spice-kernel-db/config.toml - parse_metakernel_text() — parse metakernels from string content (for remote URLs)
remote.pymodule — URL resolution, parallel HTTP HEAD size queries, and kernel download (stdlib only, no new dependencies)- GitHub Pages — Quarto documentation deployed via GitHub Actions
Changed
- CLI now uses configured defaults from
config.tomlinstead of hardcoded~/.spice_kernels.duckdb
Full Changelog: https://github.com/michaelaye/spice-kernel-db/compare/v0.1.0…v0.2.0