fake.py
Recipes
Cheat sheet
Creating files
Creating images
Creating PDF
Creating DOCX
Creating ODT
Creating archives
Factories
Customisation
Seed
Test/coverage configuration tweaks
CLI
Security Policy
Contributor guidelines
Contributor Covenant Code of Conduct
Release history and notes
Package
Indices and tables
fake.py
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
W
|
X
|
Y
|
Z
A
abspath() (fake.BaseStorage method)
(fake.FileSystemStorage method)
add() (fake.FileRegistry method)
add_content() (fake.MetaData method)
AuthorshipData (class in fake)
B
BaseStorage (class in fake)
bin() (fake.Faker method)
bin_file() (fake.Faker method)
bmp() (fake.Faker method)
bmp_file() (fake.Faker method)
bothify() (fake.Faker method)
C
city() (fake.Faker method)
clean_up() (fake.FileRegistry method)
CLI (class in fake)
company_email() (fake.Faker method)
company_emails() (fake.Faker method)
content (fake.MetaData attribute)
country() (fake.Faker method)
country_code() (fake.Faker method)
create() (fake.DjangoModelFactory class method)
(fake.DocxGenerator method)
(fake.EpubGenerator method)
(fake.GraphicPdfGenerator method)
(fake.ModelFactory class method)
(fake.OdtGenerator method)
(fake.RtfGenerator method)
(fake.SQLAlchemyModelFactory class method)
(fake.TextPdfGenerator method)
(fake.TortoiseModelFactory class method)
create_batch() (fake.ModelFactory class method)
create_inner_bmp_file() (in module fake)
create_inner_docx_file() (in module fake)
create_inner_eml_file() (in module fake)
create_inner_generic_file() (in module fake)
create_inner_gif_file() (in module fake)
create_inner_jpg_file() (in module fake)
create_inner_odt_file() (in module fake)
create_inner_pdf_file() (in module fake)
create_inner_png_file() (in module fake)
create_inner_ppm_file() (in module fake)
create_inner_rtf_file() (in module fake)
create_inner_svg_file() (in module fake)
create_inner_tar_file() (in module fake)
create_inner_text_pdf_file() (in module fake)
create_inner_tif_file() (in module fake)
create_inner_txt_file() (in module fake)
create_inner_wav_file() (in module fake)
create_inner_zip_file() (in module fake)
D
data (fake.StringValue attribute)
date() (fake.Faker method)
date_time() (fake.Faker method)
dir_path() (fake.Faker method)
DjangoModelFactory (class in fake)
docx() (fake.Faker method)
docx_file() (fake.Faker method)
DocxGenerator (class in fake)
domain_name() (fake.Faker method)
E
email() (fake.Faker method)
emails() (fake.Faker method)
eml() (fake.Faker method)
eml_file() (fake.Faker method)
epub() (fake.Faker method)
epub_file() (fake.Faker method)
EpubGenerator (class in fake)
execute() (fake.PostSave method)
(fake.PreInit method)
(fake.PreSave method)
execute_command() (fake.CLI method)
exists() (fake.BaseStorage method)
(fake.FileSystemStorage method)
F
Factory (class in fake)
FactoryMethod (class in fake)
fake
module
Faker (class in fake)
faker (fake.Factory property)
file_extension() (fake.Faker method)
file_name() (fake.Faker method)
file_path() (fake.Faker method)
FileRegistry (class in fake)
FileSystemStorage (class in fake)
fill_dataclass() (in module fake)
fill_pydantic_model() (in module fake)
first_name() (fake.Faker method)
first_names (fake.AuthorshipData attribute)
first_names() (fake.Faker method)
format_type_hint() (in module fake)
free_email() (fake.Faker method)
free_email_domain() (fake.Faker method)
free_emails() (fake.Faker method)
fuzzy_choice_create_inner_file() (in module fake)
G
generate_basename() (fake.BaseStorage method)
generate_filename() (fake.BaseStorage method)
(fake.FileSystemStorage method)
generic_file() (fake.Faker method)
geo_location() (fake.Faker method)
get_argparse_type() (in module fake)
get_by_alias() (fake.Faker static method)
get_by_uid() (fake.Faker static method)
get_or_create (fake.ModelFactory.Meta attribute)
get_provider_args() (in module fake)
get_provider_defaults() (in module fake)
gif() (fake.Faker method)
gif_file() (fake.Faker method)
GraphicPdfGenerator (class in fake)
I
iban() (fake.Faker method)
image() (fake.Faker method)
image_color (fake.GraphicPdfGenerator attribute)
image_size (fake.GraphicPdfGenerator attribute)
image_url() (fake.Faker method)
ipv4() (fake.Faker method)
is_optional_type() (in module fake)
is_valid_email() (fake.TestFaker class method)
isbn10() (fake.Faker method)
isbn13() (fake.Faker method)
J
jpg() (fake.Faker method)
jpg_file() (fake.Faker method)
L
last_name() (fake.Faker method)
last_names (fake.AuthorshipData attribute)
last_names() (fake.Faker method)
lat() (fake.Faker method)
latitude() (fake.Faker method)
latitude_longitude() (fake.Faker method)
latlng() (fake.Faker method)
latlon() (fake.Faker method)
lazy_string_template() (fake.Faker method)
LazyAttribute (class in fake)
LazyFunction (class in fake)
LazyStringTemplate (class in fake)
list_create_inner_file() (in module fake)
lng() (fake.Faker method)
load_data() (fake.Faker method)
load_geo_locations() (fake.Faker method)
load_locales_and_country_codes() (fake.Faker method)
load_names() (fake.Faker method)
load_words() (fake.Faker method)
locale() (fake.Faker method)
lon() (fake.Faker method)
longitude() (fake.Faker method)
M
main() (in module fake)
MetaData (class in fake)
mime_type() (fake.Faker method)
ModelFactory (class in fake)
ModelFactory.Meta (class in fake)
module
fake
N
name() (fake.Faker method)
names() (fake.Faker method)
nb_pages (fake.GraphicPdfGenerator attribute)
(fake.TextPdfGenerator attribute)
O
odt() (fake.Faker method)
odt_file() (fake.Faker method)
OdtGenerator (class in fake)
organise_providers() (in module fake)
P
paragraph() (fake.Faker method)
paragraphs() (fake.Faker method)
password() (fake.Faker method)
pdf() (fake.Faker method)
pdf_file() (fake.Faker method)
png() (fake.Faker method)
png_file() (fake.Faker method)
post_save() (in module fake)
PostSave (class in fake)
ppm() (fake.Faker method)
ppm_file() (fake.Faker method)
pre_init() (in module fake)
pre_save() (in module fake)
PreInit (class in fake)
PreSave (class in fake)
provider() (in module fake)
pybool() (fake.Faker method)
PydanticModelFactory (class in fake)
pydecimal() (fake.Faker method)
pyfloat() (fake.Faker method)
pyint() (fake.Faker method)
pystr() (fake.Faker method)
R
random_choice() (fake.Faker method)
random_element() (fake.Faker method)
random_elements() (fake.Faker method)
random_sample() (fake.Faker method)
randomise_string() (fake.Faker method)
randomize_string() (fake.Faker method)
relpath() (fake.BaseStorage method)
(fake.FileSystemStorage method)
remove() (fake.FileRegistry method)
resolve_inner_directory() (in module fake)
rtf() (fake.Faker method)
rtf_file() (fake.Faker method)
RtfGenerator (class in fake)
run_async_in_thread() (in module fake)
S
save() (fake.DjangoModelFactory class method)
(fake.ModelFactory class method)
(fake.SQLAlchemyModelFactory class method)
(fake.TortoiseModelFactory class method)
search() (fake.FileRegistry method)
seed() (fake.Faker method)
sentence() (fake.Faker method)
sentences() (fake.Faker method)
setUp() (fake.TestCLI method)
(fake.TestFaker method)
(fake.TestLazyStringTemplate method)
(fake.TestOrganiseProviders method)
(fake.TestStringTemplate method)
setup_parser() (fake.CLI method)
slug() (fake.Faker method)
slugify() (in module fake)
slugs() (fake.Faker method)
SQLAlchemyModelFactory (class in fake)
string_template() (fake.Faker method)
StringTemplate (class in fake)
StringValue (class in fake)
SubFactory (class in fake)
svg() (fake.Faker method)
svg_file() (fake.Faker method)
T
tar() (fake.Faker method)
tar_file() (fake.Faker method)
tearDown() (fake.TestFaker method)
test_argument_parsing_error_raises_value_error() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_authorship_data() (fake.TestFaker method)
test_bin() (fake.TestFaker method)
test_bin_file() (fake.TestFaker method)
test_bmp() (fake.TestFaker method)
test_bmp_file() (fake.TestFaker method)
test_city() (fake.TestFaker method)
test_clean_up_exceptions() (fake.TestFaker method)
test_company_email() (fake.TestFaker method)
test_company_email_custom_domain_names() (fake.TestFaker method)
test_company_emails() (fake.TestFaker method)
test_complex_argument_parsing() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_country() (fake.TestFaker method)
test_country_code() (fake.TestFaker method)
test_create_inner_bmp_file() (fake.TestFaker method)
test_create_inner_docx_file() (fake.TestFaker method)
test_create_inner_eml_file() (fake.TestFaker method)
test_create_inner_eml_file_with_options() (fake.TestFaker method)
test_create_inner_eml_file_with_options_list_create() (fake.TestFaker method)
test_create_inner_epub_file() (fake.TestFaker method)
test_create_inner_generic_file_with_lazy_string_template_and_dir_path() (fake.TestFaker method)
test_create_inner_gif_file() (fake.TestFaker method)
test_create_inner_jpg_file() (fake.TestFaker method)
test_create_inner_odt_file() (fake.TestFaker method)
test_create_inner_pdf_file() (fake.TestFaker method)
test_create_inner_png_file() (fake.TestFaker method)
test_create_inner_ppm_file() (fake.TestFaker method)
test_create_inner_rtf_file() (fake.TestFaker method)
test_create_inner_svg_file() (fake.TestFaker method)
test_create_inner_tar_file() (fake.TestFaker method)
test_create_inner_tar_file_with_options() (fake.TestFaker method)
test_create_inner_tar_file_with_options_list_create() (fake.TestFaker method)
test_create_inner_text_pdf_file() (fake.TestFaker method)
test_create_inner_tif_file() (fake.TestFaker method)
test_create_inner_txt_file() (fake.TestFaker method)
test_create_inner_wav_file() (fake.TestFaker method)
test_create_inner_zip_file() (fake.TestFaker method)
test_create_inner_zip_file_with_options() (fake.TestFaker method)
test_create_inner_zip_file_with_options_list_create() (fake.TestFaker method)
test_date() (fake.TestFaker method)
test_date_deprecated_units() (fake.TestFaker method)
test_date_iso_range() (fake.TestFaker method)
test_date_provider() (fake.TestCLI method)
test_date_provider_with_args() (fake.TestCLI method)
test_date_relative_months() (fake.TestFaker method)
test_date_relative_weeks() (fake.TestFaker method)
test_date_relative_years() (fake.TestFaker method)
test_date_time() (fake.TestFaker method)
test_date_time_iso_range() (fake.TestFaker method)
test_date_time_relative_months() (fake.TestFaker method)
test_date_time_relative_weeks() (fake.TestFaker method)
test_date_time_relative_years() (fake.TestFaker method)
test_dir_path() (fake.TestFaker method)
test_docx() (fake.TestFaker method)
test_docx_file() (fake.TestFaker method)
test_docx_file_provider() (fake.TestCLI method)
test_domain_name_custom_domain_names() (fake.TestFaker method)
test_domain_name_with_defaults() (fake.TestFaker method)
test_email() (fake.TestFaker method)
test_email_custom_domain_names() (fake.TestFaker method)
test_emails() (fake.TestFaker method)
test_eml() (fake.TestFaker method)
test_eml_file() (fake.TestFaker method)
test_epub() (fake.TestFaker method)
test_escape_braces() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_factory_method() (fake.TestFaker method)
test_factory_methods() (fake.TestFaker method)
test_faker_init() (fake.TestFaker method)
test_file_extension() (fake.TestFaker method)
test_file_name() (fake.TestFaker method)
test_file_path() (fake.TestFaker method)
test_first_name() (fake.TestFaker method)
test_first_names() (fake.TestFaker method)
test_free_email() (fake.TestFaker method)
test_free_email_domain() (fake.TestFaker method)
test_free_emails() (fake.TestFaker method)
test_generic_file() (fake.TestFaker method)
test_generic_file_accepts_lazy_string_template() (fake.TestFaker method)
test_generic_file_accepts_string_template() (fake.TestFaker method)
test_generic_file_basename_absolute_path() (fake.TestFaker method)
test_generic_file_basename_invalid_chars() (fake.TestFaker method)
test_generic_file_basename_lazy_string_template() (fake.TestFaker method)
test_generic_file_basename_path_traversal() (fake.TestFaker method)
test_generic_file_basename_string_template() (fake.TestFaker method)
test_generic_file_prefix_absolute_path() (fake.TestFaker method)
test_generic_file_prefix_invalid_chars() (fake.TestFaker method)
test_generic_file_prefix_lazy_string_template() (fake.TestFaker method)
test_generic_file_prefix_path_traversal() (fake.TestFaker method)
test_generic_file_prefix_string_template() (fake.TestFaker method)
test_generic_file_provider() (fake.TestCLI method)
test_geo_location() (fake.TestFaker method)
test_get_by_alias() (fake.TestFaker method)
test_get_by_uid() (fake.TestFaker method)
test_gif() (fake.TestFaker method)
test_gif_file() (fake.TestFaker method)
test_graphic_pdf() (fake.TestFaker method)
test_iban() (fake.TestFaker method)
test_image() (fake.TestFaker method)
test_image_url() (fake.TestFaker method)
test_instance_is_str() (fake.TestStringTemplate method)
test_ipv4() (fake.TestFaker method)
test_isbn10() (fake.TestFaker method)
test_isbn13() (fake.TestFaker method)
test_isbn13_checksum() (fake.TestFaker method)
test_join_with_no_templates() (fake.TestStringTemplate method)
test_join_with_single_template() (fake.TestStringTemplate method)
test_join_with_string_template() (fake.TestStringTemplate method)
test_jpg() (fake.TestFaker method)
test_jpg_file() (fake.TestFaker method)
test_large_number_of_placeholders() (fake.TestStringTemplate method)
test_last_name() (fake.TestFaker method)
test_last_names() (fake.TestFaker method)
test_latitude() (fake.TestFaker method)
test_latitude_longitude() (fake.TestFaker method)
test_lazy_string_template() (fake.TestFaker method)
test_locale() (fake.TestFaker method)
test_longitude() (fake.TestFaker method)
test_main() (fake.TestScript method)
test_metadata() (fake.TestFaker method)
test_method_call_error_raises_value_error() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_mime_type() (fake.TestFaker method)
test_missing_method_raises_attribute_error() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_multiple_placeholders() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_name() (fake.TestFaker method)
test_names() (fake.TestFaker method)
test_nested_placeholders() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_no_command() (fake.TestCLI method)
test_no_placeholders() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_no_wrapping_when_not_specified() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_odt() (fake.TestFaker method)
test_odt_file() (fake.TestFaker method)
test_organise_providers_category_sorting() (fake.TestOrganiseProviders method)
test_organise_providers_empty() (fake.TestOrganiseProviders method)
test_organise_providers_multiple_providers() (fake.TestOrganiseProviders method)
test_organise_providers_multiple_tags() (fake.TestOrganiseProviders method)
test_organise_providers_single_tag() (fake.TestOrganiseProviders method)
test_organise_providers_sorting() (fake.TestOrganiseProviders method)
test_paragraph() (fake.TestFaker method)
test_paragraphs() (fake.TestFaker method)
test_parse_date_string() (fake.TestFaker method)
test_password() (fake.TestFaker method)
test_pdf_file() (fake.TestFaker method)
test_pdf_file_basename_string_template() (fake.TestFaker method)
test_pdf_file_basename_validation() (fake.TestFaker method)
test_pdf_file_prefix_lazy_string_template() (fake.TestFaker method)
test_placeholder_with_arguments() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_boolean_arguments() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_empty_arguments() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_no_parentheses() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_numeric_method_name() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_spaces_in_arguments() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_placeholder_with_underscores_in_method_name() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_png() (fake.TestFaker method)
test_png_file() (fake.TestFaker method)
test_ppm() (fake.TestFaker method)
test_ppm_file() (fake.TestFaker method)
test_provider_list() (fake.TestCLI method)
test_pybool() (fake.TestFaker method)
test_pydecimal() (fake.TestFaker method)
test_pyfloat() (fake.TestFaker method)
test_pyint() (fake.TestFaker method)
test_pyint_provider() (fake.TestCLI method)
test_pystr() (fake.TestFaker method)
test_random_choice() (fake.TestFaker method)
test_random_sample() (fake.TestFaker method)
test_randomise_string() (fake.TestFaker method)
test_registry_integration() (fake.TestFaker method)
test_remove_by_string_not_found() (fake.TestFaker method)
test_remove_exceptions() (fake.TestFaker method)
test_repr_method() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_rtf() (fake.TestFaker method)
test_seed() (fake.TestFaker method)
test_sentence() (fake.TestFaker method)
test_sentences() (fake.TestFaker method)
test_simple_placeholder_replacement() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_slug() (fake.TestFaker method)
test_slugify_empty_string() (fake.TestSlugify method)
test_slugify_mixed_characters() (fake.TestSlugify method)
test_slugify_non_english_characters() (fake.TestSlugify method)
test_slugify_numbers() (fake.TestSlugify method)
test_slugify_simple() (fake.TestSlugify method)
test_slugify_spaces() (fake.TestSlugify method)
test_slugify_special_characters() (fake.TestSlugify method)
test_slugs() (fake.TestFaker method)
test_storage() (fake.TestFaker method)
test_storage_integration() (fake.TestFaker method)
test_str_method() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_string_template() (fake.TestFaker method)
test_sub_factory() (fake.TestFaker method)
test_svg() (fake.TestFaker method)
test_svg_file() (fake.TestFaker method)
test_tar() (fake.TestFaker method)
test_tar_dir_path_literal() (fake.TestFaker method)
test_tar_file() (fake.TestFaker method)
test_text() (fake.TestFaker method)
test_text_pdf() (fake.TestFaker method)
test_text_pdf_file() (fake.TestFaker method)
test_texts() (fake.TestFaker method)
test_tif() (fake.TestFaker method)
test_tif_file() (fake.TestFaker method)
test_time() (fake.TestFaker method)
test_tld_with_custom_tlds() (fake.TestFaker method)
test_tld_with_defaults() (fake.TestFaker method)
test_txt_file() (fake.TestFaker method)
test_txt_file_basename_string_template() (fake.TestFaker method)
test_txt_file_prefix_lazy_string_template() (fake.TestFaker method)
test_txt_file_prefix_validation() (fake.TestFaker method)
test_url() (fake.TestFaker method)
test_username() (fake.TestFaker method)
test_usernames() (fake.TestFaker method)
test_uuid() (fake.TestFaker method)
test_uuids() (fake.TestFaker method)
test_wav() (fake.TestFaker method)
test_wav_file() (fake.TestFaker method)
test_word() (fake.TestFaker method)
test_words() (fake.TestFaker method)
test_wrapping_functionality() (fake.TestLazyStringTemplate method)
(fake.TestStringTemplate method)
test_year() (fake.TestFaker method)
test_zip() (fake.TestFaker method)
test_zip_dir_path_literal() (fake.TestFaker method)
test_zip_dir_path_sanitization() (fake.TestFaker method)
test_zip_dir_path_template() (fake.TestFaker method)
test_zip_file() (fake.TestFaker method)
test_zip_without_dir_path_unaffected() (fake.TestFaker method)
TestCLI (class in fake)
TestFaker (class in fake)
TestLazyStringTemplate (class in fake)
TestOrganiseProviders (class in fake)
TestScript (class in fake)
TestSlugify (class in fake)
TestStringTemplate (class in fake)
text() (fake.Faker method)
text_pdf() (fake.Faker method)
text_pdf_file() (fake.Faker method)
TextPdfGenerator (class in fake)
texts (fake.TextPdfGenerator attribute)
texts() (fake.Faker method)
tif() (fake.Faker method)
tif_file() (fake.Faker method)
time() (fake.Faker method)
tld() (fake.Faker method)
TortoiseModelFactory (class in fake)
trait() (in module fake)
txt_file() (fake.Faker method)
U
unlink() (fake.BaseStorage method)
(fake.FileSystemStorage method)
url() (fake.Faker method)
username() (fake.Faker method)
usernames() (fake.Faker method)
uuid() (fake.Faker method)
uuids() (fake.Faker method)
W
wav() (fake.Faker method)
wav_file() (fake.Faker method)
word() (fake.Faker method)
words() (fake.Faker method)
wrap_text() (in module fake)
write_bytes() (fake.BaseStorage method)
(fake.FileSystemStorage method)
write_text() (fake.BaseStorage method)
(fake.FileSystemStorage method)
X
xor_transform() (in module fake)
Y
year() (fake.Faker method)
Z
zip() (fake.Faker method)
zip_file() (fake.Faker method)