{"id":13737244,"url":"https://github.com/jiro4989/faker","last_synced_at":"2025-05-08T17:01:51.460Z","repository":{"id":36663123,"uuid":"228493252","full_name":"jiro4989/faker","owner":"jiro4989","description":"Faker is a Nim package that generates fake data for you.","archived":false,"fork":false,"pushed_at":"2024-07-06T01:43:12.000Z","size":762,"stargazers_count":42,"open_issues_count":11,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T17:50:04.392Z","etag":null,"topics":["cli","data","faker","generator","lib","nim"],"latest_commit_sha":null,"homepage":"https://jiro4989.github.io/faker/faker.html","language":"Nim","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/jiro4989.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-16T23:21:17.000Z","updated_at":"2025-01-09T15:42:17.000Z","dependencies_parsed_at":"2024-01-06T12:08:04.478Z","dependency_job_id":"45629e6d-a28e-4833-bf0a-0a97a34d8a02","html_url":"https://github.com/jiro4989/faker","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Ffaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Ffaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Ffaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Ffaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiro4989","download_url":"https://codeload.github.com/jiro4989/faker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253112071,"owners_count":21856070,"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","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":["cli","data","faker","generator","lib","nim"],"created_at":"2024-08-03T03:01:38.408Z","updated_at":"2025-05-08T17:01:51.233Z","avatar_url":"https://github.com/jiro4989.png","language":"Nim","readme":"=====\nfaker\n=====\n\n|gh-actions|\n\nfaker is a Nim package that generates fake data for you.\nfaker is heavily inspired by `Python Faker \u003chttps://github.com/joke2k/faker\u003e`_.\n\n**WIP**\n\n.. contents:: Table of contents\n   :depth: 3\n\nInstallation\n============\n\n.. code-block:: Bash\n\n   nimble install faker\n\nUsage\n=====\n\nLibrary\n-------\n\n.. code-block:: Nim\n\n   import faker\n\n   block:\n     let fake = newFaker(\"ja_JP\")\n     echo fake.address()\n     # -\u003e 茨城県港区東三島31丁目3番16号\n\n     echo fake.name()\n     # -\u003e 若松 香織\n\n   block:\n     # default locale is `LANG` environment variables\n\n     let fake = newFaker()\n     echo fake.address()\n     # -\u003e 94622 Cesar Camp Apt. 13 South Caitlyn, HI 35128\n\n     echo fake.name()\n     # -\u003e Bruce Wagner DDS\n\nCLI\n----\n\n.. code-block:: Bash\n\n   $ faker address\n   大阪府調布市湯宮27丁目24番12号\n\n   # Set locale and run\n   $ LANG=en_US.UTF-8 faker name\n   Mr. Leonard Johns\n\n\nSupported locale\n================\n\nI understand only English and Japanese.\n\n======  ===========\nLocale  Description\n======  ===========\nen_US   English\nja_JP   Japanese\nfa_IR   Persian\n======  ===========\n\nProviders\n=========\n\nTODO list.\n\n- [ ] base\n- [o] faker.provider.address\n- [o] faker.provider.automotive\n- [o] faker.provider.bank\n- [ ] faker.provider.barcode\n- [ ] faker.provider.color\n- [o] faker.provider.company\n- [ ] faker.provider.credit_card\n- [o] faker.provider.currency\n- [ ] faker.provider.date_time\n- [o] faker.provider.file\n- [ ] faker.provider.geo\n- [ ] faker.provider.internet\n- [o] faker.provider.isbn\n- [o] faker.provider.job\n- [ ] faker.provider.lorem\n- [o] faker.provider.misc\n- [o] faker.provider.person\n- [o] faker.provider.phone_number\n- [ ] faker.provider.profile\n- [ ] faker.provider.python\n- [o] faker.provider.ssn\n- [o] faker.provider.user_agent\n\nAPI document\n============\n\n* https://jiro4989.github.io/faker/faker.html\n\nDevelopment\n===========\n\nAdding new module\n-----------------\n\nYou can generate a new module with `nimble genMod` task.\nRun below.\n\n.. code-block:: Bash\n\n   $ nimble genMod new_module\n\nPlease see other module implements, and edit a generated module.\n\nUpdate provider code\n--------------------\n\nYou can update `src/faker/provider/*.nim` codes with `generator` tool.\nRun below if you had edited a new module.\n\n.. code-block:: Bash\n\n   $ nimble tool\n   $ ./tools/generator\n\nSee `src/faker/provider/*.nim`.\nA new provider will be generated.\n\n.. code-block: Bash\n\n   $ ls -1 src/faker/provider/*.nim\n   src/faker/provider/address.nim\n   src/faker/provider/job.nim\n   src/faker/provider/person.nim\n   src/faker/provider/phone_number.nim\n   src/faker/provider/new_module.nim # \u003c--- New provider.\n   src/faker/provider/util.nim\n\nPull request\n============\n\nWelcome :heart:\n\nLICENSE\n=======\n\nMIT\n\n.. |gh-actions| image:: https://github.com/jiro4989/faker/workflows/test/badge.svg\n   :target: https://github.com/jiro4989/faker/actions\n","funding_links":[],"categories":["Development Tools"],"sub_categories":["Testing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Ffaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiro4989%2Ffaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Ffaker/lists"}