Skip to main content

This is for assignment purpose. This package contains weather report and a language translator

Project description

SambathModule

This module is created for assignment purpose only. It contains two main parts: RSS feeds and language translator.

Usage

There are two classes inside the module: LanguageTranslator and RSSFeed. To import it:

from SambathModule import *

To translate, for example, Korean to English:

languageTranslator = LanguageTranslator()
print(languageTranslator.translateToEnglish('잘 지냈어요?'))

To detect, for example, Korean language:

languageDectector = LanguageTranslator()
print(languageDectector.detectLanguage('잘 지냈어요?'))

To retrieve RSSFeed information, such as Weather at Cincinnati or CNN Top News:

rssFeed = RSSFeed()
print(rssFeed.getCNNFeedTitle(0))
print((rssFeed.getCNNFeedURLLink(0)))
print(rssFeed.getCincinnatiWeather())

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

SambathModule-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

SambathModule-1.0.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

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