Skip to main content

Adds fake credit score data generation to Faker Python package.

Project description

Latest version released on PyPi Build status of the develop branch on Mac/Linux Test coverage BSD 3-Clause License Black code formatter

faker_credit_score is a community-created provider for the Faker test data generator Python package.

This package provides fake credit score data for testing purposes. The four most common non-industry specific credit scoring models are supported:

  • FICO Score 8
  • Equifax Beacon 5.0
  • Experian/Fair Isaac Risk Model V2SM
  • TransUnion FICO Risk Score, Classic 04


Install with pip:

$ pip install faker-credit-score

Alternatively, install with

$ git clone
$ cd faker_credit_score && python install


From the Command Line

$ faker credit_score -i faker_credit_score

From within Python

Add the CreditScore Provider to your Faker instance:

from faker import Faker
from faker_credit_score import CreditScore

fake = Faker()

'TransUnion FICO Risk Score, Classic 04'


Please, by all means, contribute!


Execute unit tests and calculate code coverage like so:

$ coverage run -m unittest tests/*
Ran 8 tests in 0.224s


$ coverage report
Name                             Stmts   Miss  Cover
faker_credit_score/      49      0   100%

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
faker_credit_score-0.2.2.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page