为了账号安全,请及时绑定邮箱和手机立即绑定

Facebook开源的数据Mock:Memisis详解

2019.08.27 12:41 286浏览

安装

pip install mimesis

源代码

git clone git@github.com:lk-geimfari/mimesis.git

支持多语言

Code Name Native Name
cs Czech Česky
da Danish Dansk
de German Deutsch
de-at Austrian german Deutsch
de-ch Swiss german Deutsch
el Greek Ελληνικά
en English English
en-au Australian English English
en-ca Canadian English English
en-gb British English English
es Spanish Español
es-mx Mexican Spanish Español
et Estonian Eesti
fa Farsi فارسی
fi Finnish Suomi
fr French Français
hu Hungarian Magyar
is Icelandic Íslenska
it Italian Italiano
ja Japanese 日本語
kk Kazakh Қазақша
ko Korean 한국어
nl Dutch Nederlands
nl-be Belgium Dutch Nederlands
no Norwegian Norsk
pl Polish Polski
pt Portuguese Português
pt-br Brazilian Portuguese Português Brasileiro
ru Russian Русский
sv Swedish Svenska
tr Turkish Türkçe
uk Ukrainian Український
zh Chinese 汉语

提供的provider种类

No Provider Description
1 Address Address data (street name, street suffix etc.)
2 Business Business data (company, company_type, copyright etc.)
3 Code Codes (ISBN, EAN, IMEI etc.).
4 ClothingSize Clothing sizes (international sizes, european etc.)
5 Datetime Datetime (day of week, month, year etc.)
6 Development Data for developers (version, programming language etc.)
7 File File data (extension etc.)
8 Food Information on food (vegetables, fruits, measurements etc.)
9 Games Games data (game, score, pegi_rating etc.)
10 Person Personal data (name, surname, age, email etc.)
11 Text Text data (sentence, title etc.)
12 Transport Dummy data about transport (truck model, car etc.)
13 Science Scientific data (rna sequence dna sequence, etc.)
14 Structure Structured data (html, css etc.)
15 Internet Internet data (facebook, twitter etc.)
16 Hardware The data about the hardware (resolution, cpu, graphics etc.)
17 Numbers Numerical data (floats, primes, digit etc.)
18 Path Provides methods and property for generate paths.
19 Payment Payment data (credit_card, credit_card_network, etc.)
20 UnitSystem Provides names of unit systems in international format.
21 Generic All at once.
22 Cryptographic Cryptographic data.

schema支持的数据生成

No Provider Description
1 AbstractField Can represent any method of any provider.
2 Field Alias for schema.AbstractField
点击查看更多内容

本文原创发布于3分快3彩票 ,转载请注明出处,谢谢合作

0人点赞

若觉得本文不错,就分享一下吧!

评论

相关文章推荐

正在加载中
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消