From abd072c7bfb92deb7f38943118319a2085a3adc2 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 27 May 2026 13:50:53 +0200 Subject: [PATCH] print all libs --- print_adb.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/print_adb.py b/print_adb.py index 6e44202..78d7a65 100755 --- a/print_adb.py +++ b/print_adb.py @@ -5,12 +5,20 @@ import arcticdb as adb uri = "lmdb://adb" ac = adb.Arctic(uri) -lib = ac.get_library("stand") -symbols = lib.list_symbols() +libs = ac.list_libraries() -for i in symbols: - meta = lib.read_metadata(i) - print(meta) +for n in sorted(libs): + print(n) + print("=" * len(n)) + + lib = ac.get_library(n) + symbols = lib.list_symbols() + metas = [lib.read_metadata(i) for i in sorted(symbols)] or ["nothing"] + + for i in metas: + print("-", i) + + print()