ravachol/kew-data
1
1
Fork
You've already forked kew-data
0
Artist information database for kew.
  • Python 97.7%
  • Makefile 2.3%
2026年07月10日 16:02:33 +02:00
docs Docs 2026年07月09日 18:16:43 +02:00
images Docs 2026年07月09日 18:25:36 +02:00
scripts Initial commit 2026年07月09日 18:04:09 +02:00
tsv Initial commit 2026年07月09日 18:04:09 +02:00
artists.db Initial commit 2026年07月09日 18:04:09 +02:00
LICENSE Docs 2026年07月09日 18:16:43 +02:00
Makefile Docs 2026年07月09日 18:43:11 +02:00
README.md docs 2026年07月10日 16:02:33 +02:00
WIKIDATA_LICENSE_CC_BY-SA_4.0.txt Docs 2026年07月09日 18:25:36 +02:00

kew Logo

License

About kew-data

  • Database size: 9MB
  • Homepage Urls: 162 000
  • Data License: WIKIDATA CC BY-SA 4.0.

It provides a clickable artist field for artists that have a homepage listed on Wikipedia, in the track view of kew.

How to Install


git clone https://codeberg.org/ravachol/kew-data.git
cd kew-data
make install

kew should now (after version 4.2.0) enable clickable artists links.

For Package Maintainers

This repo is a bonus for listeners and music artists and is recommended as an optional dependency to kew.

All the stuff that's needed to reproduce the artists.db binary is included in the /data folder. .tsv file, scripts, the works. There's a guide below on how to reproduce the exact same binary.

Why?

To help artists economically and give a way for listeners to connect to artists.

Skipping the database

if you don't want to use the database, don't install this, or set:

useartistsdb=0 in kew's kewrc settings file.

kew works just as well without it.

Adding artists

We don't have the capacity to add other artists or indie artists unfortunately, and want the database to remain small.

If data is wrong

If you see an incorrect homepage or broken link, please create an issue on https://codeberg.org/ravachol/kew-data.

About the dataset

About the scripts

  • The script extract_from_wikidata.py is used to extract the artist data from the bz2 file.

  • The script keep_only_matching_urls.py removes domains urls that don't have words from the artist in them as these are deemed to be erroneous data for the most part.

  • The script apply_corrections.py washes the data based on the information in corrections.tsv.

  • The script verify_urls.py is used to verify that urls work.

  • The script make_binary_db.py is used to create artists.db from artists.tsv.

Reproducing the binary

To recreate the same file run: 'python make_binary_db.py artists.tsv artists.db' using Python 3.14.5.

Then run sha256sum artists.db

You should get: d77f09e0aeaf14b445642aaa13ba195e5b10c09ba799e02d785102a7355d86c9 artists.db

License

Licensed under GPLv2+. See LICENSE for more information.

Wikidata License

WIKIDATA CC BY-SA 4.0. See WIKIDATA LICENSE for more information.