Skip to main content

No project description provided

Project description

How Fake Accounts

Pacote python criado para gerar contas fakes, para o primeiro desafio do bootcamp de engenharia de dados da How. O pacote é a implementação de um provider customizado do Faker, conforme sugerido em https://faker.readthedocs.io/en/master/#how-to-create-a-provider.

As contas feitas simulam o cadastro de usuários em um aplicativo e contém as seguintes informações para cada usuário cadastrado:

  • nome
  • email
  • número de telefone
  • cpf
  • data de nascimento
  • endereço
  • emprego

How to install

pip install how-fake-accounts

How to use

We have mainly two ways to use the package:

  • as a package itself, to be imported in python scripts
  • as a command line interface

Package Interface

from how_fake_accounts import fake

# generate 10 random accounts
accounts = fake.generate_accounts(10)
print(accounts)
fake.save_locally(accounts)

CLI Interface

To generate 50 accounts, just type into terminal:

how_fake --n-accounts 50

or

python -m how_fake --n-accounts 50

for help, just type:

how_fake --help

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

how_fake_accounts-1.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

how_fake_accounts-1.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file how_fake_accounts-1.1.0.tar.gz.

File metadata

  • Download URL: how_fake_accounts-1.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for how_fake_accounts-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bca7abc06b9b913cf7192b8e1066176aaf1d9ac910394833c45d165d9c0c3425
MD5 da201d0939f970d6037b47d3bd1e0a22
BLAKE2b-256 b6cb8a783e402b17cdcc2b04bb9922bcdfc2a0c5168b4ab8e34b36d916b66165

See more details on using hashes here.

File details

Details for the file how_fake_accounts-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for how_fake_accounts-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78e22441bd26de8937db50c9a3953bd287cb60ae4d8759b27bf75bfa41da9179
MD5 fdb7cbb7c7f9395e74ba1d841c40dd94
BLAKE2b-256 91f698a2003467a0139146d8a99dd8a6e8922432130ee8325f106175c4560e1d

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