{"id":29867431,"url":"https://github.com/pymmdrza/libfake","last_synced_at":"2025-07-30T13:36:40.645Z","repository":{"id":304683322,"uuid":"1013953616","full_name":"Pymmdrza/libfake","owner":"Pymmdrza","description":"First name , Surname and Email Fake Mode in Python with Library Fake.","archived":false,"fork":false,"pushed_at":"2025-07-14T15:21:07.000Z","size":102,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T19:51:05.750Z","etag":null,"topics":["fake","fake-generator","fake-library","fake-package","faker","package","pypi","python"],"latest_commit_sha":null,"homepage":"https://libfake.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pymmdrza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-04T18:56:44.000Z","updated_at":"2025-07-14T15:19:51.000Z","dependencies_parsed_at":"2025-07-14T19:51:08.873Z","dependency_job_id":"883745d6-57f9-4fea-9947-7fb75193685c","html_url":"https://github.com/Pymmdrza/libfake","commit_stats":null,"previous_names":["pymmdrza/libfake"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Pymmdrza/libfake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pymmdrza%2Flibfake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pymmdrza%2Flibfake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pymmdrza%2Flibfake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pymmdrza%2Flibfake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pymmdrza","download_url":"https://codeload.github.com/Pymmdrza/libfake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pymmdrza%2Flibfake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267875845,"owners_count":24158783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fake","fake-generator","fake-library","fake-package","faker","package","pypi","python"],"created_at":"2025-07-30T13:36:24.795Z","updated_at":"2025-07-30T13:36:40.633Z","avatar_url":"https://github.com/Pymmdrza.png","language":"Python","readme":"# libfake\n\nFirst name , Surname and Email Fake Mode in Python with Library Fake.\n\nIt has happened repeatedly that a programmer wants to create different users in a project for the user parts of his project with fictitious names and emails that are close to reality, for necessary checks or initial presentation, or other similar cases. This library has been created to meet the needs of this category of functions in a specialized way and using standard and optimized Python methods, and all its components are visible as open source.\nUsing real and existing first and last names, all first and last names are created, and to use a large amount of this information for ease of use and to prevent the consumption of user resources, the required files are optimized and imported as a singleton, which is a trick that increases the speed of creation incomparably, along with other techniques used.\n\n## Install\n\n```bash\npip install libfake\n```\nin mac or linux use `pip3` : `pip3 install libfake`\n\n---\n\n## Usage\n\n```python\nfrom libfake import FakeName\nfake = FakeName()\n```\n\n### First Name and Surname\n\n```python\n# Random First name\nfirst_name = fake.get_firstname()\n# Random Surname\nsurname = fake.get_surname()\n```\n### First name , Surname and Email\n\n```python\nfirst_name = fake.get_firstname()\nsurname = fake.get_surname()\n# Generate email From first name and surname.\nemail = fake.generate_email(first_name, surname)\n```\n\n### Random Full Name \n\n```python\nfull_name = fake.get_full_name()\n```\n\n### Random Email\n\n```python\nrandom_email = fake.generate_email()\n```\n\n### Email for a Specific Name\n\n```python\nspecific_email = fake.generate_email(\"Alice\", \"Wonderland\")\n```\n\n### Custom Provider\n\n```python\nprovider_custom = \"example.com\"\n# Create a new, custom-configured instance (resets the singleton)\ncustom_fake = fake.get_details(first_name=\"Alice\", surname=\"Smith\", provider=provider_custom)\n# return dict details , if need just email:\ncustom_email = custom_fake.get('email')\n```\n\n\n## Programmer\n\nProgrammer and Owner By : [Pymmdrza](https://github.com/Pymmdrza)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpymmdrza%2Flibfake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpymmdrza%2Flibfake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpymmdrza%2Flibfake/lists"}