Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Dictionary interface of stardict, support regular expression (regex) search and colored output.

Project Description

# py_sdvb

## Description

  • Vocabulary builder by generating word lists from stardict dictionaries. Allow regular expression search. Written in python.
  • Command-line dictionary searching tool with colored output.

## Features

### Regular expression support

See some regex search examples below:

![Regex support.](/images/regex.png)

### Colored output

Keywords are highlighted.

<img src=”/images/coloroutput.png” width=”800”>

### Jupyter/Ipython notebook (Experimental)

Interactively searching/translating in Jupyter notebooks.

<img src=”/images/ipynb_sdcv.gif” width=”600”>

## Prerequisites

This package is based on PyStarDict (

Programs are tested for python3 on Mac OS X.

## Usage

### Get the dictionaries

Put all the dictionaries in the directory ~/.stardict/. If you have been using tools like stardict or sdcv, you probably have already had the dictionaries stored there.


This is the primary program to help building your vocabulary, by generating a list of words together with their translations.

Run like this: `bash ./ [-s] [-h] `

Use the [-h] option for help.

The -s option provides a mode to choose dictionary. Otherwise, all the dictionaries are used.

You will then be prompted with REGEX:, which askes you to input regular expressions for search.


This is an interactive command line dictionary tool, basically an analog of sdcv.

`bash ./ `

### Add to $PATH

If not using pip to install, probably you need these commands: `bash ln -s /path/to/py_sdvb/ /usr/local/bin/pysdvb ln -s /path/to/py_sdvb/ /usr/local/bin/pysdcv `

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(3.7 kB) Copy SHA256 Hash SHA256
Source May 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting