![python version](https://img.shields.io/pypi/pyversions/faker-stalker-names?style=for-the-badge)
[![version](https://img.shields.io/pypi/v/faker-stalker-names?style=for-the-badge)](https://pypi.org/project/faker-stalker-names/)
![Codecov](https://img.shields.io/codecov/c/github/booqoffsky/faker-stalker-names?style=for-the-badge&token=1W6WD47RFU)
# faker-stalker-names
![](https://raw.githubusercontent.com/booqoffsky/faker-stalker-names/main/imgs/head.png)
>_Faker-stalker-names_ is a provider for the [Faker](https://github.com/joke2k/faker) Python package that allows you
>to generate stalker names for your tests and other tasks.
>
>Don't forget your friends) (с) Slava Smartass
# Localizations
The following localizations are present:
>`de_DE`, `en_US`, `es_ES`, `fr_FR`, `it_IT`, `pl_PL`, `ru_RU`, `uk_UA`
# Installation
From PyPi:
`pip3 install faker-stalker-names`
# Usage
Just add the `Provider` to your `Faker` instance:
```
from faker import Faker
from faker_stalker_names.en_US import Provider as StalkerNamesProvider
fake = Faker()
fake.add_provider(StalkerNamesProvider)
```
Or pass it to the constructor:
```
from faker import Faker
fake = Faker(includes=["faker_stalker_names"], locale="ru_RU")
```
Now you can start to generate data:
```
fake.stalker_name()
# Яшка Нытик
fake.stalker_first_name()
# Саня
fake.stalker_last_name()
# Резкий
```
You can specify the desired type of name (`stalker` or `bandit` are available).
By default, the first and last names are randomly selected.
```
fake.stalker_name(name_type="stalker")
# Slava Smartass
fake.stalker_first_name(name_type="bandit")
# Vasyan
```
In addition, a way to replace the standard `name` method at your own risk:
```
StalkerNamesProvider.name = StalkerNamesProvider.stalker_name
fake = Faker()
fake.add_provider(StalkerNamesProvider)
fake.name()
# Shurik Professor
```
Raw data
{
"_id": null,
"home_page": "https://github.com/booqoffsky/faker-stalker-names",
"name": "faker-stalker-names",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "faker,fun,stalker,provider,generator",
"author": "Grigory Bukovsky",
"author_email": "booqoffsky@yandex.ru",
"download_url": "https://files.pythonhosted.org/packages/71/01/6a7b0a6217c02de20ea737d2b26db65b0efa53e78170597ca1f78c6492fe/faker-stalker-names-0.1.4.tar.gz",
"platform": null,
"description": "![python version](https://img.shields.io/pypi/pyversions/faker-stalker-names?style=for-the-badge) \n[![version](https://img.shields.io/pypi/v/faker-stalker-names?style=for-the-badge)](https://pypi.org/project/faker-stalker-names/)\n![Codecov](https://img.shields.io/codecov/c/github/booqoffsky/faker-stalker-names?style=for-the-badge&token=1W6WD47RFU)\n\n# faker-stalker-names\n![](https://raw.githubusercontent.com/booqoffsky/faker-stalker-names/main/imgs/head.png)\n\n>_Faker-stalker-names_ is a provider for the [Faker](https://github.com/joke2k/faker) Python package that allows you\n>to generate stalker names for your tests and other tasks. \n>\n>Don't forget your friends) (\u0441) Slava Smartass\n\n# Localizations\nThe following localizations are present:\n>`de_DE`, `en_US`, `es_ES`, `fr_FR`, `it_IT`, `pl_PL`, `ru_RU`, `uk_UA`\n\n# Installation\nFrom PyPi:\n\n`pip3 install faker-stalker-names`\n\n# Usage\nJust add the `Provider` to your `Faker` instance:\n\n```\nfrom faker import Faker\nfrom faker_stalker_names.en_US import Provider as StalkerNamesProvider\n\nfake = Faker()\nfake.add_provider(StalkerNamesProvider)\n```\nOr pass it to the constructor:\n```\nfrom faker import Faker\n\nfake = Faker(includes=[\"faker_stalker_names\"], locale=\"ru_RU\")\n```\nNow you can start to generate data:\n```\nfake.stalker_name()\n# \u042f\u0448\u043a\u0430 \u041d\u044b\u0442\u0438\u043a\n\nfake.stalker_first_name()\n# \u0421\u0430\u043d\u044f\n\nfake.stalker_last_name()\n# \u0420\u0435\u0437\u043a\u0438\u0439\n```\n\nYou can specify the desired type of name (`stalker` or `bandit` are available). \nBy default, the first and last names are randomly selected.\n```\nfake.stalker_name(name_type=\"stalker\")\n# Slava Smartass\n\nfake.stalker_first_name(name_type=\"bandit\")\n# Vasyan\n```\n\nIn addition, a way to replace the standard `name` method at your own risk:\n```\nStalkerNamesProvider.name = StalkerNamesProvider.stalker_name\nfake = Faker()\nfake.add_provider(StalkerNamesProvider)\nfake.name()\n# Shurik Professor\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Faker provider to generate stalker names.",
"version": "0.1.4",
"split_keywords": [
"faker",
"fun",
"stalker",
"provider",
"generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "dff47b061a5ba1b863e80b43c61be15d",
"sha256": "4433c2c33bd4ba4e02a957655d479dd5e233921ffbfd47e759ca1f64b7ad06ac"
},
"downloads": -1,
"filename": "faker_stalker_names-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dff47b061a5ba1b863e80b43c61be15d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 40180,
"upload_time": "2022-12-02T12:49:00",
"upload_time_iso_8601": "2022-12-02T12:49:00.693182Z",
"url": "https://files.pythonhosted.org/packages/0b/c1/58573e4e69eb0c11d8a843f23182a320dc34df1f0b84413711fd8dfc8b90/faker_stalker_names-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "562d0e165d99545d3fcf88aea99cb369",
"sha256": "059369efb38aa88457fe2718cbfa28d355c918499e44e7fb294f92dec884ecc7"
},
"downloads": -1,
"filename": "faker-stalker-names-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "562d0e165d99545d3fcf88aea99cb369",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 35302,
"upload_time": "2022-12-02T12:48:58",
"upload_time_iso_8601": "2022-12-02T12:48:58.849848Z",
"url": "https://files.pythonhosted.org/packages/71/01/6a7b0a6217c02de20ea737d2b26db65b0efa53e78170597ca1f78c6492fe/faker-stalker-names-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-02 12:48:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "booqoffsky",
"github_project": "faker-stalker-names",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "faker-stalker-names"
}