#fake-data #data #random #faker #app #cli #filesystem

bin+lib pouf

Pouf is a cli program for produce fake datas

14 releases

0.7.0 Aug 24, 2024
0.6.3 Dec 17, 2022
0.6.2 Nov 1, 2022
0.5.0 Jun 18, 2022
0.2.0 May 13, 2021

#1099 in Command line utilities

Download history 144/week @ 2024-08-24 2/week @ 2024-08-31 14/week @ 2024-09-14 22/week @ 2024-09-21 5/week @ 2024-09-28 1/week @ 2024-10-05

621 downloads per month

Custom license

86KB
2.5K SLoC

Rust 1.5K SLoC // 0.0% comments BASH 1K SLoC

Pouf

LICENSE Build Status Coverage Status 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

Dependencies

~9MB
~183K SLoC