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 | RSS feed
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)
Built Distribution
Close
Hashes for SambathModule-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce361c93ad5b0c1d447881cb6e6d57381f8edccd36b8c94feac8f3666a1c364e |
|
MD5 | 56dd812c3479c0e16e7a01755be43e31 |
|
BLAKE2b-256 | e422efb191a430d2177edd94c38870685d6f988a4a331b54ca2e1d3b9614053f |