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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
SambathModule-1.0.0-py3-none-any.whl (2.9 kB) Copy SHA256 hash SHA256 Wheel py3
SambathModule-1.0.0.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page