Skip to main content

Generate financial test data

Project description

lfinancial is a Python package that generates financial fake data.


.-.    .----. .-. .-. .-.   .--.   .-. .-. .----. .-.   .--.   .-.    
} |    } |__} { | |  \{ |  / {} \  |  \{ | | }`-' { |  / {} \  } |    
} '--. } '_}  | } | }\  { /  /\  \ | }\  { | },-. | } /  /\  \ } '--. 
`----' `--'   `-' `-' `-' `-'  `-' `-' `-' `----' `-' `-'  `-' `----' 

pypi GitHub Workflow Status (with event) GitHub

How to install?

pip install lfinancial

How to use it?

from lfinancial import Financial

f = Financial()

f.ssn()
# 582-94-2808

f.id_card()
# 488258196409087762

f.passport()
# EG4130431

f.nric()
# SD44949622

f.my_number()
# 399495927695

f.cn_name()
# 于诚玲

f.first_name()
# Cakadiq

f.middle_name()
# Baviv

f.last_name()
# Hucacuqa

f.kana_name()
# ハジ

f.cellphone()
# 13851695115

f.area_code()
# +86

f.high_risk_country()
# MA

f.email()
# q0o58mkgq3@gmail.com

f.bank()
# BANK OF CHINA (HONG KONG) LIMITED

f.currency()
# CNY

f.swift_code()
# ABOCCNBJ040

f.stock_exchange()
# Hong Kong Stock Exchange

f.ticker_symbol()
# AAPL

f.tz_identifier()
# Asia/Baku

f.locale()
# zh-CN

f.product()
# Shares

f.gender()
# Cis Man

f.industry()
# Software & Services

f.CVD()
# 252

f.CVV()
# 748

f.CID()
# 207

f.CAV()
# 459

f.CVC()
# 767

f.CSC()
# 3473

f.CVN()
# 541

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfinancial-0.3.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

lfinancial-0.3.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file lfinancial-0.3.1.tar.gz.

File metadata

  • Download URL: lfinancial-0.3.1.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for lfinancial-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a76755d83fe5125234b89ee40aaa6865d3fcd156362939cde4da3bd0e2294770
MD5 79640eff53baffd0599e92a2cf3f4bfc
BLAKE2b-256 1f6082dc77861476c3bcd580e868a0c8cc3715cda7efcced4a1a3758b7663d53

See more details on using hashes here.

File details

Details for the file lfinancial-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: lfinancial-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for lfinancial-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e676601e22f853857e252f1a3b585ea698e240957e85ee6d93439c15c94997a9
MD5 8fb569698a8eb203d1ff8d4bbd52a2bd
BLAKE2b-256 4873b7d371e1b68ef782a400a81afac8975e88f30377361448d5714acdef17a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page