Skip to main content

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

Metadata

Release files for SambathModule 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SambathModule 1.0.0
File Size Uploaded
SambathModule-1.0.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SambathModule 1.0.0
File Interpreter ABI Platform
SambathModule-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / SambathModule-1.0.0.tar.gz

Download URL SambathModule-1.0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd8e3ace8a3ae96807031ab9a95254d3a1c88b08bc8d9269da039a8d266e13cb
BLAKE2b-256 checksum
How to use checksums
ba0be2eb4d5a8d92c09dd19ee5de9283089fbf32f59900c0b82a9a7d5f141057
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / SambathModule-1.0.0-py3-none-any.whl

Download URL SambathModule-1.0.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce361c93ad5b0c1d447881cb6e6d57381f8edccd36b8c94feac8f3666a1c364e
BLAKE2b-256 checksum
How to use checksums
e422efb191a430d2177edd94c38870685d6f988a4a331b54ca2e1d3b9614053f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page