mouday / chinesename Goto Github PK
View Code? Open in Web Editor NEWget a chinese name by random
Home Page: http://www.pengshiyu.com/chinesename/
get a chinese name by random
Home Page: http://www.pengshiyu.com/chinesename/
古语云:男楚辞,女诗经。名可以从诗经、楚辞里面取,用jieba库分词,目前取出来的名字效果不好
名字库里的东西啥文字组合都有,什么“女士”,“合婚”,"离世","锄草","私处","哀子"等等之类无法用在名字里面的词组太多太多,望改进!
import chinesename
SyntaxError: Non-ASCII character '\xe8' in file chinesename.py on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
(venv) myp:170818_test_all $ pip install chinesename
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting chinesename
Downloading http://mirrors.aliyun.com/pypi/packages/7f/9b/c527e661ca3530bfbc65b4702ca055d58e2d3e11039631627b7ea01a45fe/chinesename-0.0.9.tar.gz (150kB)
100% |████████████████████████████████| 153kB 2.1MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/4w/rwy1x5nj16d2t2tbtcs385pc0000gn/T/pip-install-9NGiPN/chinesename/setup.py", line 16, in <module>
md_to_rst("README.md", "README.rst")
File "/private/var/folders/4w/rwy1x5nj16d2t2tbtcs385pc0000gn/T/pip-install-9NGiPN/chinesename/setup.py", line 10, in md_to_rst
files={'input_files[]':open(from_file,'rb')})
IOError: [Errno 2] No such file or directory: 'README.md'
编码问题
出现了编码问题:
'gbk' codec can't decode byte 0x80 in position 2: illegal multibyte sequence
是不是打开文件的时候少了编码转换
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.