Skip to main content

Emoticon

Emoticon is a Python package to transform or translate emoticon into text or its meaning. Based on list of emotion in wikipedia, i created a library for text mining. This package contain western and eastern emoticon with over 300 emoticon. This package can also translate emoticon into desired language by adding optional argument.

How to install

pip install emoticon

Usage

Following code will show you example how to use this package

From text to emoticon :

from emoticon import emoticon

text = ":) :("
emoticon(text)

Output : "Smile Sad"

You can also specify the desired language by adding optional argument, for example if you want to return indonesian language, use 'id' as optional parameter.

from emoticon import emoticon

text = ":) :("
emoticon(text, 'id')

Output : "Senyum Sedih"

if you don't specify, it will return english by default.

From emoticon to text :

from emoticon import demoticon

text = "Smile Sad"
demoticon(text)

Output : ":) :("

Metadata

Release files for emoticon 1.0.5

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

Source distribution (sdist)

Source distribution for emoticon 1.0.5
File Size Uploaded Provenance Actions
emoticon-1.0.5.tar.gz 2.1 kB Without provenance Details for emoticon-1.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 5.0 kB

Release files / emoticon-1.0.5.tar.gz

Download URL emoticon-1.0.5.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb8bebff977b2c3dc0898e817349b7a69138c7ee8f971ea30a1673038881020e
BLAKE2b-256 checksum
How to use checksums
7875a208f6ffb1e46fe18cc700a367429dca3ab26dde966f77a8c8963b414eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

Release files / emoticon-1.0.5-py3-none-any.whl

Download URL emoticon-1.0.5-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68dcdeaa968e3703ae5cd17a1665c2da19d5bfc3994cbc4cec8bcd507bc80287
BLAKE2b-256 checksum
How to use checksums
fddbecc238ab9dce901f5a2326c20a6cbd8cbf3298327a66855f949540960578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

Security for emoticon 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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