Skip to main content

emoji-chem buildPyPI version

Open In Colab

Install

pip install emojichem

Quickstart

Note: this is currently broken -- it mixes up order of hydrogens and heteroatoms on side groups (e.g., NH2 or OH). Not sure how to fix this because rdkit doesn't output enough information for me rewrite the SVG.

import emojichem
emojichem.emoji_draw('CCN(CC)C(=O)[C@H]1CN([C@@H]2Cc3c[nH]c4c3c(ccc4)C2=C1)C')

Example

This is how it should look

image

You can also make a grid with emoji_grid:

Credit

Emoji list was taken (with minor modifications) from Nicola Ga-stan (@nicgaston) in this tweet

Metadata

Release files for emojichem 0.3.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 emojichem 0.3.0
File Size Uploaded Provenance Actions
emojichem-0.3.0.tar.gz 5.9 kB Without provenance Details for emojichem-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.2 kB

Release files / emojichem-0.3.0.tar.gz

Download URL emojichem-0.3.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e27f54acc12f832be0f374c275c9da0a2ee91ab253c7cd8fdf3d6ada11840a1a
BLAKE2b-256 checksum
How to use checksums
79e5b1410a7f732651d03f26f134821c911dc39c01b9f199593fd3badbea5f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / emojichem-0.3.0-py3-none-any.whl

Download URL emojichem-0.3.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be7db53b0f7d85c378d2d96c91fdf8123e87de487203a1f51b22029ee91bbec0
BLAKE2b-256 checksum
How to use checksums
a254114153114c56ca05b5fb60dfb236c6bcb0437fb102bdd4002dd81f1ae66e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for emojichem 0.3.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.3.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