joinpath_sqlite

joinpath_sqlite(key: str, *subkeys: str, name: str) str[source]

Get an SQLite database connection string.

Parameters:
  • key – The name of the module. No funny characters. The envvar <key>_HOME where key is uppercased is checked first before using the default home directory.

  • subkeys – A sequence of additional strings to join. If none are given, returns the directory for this module.

  • name – The name of the database file.

Returns:

A SQLite path string.