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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file SambathModule-1.0.0.tar.gz.

File metadata

  • Download URL: SambathModule-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for SambathModule-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fd8e3ace8a3ae96807031ab9a95254d3a1c88b08bc8d9269da039a8d266e13cb
MD5 bbb69827af54b50f63237717c4b775b6
BLAKE2b-256 ba0be2eb4d5a8d92c09dd19ee5de9283089fbf32f59900c0b82a9a7d5f141057

See more details on using hashes here.

File details

Details for the file SambathModule-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: SambathModule-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for SambathModule-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce361c93ad5b0c1d447881cb6e6d57381f8edccd36b8c94feac8f3666a1c364e
MD5 56dd812c3479c0e16e7a01755be43e31
BLAKE2b-256 e422efb191a430d2177edd94c38870685d6f988a4a331b54ca2e1d3b9614053f

See more details on using hashes here.

Supported by

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