Metadata-Version: 2.1
Name: strokes
Version: 0.0.1
Summary: Hanzi stroke counts
Home-page: https://github.com/liao961120/strokes
Author: Yongfu Liao
Author-email: liao961120@gmail.com
License: UNKNOWN
Description: Hanzi Stroke Count
        ==================
        
        
        ## Install
        
        ```bash
        pip install strokes
        ```
        
        
        ## Usage
        
        ```python
        from strokes import strokes
        
        >>> strokes('众')
        6
        >>> strokes('众人')
        [6, 2]
        >>> strokes('眾人')
        [11, 2]
        >>> strokes('眾人', add=True)
        13
        >>> strokes('人-泛称')  # non-chinese characters are given a stroke count of zero
        [2, 0, 7, 10]
        ```
        
        
        ## Data Source
        
        Stroke count data are based on [Unihan_IRGSources.txt](https://www.unicode.org/Public/UCD/latest/ucd/Unihan.zip) in [Unihan database](https://www.unicode.org/charts/unihan.html).
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
