From 39a3a38f756e7cffb2262d530bd71020f24ed05c Mon Sep 17 00:00:00 2001 From: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:30:14 +0530 Subject: [PATCH] get gender specific profile --- docs/command_line_usage.rst | 15 +++++++++++++++ random_profile/__about__.py | 4 ++-- setup.py | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/command_line_usage.rst b/docs/command_line_usage.rst index d089a1d..4343fc5 100644 --- a/docs/command_line_usage.rst +++ b/docs/command_line_usage.rst @@ -80,3 +80,18 @@ Get Random Profile version: random_profile --version random-profile 0.2.3 + + +Get Only Gender Specific Profiles: +------------ + +To get gender specific profiles, use the `-ma` or `-fe` flags. + +.. code-block:: bash + + # n = number of random profiles, p = profile + random_profile -n 10 -p -ma + + # n = number of random profiles, p = profile + random_profile -n 10 -p -fe + diff --git a/random_profile/__about__.py b/random_profile/__about__.py index 521d980..7de9b03 100644 --- a/random_profile/__about__.py +++ b/random_profile/__about__.py @@ -1,9 +1,9 @@ __title__ = 'RandomProfileGenerator' __package_name__ = 'random_profile' -__version__ = '3.0.1' +__version__ = '3.0.2' __description__ = "Python Module To Generate Random Profile Data" __email__ = "deepak008@live.com" -__author__ = 'PyContributors' +__author__ = 'Deepak Raj' __github__ = 'https://github.com/Py-Contributors/RandomProfileGenerator' __pypi__ = 'https://pypi.org/project/random-profile/' __license__ = 'MIT License' diff --git a/setup.py b/setup.py index 9e7d377..ad1852a 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import setuptools from glob import glob -from random_profile.__about__ import * +from random_profile.__about__ import __package_name__, __version__, __author__, __email__, __description__, __github__ with open("README.md", "r") as fh: long_description = fh.read()