前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Facebook开源的数据Mock:Memisis详解

Facebook开源的数据Mock:Memisis详解

作者头像
Criss@陈磊
发布2020-01-17 18:00:01
7340
发布2020-01-17 18:00:01
举报
文章被收录于专栏:测试技术圈

安装

代码语言:javascript
复制
pip install mimesis

源代码

代码语言:javascript
复制
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

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2020-01-07,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 质问 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 安装
  • 源代码
  • 支持多语言
  • 提供的provider种类
  • schema支持的数据生成
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档