Thanks to visit codestin.com
Credit goes to github.com

Skip to content

thehyve/kotobuki

Repository files navigation

kotobuki

tests PyPI Latest Release License

kotobuki is a Python package that can update custom mappings created in Usagi that have become outdated in a new release of the OHDSI vocabularies.

Installation

kotobuki requires Python 3.11+ and is available on PyPI.

Depending on the type of database you have, you'll also need to install the required python adapter library. E.g. for postgresql, you can use psycopg2.

See SQLAlchemy docs for a list of supported dialects.

As kotobuki is intended to be used as a standalone tool, the recommended method of installation is in an isolated (temporary) environment.

E.g. if using uv with a postgresql database:

uvx --with psycopg2 --from kotobuki update-usagi-file --help

Or within a Jupyter notebook:

uv run --with jupyter,psycopg2,kotobuki jupyter lab

Usage

See User documentation

Development

Setup steps

Make sure the following tooling is installed:

Install the project and dev dependencies via uv sync --all-groups.

Then set up the git hook scripts via uv run pre-commit install.

Nox sessions

Run nox -l for a list of available nox sessions, or simply run nox to run the ruff linter and the pytest suite for all supported Python versions.

About

Update Usagi mappings with kotobuki

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages