Pouf is a cli program for produce fake datas.


Keywords
data, app, random, faker, cli
License
Other

Documentation

Pouf

LICENSE Crates.io Version Minimum rustc version

Intro

Pouf is a cli program to produce fake datas.

Last stable version

Packaging status

Install with crates.io

cargo install pouf

Install on your system

Latest with source :

clone the projet and install it with :

cargo install --path .

Examples

Address (English Only)

$ pouf address.city
Carter burgh
$ pouf address.country
Congo
$ pouf address.street
Tillman Freeway

Administrative (French Only)

$ pouf administrative.healthinsurrancecode
1 85 02 974 777 624 88

Licenseplate (French Only)

$ pouf auto.licenseplate
QV-951-KA

Color

$ pouf color
#434733
rgb(67, 71, 51)
rgba(67, 71, 51, 0.4)
hsl(71, 16%, 24%)
hsl(71, 16%, 24%, 0.4)

Filesystem

$ pouf filesystem.mimetype
application/vnd.lotus-1-2-3
$ pouf filesystem.semver
0.15.0
$ pouf filesystem.semver --stable
4.4.12
$ pouf filesystem.semver --unstable
2.16.8-rc.7

Finance

$ pouf finance.bic
YMEEIOX1284

Http

$ pouf http.code
412 Precondition Failed

Internet

$ pouf internet.ip
196.124.139.106
$ pouf internet.ip --ipv6 true
DFC4:E3DD:6124:DD1:1D69:F2C7:B968:59BD
$ pouf internet.ip --ipv4 true
19.59.17.64
$ pouf internet.mac
7C:41:B6:CC:A2:67
$ pouf internet.mail -l en
adriel_quia@hotmail.com
$ pouf internet.mail // if locales is "fr_FR.UTF-8"
karim_qui@orange.fr

People

$ pouf people.name
Axel Sipes
$ pouf people.name -l fr
Gerard Sablonnière

Time

$ pouf time.time
21:45:53
$ pouf time.date
2176-01-27T01:25:42.642830566+00:00

multiple launch

You can launch n time like this :

$ pouf finance.bic -n 5
TLNINTG1361
HJGOCSK1
VUKIBZB1
RJCIAZV1177
TVGOSIC1

Autocomplete

On zsh :

Add this on your ~/.zshrc :

fpath=("dir_of/_pouf" "${fpath[@]}")

before :

autoload -Uz compinit && compinit

Dev

Makefile inspire by https://git.sr.ht/~julienxx/castor/tree/master/item/Makefile

Publish

make cargo-publish