Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简体中文

danbooru artists extractor

Extract and clean Danbooru artist tags into a CSV file for AI image generation workflows.

Requirements

  • Python >= 3.12
  • uv (package manager)

Setup

uv sync

Download tags.parquet

Usage

  1. Place tags.parquet in the project root.
  2. Run the script:
uv run python main.py
  1. Output: danbooru_tags_artists.csv

Output Format

Column Description
tag Artist name (underscores → spaces)
category Always 1 (artist)
count Number of posts tagged with this artist
alias Reserved (empty)

Rows are sorted by count descending.

Configuration

Edit the constants at the top of main.py:

Constant Default Description
MIN_POST_COUNT 10 Drop artists with fewer posts
BLACKLIST ['banned_artist'] Tag names to always exclude
USE_SPACE_INSTEAD_OF_UNDERSCORE True Replace _ with space in artist names

About

从 Danbooru 标签数据中提取并清洗画师标签,输出 CSV 文件,用于 AI 图像生成工作流

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages