Locale ta_IN

faker.providers.address

class faker.providers.address.ta_IN.Provider(generator: Any)

Bases: Provider

address() str
Example:

‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'4876 ஹஸினா\nவாரங்கல்-824219'
'1/1 அக்ஷா\nஅமராவதி-593877'
'1609 ரஞ்சினி\nமைசூர்-139332'
'587 பஜரங்கன் உமையரசி\nநாகப்பட்டினம்-839894'
'59/342 ரக்ஷிதா கண்ணாயிரம்\nஅம்ரித்சர்-112201'
administrative_unit() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'உத்தரகண்ட்'
'கேரளா'
'தெலுங்கானா'
'மேற்கு வங்கம்'
'மத்தியப் பிரதேசம்'
building_number() str
Example:

‘791’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'60/487'
'47/593'
'42'
'948'
'41'
city() str
Example:

‘Sashabury’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'துர்காபூர்'
'அம்ரித்சர்'
'கண்ணூர்'
'நெல்லூர்'
'ராஜ்கோட்'
city_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_name()
...
'அஜ்மீர்'
'துர்காபூர்'
'திண்டுக்கல்'
'அம்ரித்சர்'
'திருவண்ணாமலை'
city_suffix() str
Example:

‘town’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'மயோட்டே (France)'
'லீக்கின்ஸ்டைன்'
'சாம்பியா'
'மால்ட்டா'
'அசர்பைஜான்'
country_code(representation: str = 'alpha-2') str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'India'
'India'
'India'
'India'
'India'
current_country_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'IN'
'IN'
'IN'
'IN'
'IN'
postcode() str
Example:

86039-9874

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'604876'
'759382'
'219489'
'411578'
'565938'
state() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.state()
...
'உத்தரகண்ட்'
'கேரளா'
'தெலுங்கானா'
'மேற்கு வங்கம்'
'மத்தியப் பிரதேசம்'
street_address() str
Example:

‘791 Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'04/876 ஹஸினா'
'93/82 ஏகசந்திரா'
'8/9 பத்ரிநாராயணன் உதர்'
'78/15 மகிழ்கோ'
'78/4080 நன்மொழி ராஜேஷ்வரி'
street_name() str
Example:

‘Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'பழகுத்தமிழ்'
'ஆதர்ஷ்,ஆதேஷ்'
'ஹலிமா'
'வள்ளுவர்'
'ஹஸினா'
street_suffix() str
Example:

‘Avenue’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Street'
'Street'
'Street'
'Street'
'Street'

faker.providers.date_time

class faker.providers.date_time.ta_IN.Provider(generator: Any)

Bases: Provider

am_pm() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.am_pm()
...
'AM'
'AM'
'AM'
'AM'
'AM'
century() str
Example:

‘XVII’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.century()
...
'XIII'
'XIV'
'II'
'IX'
'XVII'
date(pattern: str = '%Y-%m-%d', end_datetime: date | datetime | timedelta | str | int | None = None) str

Get a date string between January 1, 1970 and now.

Parameters:

pattern – Format of the date (year-month-day by default)

Example:

‘2008-11-27’

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date()
...
'2015-11-28'
'2011-03-17'
'1992-11-12'
'1984-01-29'
'1997-10-18'
date_between(start_date: date | datetime | timedelta | str | int = '-30y', end_date: date | datetime | timedelta | str | int = 'today') date

Get a Date object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to 30 years ago

  • end_date – Defaults to “today”

Example:

