v0.3.0 #12
svdC1
announced in
Announcements
v0.3.0
#12
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Kotobase Rewrite
A full rewrite of the package, its data and its tooling
0.2.7shipped a flatter database coveringJMdict,JMnedict,KanjiDic2, Japanese-OnlyTatoebasentences and the
Tanos JLPTlists, distributed throughGoogle DriveAdded
New Data Sources →
KRADFILE/RADKFILEfor kanji toradical decomposition and radical search,
JmdictFuriganafor per-formfurigana,
KanjiVGfor stroke-order SVG, and an optionalKanji Alivepronunciation audio pack
Tatoeba→ Now imports the links and English exports as well, aligning Japanesesentences with their English translations
Full
JMdict+JMnedictTag Extraction →part of speech,register(slang, colloquial, ...),
field,dialectandpriority tagsthat the previoussubset discarded
New API Methods On
Kotobase→search_kanji,kanji_by_skip,stroke_svg,radicals,by_radicals,jlpt_list,names,furigana,audio,audio_bytes,save_audio,search_meaningandexpand_tagsNew
CLICommands Grouped Intolookup,dbandcache→lookup all,kanji-find,radicals,jlpt-list,names,meaning,sentences,furigana,kanji-svg,audio,cache path/size/cleardev+docsOptional-Dependency Extras →ruff/mypy/ pre-committooling, and a shipped
py.typedmarkerChanged
The
CLIis rebuilt onTyperandRich, with panelled output and--jsononquery commands. The entry point moved from
kotobase.cli:maintokotobase.cli:appThe database is distributed through
GitHub Releasesas zstandard-compressedassets, rebuilt weekly, replacing the
Google DrivedistributionThe
schemais normalized (child tables and a JSON column for read-only tagblobs) instead of the previous flat tables with delimited-string columns, and
the build streams the raw
EDRDGandTatoebasources straight intoSQLiteReads go through a
thread-safe,read-onlyengine and return immutable,serializable data objects built with
from_ormclassmethodsThe package is consolidated under
db/(connection,dtos,repos,uow,models,builder). The oldcore/,repos/anddb_builder/packages and
db/database.pywere restructured into itThe minimum
Pythonversion is raised to3.10, with a modernizedpyproject.toml(full metadata and classifiers, includingTyping :: Typed)Removed
The
Google Drivedistribution and thegdowndependencyThe
alembicdependency. The compiled database now records its format in adb_metaschema version instead of migrationsThe
clickdependency, replaced byTyperMANIFEST.in, replaced by declarative package dataThis discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions