Skip to main content

FAKEDATA

Modulo para la generacion de informacion falsa!

Este modulo fue creado con la finalidad de crear PRUEBAS, esta idea me surgio ya que en un proyecto necesitaba rellenar mi base de datos con informacion tipo placeholder para realizar pruebas.

Metodos

A continuacion se describiran los metodos que contiene el modulo. Para utilizarlo solo importa la libreria.

from  fakedata.fakedata  import  FakeData

FakeData.RandomName()

Devuelve un nombre aleatoriamente de los siguientes formatos:

Nombre Nombre Apellido Apellido
Nombre Apellido Apellido

FakeData.RandomOneName()

Devuelve un nombre aleatoriamente en el siguiente formato:

Nombre - Apellido - Apellido

FakeData.RandomTwoName()

Devuelve un nombre aleatoreamente en el siguiente formato:

Nombre Nombre Apellido Apellido

FakeData.CheckSex(nombreRandom)

Devuelve el genero del nombre proporcionado. Esta funcion solo funciona con los nombres generados por las funciones:

FakeData.RandomOneName()
FakeData.RandomTwoName()
FakeData.RandomName()

FakeData.RandomEmail(nombreRandom)

Devuelve un email al pasarle un nombre, genera emails con los dominios:

gmail, outlook, yahoo, yopmail

Y con los las siguientes terminaciones

.com ,.net ,.es ,.mx

FakeData.PersonalizedEmail(nombre, servidor_web)

nombre : Cadena que contendra el nombre del cual se generara un email. Ejemplo: Jose Angel Colin Najera

servidor_web : Cadena que contendrael servidor con el que cuente el email. Ejemplo: gmail.com

Metadata

Release files for fakedata 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fakedata 0.4.3
File Size Uploaded Provenance Actions
fakedata-0.4.3.tar.gz 5.1 kB Without provenance Details for fakedata-0.4.3.tar.gz

Release files / fakedata-0.4.3.tar.gz

Download URL fakedata-0.4.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f25fe3c8790df53fd74147cada886911bbf090f7a1fd873394b5fdc814d11e35
BLAKE2b-256 checksum
How to use checksums
e84a28bd89db925de602a77a447a62830923fa10ecf5af8bad1d8011f231ad84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.1

Security for fakedata 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page