Date(‘1999-02-02’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_between()
...
datetime.date(2019, 9, 12)
datetime.date(2017, 2, 6)
datetime.date(2006, 12, 24)
datetime.date(2002, 2, 17)
datetime.date(2009, 9, 13)
date_between_dates(date_start: date | datetime | timedelta | str | int | None = None, date_end: date | datetime | timedelta | str | int | None = None) date

Takes two Date objects and returns a random date between the two given dates. Accepts Date or datetime objects

Parameters:
  • date_start – Date

  • date_end – Date

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_between_dates()
...
datetime.date(2024, 5, 13)
datetime.date(2024, 5, 13)
datetime.date(2024, 5, 13)
datetime.date(2024, 5, 13)
datetime.date(2024, 5, 13)
date_object(end_datetime: datetime | None = None) date

Get a date object between January 1, 1970 and now

Example:

datetime.date(2016, 9, 20)

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_object()
...
datetime.date(2015, 11, 28)
datetime.date(2011, 3, 17)
datetime.date(1992, 11, 12)
datetime.date(1984, 1, 29)
datetime.date(1997, 10, 18)
date_of_birth(tzinfo: tzinfo | None = None, minimum_age: int = 0, maximum_age: int = 115) date

Generate a random date of birth represented as a Date object, constrained by optional miminimum_age and maximum_age parameters.

Parameters:
  • tzinfo – Defaults to None.

  • minimum_age – Defaults to 0.

  • maximum_age – Defaults to 115.

Example:

Date(‘1979-02-02’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_of_birth()
...
datetime.date(2006, 4, 26)
datetime.date(1996, 4, 14)
datetime.date(1957, 2, 24)
datetime.date(1938, 5, 26)
datetime.date(1967, 9, 3)
date_this_century(before_today: bool = True, after_today: bool = False) date

Gets a Date object for the current century.

Parameters:
  • before_today – include days in current century before today

  • after_today – include days in current century after today

Example:

Date(‘2012-04-04’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_century()
...
datetime.date(2020, 7, 28)
datetime.date(2018, 6, 20)
datetime.date(2010, 3, 31)
datetime.date(2006, 4, 23)
datetime.date(2012, 6, 15)
date_this_decade(before_today: bool = True, after_today: bool = False) date

Gets a Date object for the decade year.

Parameters:
  • before_today – include days in current decade before today

  • after_today – include days in current decade after today

Example:

Date(‘2012-04-04’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_decade()
...
datetime.date(2023, 9, 8)
datetime.date(2023, 4, 23)
datetime.date(2021, 11, 1)
datetime.date(2021, 2, 16)
datetime.date(2022, 3, 25)
date_this_month(before_today: bool = True, after_today: bool = False) date

Gets a Date object for the current month.

Parameters:
  • before_today – include days in current month before today

  • after_today – include days in current month after today

Example:

dtdate(‘2012-04-04’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_month()
...
datetime.date(2024, 5, 11)
datetime.date(2024, 5, 10)
datetime.date(2024, 5, 6)
datetime.date(2024, 5, 4)
datetime.date(2024, 5, 7)
date_this_year(before_today: bool = True, after_today: bool = False) date

Gets a Date object for the current year.

Parameters:
  • before_today – include days in current year before today

  • after_today – include days in current year after today

Example:

Date(‘2012-04-04’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_year()
...
datetime.date(2024, 4, 22)
datetime.date(2024, 4, 10)
datetime.date(2024, 2, 25)
datetime.date(2024, 2, 4)
datetime.date(2024, 3, 8)
date_time(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None) datetime

Get a datetime object for a date between January 1, 1970 and now

Parameters:

tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2005-08-16 20:39:21’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time()
...
datetime.datetime(2015, 11, 28, 9, 52, 9, 963072)
datetime.datetime(2011, 3, 17, 10, 55, 20, 961532)
datetime.datetime(1992, 11, 12, 3, 41, 17, 246244)
datetime.datetime(1984, 1, 29, 5, 25, 31, 264514)
datetime.datetime(1997, 10, 18, 5, 11, 50, 598249)
date_time_ad(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None, start_datetime: date | datetime | timedelta | str | int | None = None) datetime

Get a datetime object for a date between January 1, 001 and now

Parameters:

tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1265-03-22 21:15:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_ad()
...
datetime.datetime(1709, 7, 29, 12, 27, 5, 432930)
datetime.datetime(1534, 8, 15, 11, 1, 34, 844902)
datetime.datetime(851, 12, 21, 6, 4, 9, 290237)
datetime.datetime(524, 11, 19, 7, 32, 12, 234367)
datetime.datetime(1035, 7, 1, 13, 37, 31, 590450)
date_time_between(start_date: date | datetime | timedelta | str | int = '-30y', end_date: date | datetime | timedelta | str | int = 'now', tzinfo: tzinfo | None = None) datetime

Get a datetime object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to 30 years ago

  • end_date – Defaults to “now”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_between()
...
datetime.datetime(2019, 9, 12, 23, 24, 21, 236214)
datetime.datetime(2017, 2, 7, 12, 49, 7, 808743)
datetime.datetime(2006, 12, 25, 18, 18, 48, 361449)
datetime.datetime(2002, 2, 18, 11, 29, 24, 49189)
datetime.datetime(2009, 9, 14, 14, 46, 20, 171082)
date_time_between_dates(datetime_start: date | datetime | timedelta | str | int | None = None, datetime_end: date | datetime | timedelta | str | int | None = None, tzinfo: tzinfo | None = None) datetime

Takes two datetime objects and returns a random datetime between the two given datetimes. Accepts datetime objects.

Parameters:
  • datetime_start – datetime

  • datetime_end – datetime

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_between_dates()
...
datetime.datetime(2024, 5, 13, 16, 13, 38)
datetime.datetime(2024, 5, 13, 16, 13, 38)
datetime.datetime(2024, 5, 13, 16, 13, 38)
datetime.datetime(2024, 5, 13, 16, 13, 38)
datetime.datetime(2024, 5, 13, 16, 13, 38)
date_time_this_century(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

Gets a datetime object for the current century.

Parameters:
  • before_now – include days in current century before today

  • after_now – include days in current century after today

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2012-04-04 11:02:02’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_century()
...
datetime.datetime(2020, 7, 29, 1, 56, 38, 336452)
datetime.datetime(2018, 6, 20, 13, 10, 8, 604872)
datetime.datetime(2010, 3, 31, 22, 49, 14, 361712)
datetime.datetime(2006, 4, 23, 6, 36, 19, 296770)
datetime.datetime(2012, 6, 16, 4, 18, 23, 254352)
date_time_this_decade(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

Gets a datetime object for the decade year.

Parameters:
  • before_now – include days in current decade before today

  • after_now – include days in current decade after today

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2012-04-04 11:02:02’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_decade()
...
datetime.datetime(2023, 9, 8, 13, 54, 17, 902714)
datetime.datetime(2023, 4, 23, 16, 36, 11, 280294)
datetime.datetime(2021, 11, 1, 16, 12, 39, 977162)
datetime.datetime(2021, 2, 16, 21, 19, 14, 515866)
datetime.datetime(2022, 3, 26, 7, 37, 20, 313112)
date_time_this_month(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

Gets a datetime object for the current month.

Parameters:
  • before_now – include days in current month before today

  • after_now – include days in current month after today

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2012-04-04 11:02:02’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_month()
...
datetime.datetime(2024, 5, 11, 16, 53, 46, 11384)
datetime.datetime(2024, 5, 10, 14, 35, 25, 305279)
datetime.datetime(2024, 5, 6, 7, 56, 57, 565614)
datetime.datetime(2024, 5, 4, 6, 46, 10, 285422)
datetime.datetime(2024, 5, 7, 11, 32, 37, 277788)
date_time_this_year(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

Gets a datetime object for the current year.

Parameters:
  • before_now – include days in current year before today

  • after_now – include days in current year after today

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2012-04-04 11:02:02’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_year()
...
datetime.datetime(2024, 4, 22, 21, 5, 49, 815967)
datetime.datetime(2024, 4, 11, 7, 41, 23, 815379)
datetime.datetime(2024, 2, 26, 5, 17, 21, 100252)
datetime.datetime(2024, 2, 4, 14, 39, 49, 559685)
datetime.datetime(2024, 3, 9, 8, 17, 7, 724864)
day_of_month() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.day_of_month()
...
'28'
'17'
'12'
'29'
'18'
day_of_week() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.day_of_week()
...
'ஞாயிறு'
'வெள்ளி'
'வெள்ளி'
'திங்கள்'
'ஞாயிறு'
future_date(end_date: date | datetime | timedelta | str | int = '+30d', tzinfo: tzinfo | None = None) date

Get a Date object based on a random date between 1 day from now and a given date. Accepts date strings that can be recognized by strtotime().

Parameters:
  • end_date – Defaults to “+30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

dtdate(‘2030-01-01’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.future_date()
...
datetime.date(2024, 6, 7)
datetime.date(2024, 6, 4)
datetime.date(2024, 5, 26)
datetime.date(2024, 5, 21)
datetime.date(2024, 5, 28)
future_datetime(end_date: date | datetime | timedelta | str | int = '+30d', tzinfo: tzinfo | None = None) datetime

Get a datetime object based on a random date between 1 second form now and a given date. Accepts date strings that can be recognized by strtotime().

Parameters:
  • end_date – Defaults to “+30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.future_datetime()
...
datetime.datetime(2024, 6, 8, 0, 12, 39, 594731)
datetime.datetime(2024, 6, 5, 9, 57, 16, 54467)
datetime.datetime(2024, 5, 26, 7, 2, 20, 116942)
datetime.datetime(2024, 5, 21, 10, 38, 50, 957843)
datetime.datetime(2024, 5, 29, 0, 20, 42, 566513)
iso8601(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None, sep: str = 'T', timespec: str = 'auto') str

Get a timestamp in ISO 8601 format (or one of its profiles).

Parameters:
  • tzinfo – timezone, instance of datetime.tzinfo subclass

  • sep – separator between date and time, defaults to ‘T’

  • timespec – format specifier for the time part, defaults to ‘auto’ - see datetime.isoformat() documentation

Example:

‘2003-10-21T16:05:52+0000’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.iso8601()
...
'2015-11-28T09:52:09.963072'
'2011-03-17T10:55:20.961532'
'1992-11-12T03:41:17.246244'
'1984-01-29T05:25:31.264514'
'1997-10-18T05:11:50.598249'
month() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.month()
...
'11'
'03'
'11'
'01'
'10'
month_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.month_name()
...
'நவம்பர்'
'மார்ச்'
'நவம்பர்'
'ஜனவரி'
'அக்டோபர்'
past_date(start_date: date | datetime | timedelta | str | int = '-30d', tzinfo: tzinfo | None = None) date

Get a Date object based on a random date between a given date and 1 day ago. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to “-30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

dtdate(‘1999-02-02’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.past_date()
...
datetime.date(2024, 5, 7)
datetime.date(2024, 5, 4)
datetime.date(2024, 4, 25)
datetime.date(2024, 4, 20)
datetime.date(2024, 4, 27)
past_datetime(start_date: date | datetime | timedelta | str | int = '-30d', tzinfo: tzinfo | None = None) datetime

Get a datetime object based on a random date between a given date and 1 second ago. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to “-30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.past_datetime()
...
datetime.datetime(2024, 5, 9, 0, 12, 38, 594731)
datetime.datetime(2024, 5, 6, 9, 57, 15, 54467)
datetime.datetime(2024, 4, 26, 7, 2, 19, 116942)
datetime.datetime(2024, 4, 21, 10, 38, 49, 957843)
datetime.datetime(2024, 4, 29, 0, 20, 41, 566513)
pytimezone(*args: Any, **kwargs: Any) tzinfo | None

Generate a random timezone (see faker.timezone for any args) and return as a python object usable as a tzinfo to datetime or other fakers.

Example:

faker.pytimezone()

Returns:

dateutil.tz.tz.tzfile

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pytimezone()
...
tzfile('/usr/share/zoneinfo/Indian/Maldives')
tzfile('/usr/share/zoneinfo/America/Barbados')
tzfile('/usr/share/zoneinfo/Europe/Stockholm')
tzfile('/usr/share/zoneinfo/Africa/Windhoek')
tzfile('/usr/share/zoneinfo/Asia/Qatar')
time(pattern: str = '%H:%M:%S', end_datetime: date | datetime | timedelta | str | int | None = None) str

Get a time string (24h format by default)

Parameters:

pattern – format

Example:

‘15:02:34’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time()
...
'09:52:09'
'10:55:20'
'03:41:17'
'05:25:31'
'05:11:50'
time_delta(end_datetime: date | datetime | timedelta | str | int | None = None) timedelta

Get a timedelta object

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time_delta()
...
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
time_object(end_datetime: date | datetime | timedelta | str | int | None = None) time

Get a time object

Example:

datetime.time(15, 56, 56, 772876)

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time_object()
...
datetime.time(9, 52, 9, 963072)
datetime.time(10, 55, 20, 961532)
datetime.time(3, 41, 17, 246244)
datetime.time(5, 25, 31, 264514)
datetime.time(5, 11, 50, 598249)
time_series(start_date: date | datetime | timedelta | str | int = '-30d', end_date: date | datetime | timedelta | str | int = 'now', precision: float | None = None, distrib: Callable[[datetime], float] | None = None, tzinfo: tzinfo | None = None) Iterator[Tuple[datetime, Any]]

Returns a generator yielding tuples of (<datetime>, <value>).

The data points will start at start_date, and be at every time interval specified by precision. distrib is a callable that accepts <datetime> and returns <value>

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time_series()
...
<generator object Provider.time_series at 0x7fd6dcac5700>
<generator object Provider.time_series at 0x7fd6dcac5700>
<generator object Provider.time_series at 0x7fd6dcac5700>
<generator object Provider.time_series at 0x7fd6dcac5700>
<generator object Provider.time_series at 0x7fd6dcac5700>
timezone() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.timezone()
...
'Indian/Maldives'
'America/Barbados'
'Europe/Stockholm'
'Africa/Windhoek'
'Asia/Qatar'
unix_time(end_datetime: date | datetime | timedelta | str | int | None = None, start_datetime: date | datetime | timedelta | str | int | None = None) float

Get a timestamp between January 1, 1970 and now, unless passed explicit start_datetime or end_datetime values.

On Windows, the decimal part is always 0.

Example:

1061306726.6

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.unix_time()
...
1448704329.9630716
1300359320.9615316
721539677.2462441
444201931.2645143
877151510.5982487
year() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.year()
...
'2015'
'2011'
'1992'
'1984'
'1997'

faker.providers.person

class faker.providers.person.ta_IN.Provider(generator: Any)

Bases: Provider

first_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
first_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'ராஜி'
'வர்ணவதி'
'ஆதி'
'நடவரசி'
'ஹலிமா'
first_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'ஷஸ்வத்'
'கதிரழகன்'
'ராஜா'
'ஸ்வப்நில்'
'சஞ்ஜோக்'
first_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
language_name() str

Generate a random i18n language name (e.g. English).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Luba-Katanga'
'Malay'
'Aymara'
'Interlingue'
'Quechua'
last_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
last_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
last_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
last_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'ரித்திகா'
'வசந்த்'
'பழகுத்தமிழ்'
'ஷர்மிஸ்தா'
'ஷலின்'
name() str
Example:

‘John Doe’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'வர்ணவதி'
'எழிலரசன்'
'ஸ்ரீநிதி வள்ளுவர்'
'தங்கவேலன் ரகுபதி'
'சங்கெழில் இக்ஷிதா'
name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'வர்ணவதி ஆதர்ஷ்,ஆதேஷ்'
'ஹலிமா'
'வஞ்சிமகள் ஸுபத்திரை'
'ஸ்மிதா'
'சங்கெழில்'
name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'ராஜா ஷர்மிஸ்தா'
'அக்னி நச்சினார்க்கினியர்'
'தசரதன் வள்ளுவர்'
'தங்கவேலன்'
'பகுபுத்ரன்'
name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'வர்ணவதி'
'எழிலரசன்'
'ஸ்ரீநிதி வள்ளுவர்'
'தங்கவேலன் ரகுபதி'
'சங்கெழில் இக்ஷிதா'
prefix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
''
''
''
''
''
prefix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
''
''
''
''
''
prefix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
''
''
''
''
''
prefix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
''
''
''
''
''
suffix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
''
''
''
''
''
suffix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
''
''
''
''
''
suffix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
''
''
''
''
''
suffix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
''
''
''
''
''

faker.providers.phone_number

class faker.providers.phone_number.ta_IN.Provider(generator: Any)

Bases: Provider

country_calling_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+687'
'+595'
'+880'
'+964'
'+41'
msisdn() str

https://en.wikipedia.org/wiki/MSISDN

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'06048764759'
'+91 824 2194892'
'011-57815659'
'+91 877 8408016'
'+91 9753513933'