Skip to main content

OLIGO-EMOJIS

Oligo-emojis is a lightweight, fun Python emoji utility library.

Author: OligoTech

This package provides categorized emoji lists and convenient helpers to retrieve and sample emojis for use in demos, tests, command-line fun, or UI placeholders.

Quick demo

from oligoemojis import Emojis

e = Emojis()
print(e.list_categories())
print(e.get('Smileys', 3))
print(e.random())
print(e.random('Animals', 4))

API reference

Class: Emojis(default_count: int = 1)

  • list_categories() -> List[str]

    • Returns a sorted list of available categories.
  • get(category: str, q: Union[int, str] = None) -> List[str] | str

    • Returns emojis from the named category. q can be an int (number of items), 'all' to get the whole list, or omitted to use the instance default.
    • Category matching is case-insensitive.
  • random(category: Optional[str] = None, q: int = 1) -> str | List[str]

    • Returns a random emoji (when q==1) or a list of q random emojis. If category is None, a random category is selected.
    • If q > size_of_category, sampling is done with replacement to satisfy the count.

Compatibility helpers (keeps older API names):

  • smileys(q=None) — returns first q smileys or 'all' for all smileys.
  • smileys_random() — returns a single random smiley.

Categories included

Smileys, People, Animals, Foods, Drinks, Activities, Travel, Places, Objects, Symbols, Flags

Notes

  • The library is intentionally simple and dependency-free.
  • It is safe to call random or get with small counts; invalid categories return a helpful message.

If you want additional emoji sets or suggestions, open an issue or submit a PR.

Metadata

Release files for oligo-emojis 0.1.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 oligo-emojis 0.1.0
File Size Uploaded Provenance Actions
oligo_emojis-0.1.0.tar.gz 5.8 kB Without provenance Details for oligo_emojis-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oligo-emojis 0.1.0
File Interpreter ABI Platform Actions
oligo_emojis-0.1.0-py3-none-any.whl Python 3 none any Details for oligo_emojis-0.1.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / oligo_emojis-0.1.0.tar.gz

Download URL oligo_emojis-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbc6ee77987f72a7dfe141c3a5f140a36ff3fe8e40dd7ad0a13c805954cd575f
BLAKE2b-256 checksum
How to use checksums
0986b1b15450a933458d7cc6ee6ea5714cfe00f7e2428bd4e261662e2e908b71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / oligo_emojis-0.1.0-py3-none-any.whl

Download URL oligo_emojis-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3651c35abfc3e14b434bcce9cda688aba040cde361122be7779c1df2d2d6498
BLAKE2b-256 checksum
How to use checksums
e439e25186aae9c40478d9533787c5620a1c3300d54e6453b0543c86fef1f290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for oligo-emojis 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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