Skip to main content

Exploration of World Languages

Project description


Pyetho: A library for Python to all the country languages in the world

This is a Language and Country Information Package. In order to know the details of all the languages in the world, i18n Solutions Salem, have developed this package based on the interest of integrating the languages of the world to python developers.

Developers : Bhuvaneshwara Ragavendra.S bhuvaneshwararagavendra@gmail.com Roseline Santhiya.M rosekevin30@gmail.com Archana.K.T archanakt.cse@gmail.com

Version 1.0 Developer: Vinoth Kumar vinobe000@gmail.com

version 2.0 Contributors : Arthi G

Version 1.0 Contributors : Varsha A, JayaShree S, Kaviya V, Abinaya V, Janani S, Karthika P, Anandhi P, Hemalatha R, Sri Sakthi Priya T, Nidha Basreen M, Anu R, Megala V, Mogana Priya S

Installation

pip install pyetho

Usage

from etho import pyetho

About

Pyetho is a Python package that provides information about languages and countries. It offers a range of functionalities to retrieve data such as country names, summaries, official names, language details, populations, language families, and much more. This package follows ISO Standards for Country code and Language code.

Features

-> Retrieve details about countries and their attributes such as continent, area, commencement year, and more.

-> Access language-specific information, including summaries, language codes, populations, and families.

-> Explore language families and their associated languages across various countries.

1
country_list()
Get a list of all country names in the dataset.

2
country_summary(country_name="India")
Get a summary of the specified country.

3
country_officialname(country_name="India")
Get the official name of the specified country.

4
country_code(country_name="IN")
Get the country code (ISO3166) of the specified country.

5
country_area(country_name="India")
Get the area of the specified country.

6
country_commencement(country_name="India")
Get the commencement year of the specified country.

7
country_continent(country_name="India")
Get the continent of the specified country.

8
country_families(country_name)
Get the language families present in the specified country.

9
country_vitality(country_name="India")
Get the vitality of languages in the specified country.

10
continent_countries(continent="Asia")
Get a list of countries in the specified continent.

11
total_countries()
Print the total number of countries in the dataset.

12
continent_length(continent="Asia")
Get the total number of countries in the specified continent.

13
country_languages(country_name="India")
Get a list of languages spoken in the specified country.

14
language_summary( country_name="India", lang="Tamil")
Get the summary of the specified language spoken in the country.

15
language_code(country_name="India", lang="Tamil")
Get the language code (ISO639) of the specified language spoken in the country.

16
language_population(country_name="India", lang="Tamil")
Get the population estimate of speakers for the specified language in the country.

17
language_family(country_name="India", lang="Tamil")
Get the language family to which the specified language belongs in the country.

18
lang_to_country(lang="Tamil")
Get the names of countries where a specific language is spoken and its language family.

19
languagecode_to_country(code)
Get the names of countries where a specific language code (ISO 639) is associated.

20
country_family_languages(country_name,family_name)
Retrieve the languages associated with a specific language family in a given country.

21
language_to_family(language_name)
Retrieve the family name associated with a specific language.

22
all_families_list()
Retrieve all the family names associated with all the countries.

23
total_families()
Retrieve the number of unique family names associated with all the countries.

24
family_to_country(family_name)
Retrieve the country names associated with a specific family_name.

25
all_family_languages(family)
Retrieve all languages within a specific language family across all countries.

26
list_holidays(country="India")
Retreive all the regional holidays of a specific country.

27
holiday_count(country="India")
Retreive the total count of holidays in a specific country.

28
holiday_country(date="Jan 01")
Retreive the countries which have the holiday for a specific date.

29
holiday_by_country(date="Jan 01")
Retreive all the country names and their corresponding holiday names for a specific date.

REFERENCES:

https://www.ethnologue.com/

https://www.worldometers.info/

https://www.worlddata.info/

https://www.wikipedia.org/

https://www.officeholidays.com/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyetho-2.0.tar.gz (366.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyetho-2.0-py3-none-any.whl (734.5 kB view details)

Uploaded Python 3

File details

Details for the file pyetho-2.0.tar.gz.

File metadata

  • Download URL: pyetho-2.0.tar.gz
  • Upload date:
  • Size: 366.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for pyetho-2.0.tar.gz
Algorithm Hash digest
SHA256 fabf5793d2e62dab0f363910ea14526b8abb1a8f67380e8c0546a2089f8e7dcb
MD5 a4a4bad5790c46756a193bded5abebe0
BLAKE2b-256 8c479d403d8f415bd028f0920ebffb96533024f0e3b02a1f2b535e8917f12db4

See more details on using hashes here.

File details

Details for the file pyetho-2.0-py3-none-any.whl.

File metadata

  • Download URL: pyetho-2.0-py3-none-any.whl
  • Upload date:
  • Size: 734.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for pyetho-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4b1fde665312632a7f82314ba053648470327aaf340596e6fbd98d236075134
MD5 36cf648e37b819dd441388c5f3b9711c
BLAKE2b-256 719ea7b269f8c72960f89b676538e5cb1b46e0cc959228518bb918939aba8fb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page