[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2511":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},2511,"faker","joke2k\u002Ffaker","joke2k","Faker is a Python package that generates fake data for you.","https:\u002F\u002Ffaker.readthedocs.io",null,"Python",19268,2078,218,5,0,3,14,50,11,87.95,"MIT License",false,"master",true,[27,28,29,5,30,31,32,33,34],"dataset","fake","fake-data","faker-generator","python","test-data","test-data-generator","testing","2026-06-12 04:00:14","*Faker* is a Python package that generates fake data for you. Whether\nyou need to bootstrap your database, create good-looking XML documents,\nfill-in your persistence to stress test it, or anonymize data taken from\na production service, Faker is for you.\n\nFaker is heavily inspired by `PHP Faker`_, `Perl Faker`_, and by `Ruby Faker`_.\n\n----\n\n::\n\n    _|_|_|_|          _|\n    _|        _|_|_|  _|  _|      _|_|    _|  _|_|\n    _|_|_|  _|    _|  _|_|      _|_|_|_|  _|_|\n    _|      _|    _|  _|  _|    _|        _|\n    _|        _|_|_|  _|    _|    _|_|_|  _|\n\n|pypi| |build| |coverage| |license|\n\n----\n\nCompatibility\n-------------\n\nStarting from version ``4.0.0``, ``Faker`` dropped support for Python 2 and from version ``5.0.0``\nonly supports Python 3.8 and above. If you still need Python 2 compatibility, please install version ``3.0.1`` in the\nmeantime, and please consider updating your codebase to support Python 3 so you can enjoy the\nlatest features ``Faker`` has to offer. Please see the `extended docs`_ for more details, especially\nif you are upgrading from version ``2.0.4`` and below as there might be breaking changes.\n\nThis package was also previously called ``fake-factory`` which was already deprecated by the end\nof 2016, and much has changed since then, so please ensure that your project and its dependencies\ndo not depend on the old package.\n\nBasic Usage\n-----------\n\nInstall with pip:\n\n.. code:: bash\n\n    pip install Faker\n\nUse ``faker.Faker()`` to create and initialize a faker\ngenerator, which can generate data by accessing properties named after\nthe type of data you want.\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n\n    fake.name()\n    # 'Lucy Cechtelar'\n\n    fake.address()\n    # '426 Jordy Lodge\n    #  Cartwrightshire, SC 88120-6700'\n\n    fake.text()\n    # 'Sint velit eveniet. Rerum atque repellat voluptatem quia rerum. Numquam excepturi\n    #  beatae sint laudantium consequatur. Magni occaecati itaque sint et sit tempore. Nesciunt\n    #  amet quidem. Iusto deleniti cum autem ad quia aperiam.\n    #  A consectetur quos aliquam. In iste aliquid et aut similique suscipit. Consequatur qui\n    #  quaerat iste minus hic expedita. Consequuntur error magni et laboriosam. Aut aspernatur\n    #  voluptatem sit aliquam. Dolores voluptatum est.\n    #  Aut molestias et maxime. Fugit autem facilis quos vero. Eius quibusdam possimus est.\n    #  Ea quaerat et quisquam. Deleniti sunt quam. Adipisci consequatur id in occaecati.\n    #  Et sint et. Ut ducimus quod nemo ab voluptatum.'\n\nEach call to method ``fake.name()`` yields a different (random) result.\nThis is because faker forwards ``faker.Generator.method_name()`` calls\nto ``faker.Generator.format(method_name)``.\n\n.. code:: python\n\n    for _ in range(10):\n      print(fake.name())\n\n    # 'Adaline Reichel'\n    # 'Dr. Santa Prosacco DVM'\n    # 'Noemy Vandervort V'\n    # 'Lexi O'Conner'\n    # 'Gracie Weber'\n    # 'Roscoe Johns'\n    # 'Emmett Lebsack'\n    # 'Keegan Thiel'\n    # 'Wellington Koelpin II'\n    # 'Ms. Karley Kiehn V'\n\nPytest fixtures\n---------------\n\n``Faker`` also has its own ``pytest`` plugin which provides a ``faker`` fixture you can use in your\ntests. Please check out the `pytest fixture docs` to learn more.\n\nProviders\n---------\n\nEach of the generator properties (like ``name``, ``address``, and\n``lorem``) are called \"fake\". A faker generator has many of them,\npackaged in \"providers\".\n\n.. code:: python\n\n    from faker import Faker\n    from faker.providers import internet\n\n    fake = Faker()\n    fake.add_provider(internet)\n\n    print(fake.ipv4_private())\n\n\nCheck the `extended docs`_ for a list of `bundled providers`_ and a list of\n`community providers`_.\n\nLocalization\n------------\n\n``faker.Faker`` can take a locale as an argument, to return localized\ndata. If no localized provider is found, the factory falls back to the\ndefault LCID string for US english, ie: ``en_US``.\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker('it_IT')\n    for _ in range(10):\n        print(fake.name())\n\n    # 'Elda Palumbo'\n    # 'Pacifico Giordano'\n    # 'Sig. Avide Guerra'\n    # 'Yago Amato'\n    # 'Eustachio Messina'\n    # 'Dott. Violante Lombardo'\n    # 'Sig. Alighieri Monti'\n    # 'Costanzo Costa'\n    # 'Nazzareno Barbieri'\n    # 'Max Coppola'\n\n``faker.Faker`` also supports multiple locales. New in v3.0.0.\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker(['it_IT', 'en_US', 'ja_JP'])\n    for _ in range(10):\n        print(fake.name())\n\n    # 鈴木 陽一\n    # Leslie Moreno\n    # Emma Williams\n    # 渡辺 裕美子\n    # Marcantonio Galuppi\n    # Martha Davis\n    # Kristen Turner\n    # 中津川 春香\n    # Ashley Castillo\n    # 山田 桃子\n\nYou can check available Faker locales in the source code, under the\nproviders package. The localization of Faker is an ongoing process, for\nwhich we need your help. Please don't hesitate to create a localized\nprovider for your own locale and submit a Pull Request (PR).\n\nOptimizations\n-------------\nThe Faker constructor takes a performance-related argument called\n``use_weighting``. It specifies whether to attempt to have the frequency\nof values match real-world frequencies (e.g. the English name Gary would\nbe much more frequent than the name Lorimer). If ``use_weighting`` is ``False``,\nthen all items have an equal chance of being selected, and the selection\nprocess is much faster. The default is ``True``.\n\nCommand line usage\n------------------\n\nWhen installed, you can invoke faker from the command-line:\n\n.. code:: console\n\n    faker [-h] [--version] [-o output]\n          [-l {bg_BG,cs_CZ,...,zh_CN,zh_TW}]\n          [-r REPEAT] [-s SEP]\n          [-i package.containing.custom_provider]\n          [fake] [fake argument [fake argument ...]]\n\nWhere:\n\n-  ``faker``: is the script when installed in your environment, in\n   development you could use ``python -m faker`` instead\n\n-  ``-h``, ``--help``: shows a help message\n\n-  ``--version``: shows the program's version number\n\n-  ``-o FILENAME``: redirects the output to the specified filename\n\n-  ``-l {bg_BG,cs_CZ,...,zh_CN,zh_TW}``: allows use of a localized\n   provider\n\n-  ``-r REPEAT``: will generate a specified number of outputs\n\n-  ``-s SEP``: will generate the specified separator after each\n   generated output\n\n-  ``-i package.containing.custom_provider`` additional custom provider to use. Note this\n   is the import path of the package containing your Provider class, not the\n   custom Provider class itself. Can be repeated to add multiple providers.\n\n-  ``fake``: is the name of the fake to generate an output for, such as\n   ``name``, ``address``, or ``text``\n\n-  ``[fake argument ...]``: optional arguments to pass to the fake (e.g. the\n   profile fake takes an optional list of comma separated field names as the\n   first argument)\n\nExamples:\n\n.. code:: console\n\n    $ faker address\n    968 Bahringer Garden Apt. 722\n    Kristinaland, NJ 09890\n\n    $ faker -l de_DE address\n    Samira-Niemeier-Allee 56\n    94812 Biedenkopf\n\n    $ faker profile ssn,birthdate\n    {'ssn': '628-10-1085', 'birthdate': '2008-03-29'}\n\n    $ faker -r=3 -s=\";\" name\n    Willam Kertzmann;\n    Josiah Maggio;\n    Gayla Schmitt;\n\n    $ faker -i faker_credit_score credit_score_full\n    Experian\u002FFair Isaac Risk Model V2SM\n    Experian\n    801\n\nHow to create a Provider\n------------------------\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n\n    # first, import a similar Provider or use the default one\n    from faker.providers import BaseProvider\n\n    # create new provider class\n    class MyProvider(BaseProvider):\n        def foo(self) -> str:\n            return 'bar'\n\n    # then add new provider to faker instance\n    fake.add_provider(MyProvider)\n\n    # now you can use:\n    fake.foo()\n    # 'bar'\n\n\nHow to create a Dynamic Provider\n--------------------------------\n\nDynamic providers can read elements from an external source.\n\n.. code:: python\n\n    from faker import Faker\n    from faker.providers import DynamicProvider\n\n    medical_professions_provider = DynamicProvider(\n         provider_name=\"medical_profession\",\n         elements=[\"dr.\", \"doctor\", \"nurse\", \"surgeon\", \"clerk\"],\n    )\n\n    fake = Faker()\n\n    # then add new provider to faker instance\n    fake.add_provider(medical_professions_provider)\n\n    # now you can use:\n    fake.medical_profession()\n    # 'dr.'\n\nHow to customize the Lorem Provider\n-----------------------------------\n\nYou can provide your own sets of words if you don't want to use the\ndefault lorem ipsum one. The following example shows how to do it with a list of words picked from `cakeipsum \u003Chttp:\u002F\u002Fwww.cupcakeipsum.com\u002F>`__ :\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n\n    my_word_list = [\n    'danish','cheesecake','sugar',\n    'Lollipop','wafer','Gummies',\n    'sesame','Jelly','beans',\n    'pie','bar','Ice','oat' ]\n\n    fake.sentence()\n    # 'Expedita at beatae voluptatibus nulla omnis.'\n\n    fake.sentence(ext_word_list=my_word_list)\n    # 'Oat beans oat Lollipop bar cheesecake.'\n\n\nHow to use with Factory Boy\n---------------------------\n\n`Factory Boy` already ships with integration with ``Faker``. Simply use the\n``factory.Faker`` method of ``factory_boy``:\n\n.. code:: python\n\n    import factory\n    from myapp.models import Book\n\n    class BookFactory(factory.Factory):\n        class Meta:\n            model = Book\n\n        title = factory.Faker('sentence', nb_words=4)\n        author_name = factory.Faker('name')\n\nAccessing the `random` instance\n-------------------------------\n\nThe ``.random`` property on the generator returns the instance of\n``random.Random`` used to generate the values:\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n    fake.random\n    fake.random.getstate()\n\nBy default all generators share the same instance of ``random.Random``, which\ncan be accessed with ``from faker.generator import random``. Using this may\nbe useful for plugins that want to affect all faker instances.\n\nUnique values\n-------------\n\nThrough use of the ``.unique`` property on the generator, you can guarantee\nthat any generated values are unique for this specific instance.\n\n.. code:: python\n\n   from faker import Faker\n   fake = Faker()\n   names = [fake.unique.first_name() for i in range(500)]\n   assert len(set(names)) == len(names)\n\nOn ``Faker`` instances with multiple locales, you can specify the locale to use\nfor the unique values by using the subscript notation:\n\n.. code:: python\n\n   from faker import Faker\n   fake = Faker(['en_US', 'fr_FR'])\n   names = [fake.unique[\"en_US\"].first_name() for i in range(500)]\n   assert len(set(names)) == len(names)\n\nCalling ``fake.unique.clear()`` clears the already seen values.\n\nNote, to avoid infinite loops, after a number of attempts to find a unique\nvalue, Faker will throw a ``UniquenessException``. Beware of the `birthday\nparadox \u003Chttps:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FBirthday_problem>`_, collisions\nare more likely than you'd think.\n\n\n.. code:: python\n\n   from faker import Faker\n\n   fake = Faker()\n   for i in range(3):\n        # Raises a UniquenessException\n        fake.unique.boolean()\n\nIn addition, only hashable arguments and return values can be used\nwith ``.unique``.\n\nSeeding the Generator\n---------------------\n\nWhen using Faker for unit testing, you will often want to generate the same\ndata set. For convenience, the generator also provides a ``seed()`` method,\nwhich seeds the shared random number generator. A Seed produces the same result\nwhen the same methods with the same version of faker are called.\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n    Faker.seed(4321)\n\n    print(fake.name())\n    # 'Margaret Boehm'\n\nEach generator can also be switched to use its own instance of ``random.Random``,\nseparated from the shared one, by using the ``seed_instance()`` method, which acts\nthe same way. For example:\n\n.. code:: python\n\n    from faker import Faker\n    fake = Faker()\n    fake.seed_instance(4321)\n\n    print(fake.name())\n    # 'Margaret Boehm'\n\nPlease note that as we keep updating datasets, results are not guaranteed to be\nconsistent across patch versions. If you hardcode results in your test, make sure\nyou pinned the version of ``Faker`` down to the patch number.\n\nIf you are using ``pytest``, you can seed the ``faker`` fixture by defining a ``faker_seed``\nfixture. Please check out the `pytest fixture docs` to learn more.\n\nTests\n-----\n\nRun tests:\n\n.. code:: bash\n\n    $ tox\n\nWrite documentation for the providers of the default locale:\n\n.. code:: bash\n\n    $ python -m faker > docs.txt\n\nWrite documentation for the providers of a specific locale:\n\n.. code:: bash\n\n    $ python -m faker --lang=de_DE > docs_de.txt\n\n\nContribute\n----------\n\nPlease see `CONTRIBUTING`_.\n\nLicense\n-------\n\nFaker is released under the MIT License. See the bundled `LICENSE`_ file\nfor details.\n\nCredits\n-------\n\n-  `FZaninotto`_ \u002F `PHP Faker`_\n-  `Distribute`_\n-  `Buildout`_\n-  `modern-package-template`_\n\n\n.. _FZaninotto: https:\u002F\u002Fgithub.com\u002Ffzaninotto\n.. _PHP Faker: https:\u002F\u002Fgithub.com\u002Ffzaninotto\u002FFaker\n.. _Perl Faker: http:\u002F\u002Fsearch.cpan.org\u002F~jasonk\u002FData-Faker-0.07\u002F\n.. _Ruby Faker: https:\u002F\u002Fgithub.com\u002Fstympy\u002Ffaker\n.. _Distribute: https:\u002F\u002Fpypi.org\u002Fproject\u002Fdistribute\u002F\n.. _Buildout: http:\u002F\u002Fwww.buildout.org\u002F\n.. _modern-package-template: https:\u002F\u002Fpypi.org\u002Fproject\u002Fmodern-package-template\u002F\n.. _extended docs: https:\u002F\u002Ffaker.readthedocs.io\u002Fen\u002Fstable\u002F\n.. _bundled providers: https:\u002F\u002Ffaker.readthedocs.io\u002Fen\u002Fstable\u002Fproviders.html\n.. _community providers: https:\u002F\u002Ffaker.readthedocs.io\u002Fen\u002Fstable\u002Fcommunityproviders.html\n.. _pytest fixture docs: https:\u002F\u002Ffaker.readthedocs.io\u002Fen\u002Fmaster\u002Fpytest-fixtures.html\n.. _LICENSE: https:\u002F\u002Fgithub.com\u002Fjoke2k\u002Ffaker\u002Fblob\u002Fmaster\u002FLICENSE.txt\n.. _CONTRIBUTING: https:\u002F\u002Fgithub.com\u002Fjoke2k\u002Ffaker\u002Fblob\u002Fmaster\u002FCONTRIBUTING.rst\n.. _Factory Boy: https:\u002F\u002Fgithub.com\u002FFactoryBoy\u002Ffactory_boy\n\n.. |pypi| image:: https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002FFaker.svg?style=flat-square&label=version\n    :target: https:\u002F\u002Fpypi.org\u002Fproject\u002FFaker\u002F\n    :alt: Latest version released on PyPI\n\n.. |coverage| image:: https:\u002F\u002Fimg.shields.io\u002Fcoveralls\u002Fjoke2k\u002Ffaker\u002Fmaster.svg?style=flat-square\n    :target: https:\u002F\u002Fcoveralls.io\u002Fr\u002Fjoke2k\u002Ffaker?branch=master\n    :alt: Test coverage\n\n.. |build| image:: https:\u002F\u002Fgithub.com\u002Fjoke2k\u002Ffaker\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\n    :target: https:\u002F\u002Fgithub.com\u002Fjoke2k\u002Ffaker\u002Factions\u002Fworkflows\u002Fci.yml\n    :alt: Build status of the master branch\n\n.. |license| image:: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg?style=flat-square\n    :target: https:\u002F\u002Fraw.githubusercontent.com\u002Fjoke2k\u002Ffaker\u002Fmaster\u002FLICENSE.txt\n    :alt: Package license\n","Faker 是一个用于生成假数据的 Python 包。它能够帮助用户快速创建各种类型的测试数据，如姓名、地址、文本等，支持多种语言和地区设置。Faker 的核心功能包括但不限于数据库填充、XML文档构建以及生产环境数据的匿名化处理，适用于需要大量示例或测试数据的各种开发和测试场景。其设计灵感来源于 PHP、Perl 和 Ruby 中的同名库，并且从版本 4.0.0 开始仅支持 Python 3.8 及以上版本。通过简单的 pip 安装即可使用 Faker，是开发者在进行单元测试、性能测试或数据脱敏时的理想选择。",2,"2026-06-11 02:50:12","top_language"]