Skip to main content

The unicode_symbols package is designed to simplify the use of Unicode characters in Python projects. Whether you need emojis for chat applications, symbols for documentation, mathematical symbols for calculations, currency symbols for finance apps, or miscellaneous icons for fun, this package has you covered.

Project description

Symjoy

symjoy is a comprehensive Python package providing easy access to Unicode characters, including emojis, symbols, arrows, mathematical symbols, currency signs, and miscellaneous icons. Perfect for chat apps, games, educational tools, financial apps, or any Python project requiring Unicode characters.

Version 2.x introduces a clean, discoverable API while maintaining backward compatibility with version 1.x.

Installation

Install from PyPI:

pip install symjoy

Usage

1. Quick Start (v2 API)

from symjoy import emoji, symbols, arrows, math, currency, misc, search

print(emoji.get("smile"))      # 😄
print(symbols.get("heart"))    # ♥
print(arrows.get("right"))     # →
print(math.get("pi"))          # π
print(currency.get("rupee"))   # ₹
print(misc.get("sun"))         # ☀

print(emoji.random())          # random emoji

2. Category APIs

Each category exposes the same interface:

get(name)      -> str | None
random()       -> str
list()         -> list[str]
items()        -> dict[str, str]
Example
from symjoy import emoji

emoji.list()
emoji.items()

3. Global Search

Search across all categories:

from symjoy import search

results = search("heart")

Expected results:

[
  {
    "name": "heart",
    "char": "♥",
    "category": "symbols",
    "unicode": "U+2665"
  }
]

4. Backward Compatibility (v1.x)

Version 2.x still supports v1-style access:

from symjoy import emojis
print(emojis["smile"])

⚠️ This usage is deprecated and will be removed in symjoy 3.0.0.

Github Link

If any issue with the package you can contact here:

The source code is available on GitHub

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

symjoy-2.0.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

symjoy-2.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file symjoy-2.0.0.tar.gz.

File metadata

  • Download URL: symjoy-2.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for symjoy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5d3c67e0bd529a2bd3f67edb017eff422b499b8b955c662ae81b6ac5c4a76c8a
MD5 85dd914f47e225f26dd86feb08bb0a12
BLAKE2b-256 0cf30206378ad59677249d90303e19d22e31eea517df5c908db08abce2cb6aa1

See more details on using hashes here.

File details

Details for the file symjoy-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: symjoy-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for symjoy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e239edcd3bf0de48997c78bc2f3178e42c6862b753d17e3d49a99775d2a74d2
MD5 f6c1585bceb31edc1fd0e4ce98e5a20b
BLAKE2b-256 ccbecb3a593ca6dbb36fc25ea12f25b6e98443b01aa614d488b36732fb76d2af

See more details on using hashes here.

Supported by

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