Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whitead/emoji-chem

🥳emojis in chemistry⚗️🥳
https://github.com/whitead/emoji-chem

Last synced: 3 months ago
JSON representation

🥳emojis in chemistry⚗️🥳

Awesome Lists containing this project

README

        

# emoji-chem [![build](https://github.com/whitead/emoji-chem/actions/workflows/tests.yml/badge.svg)](https://whitead.github.io/emoji-chem/)[![PyPI version](https://badge.fury.io/py/emoji-chem.svg)](https://badge.fury.io/py/emoji-chem)

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/whitead/emoji-chem/blob/main/colab/EmojiChem.ipynb)

## Install

```sh
pip install emojichem
```

## Quickstart

```py
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](https://user-images.githubusercontent.com/908389/206943965-f57686f9-554b-476d-9f8a-24121206fce4.png)

You can also make a grid with `emoji_grid`:

![image](https://user-images.githubusercontent.com/908389/206966105-b90f7e20-6921-40d4-be50-11e444e31411.png)

## Credit
Emoji list was taken (with minor modifications) from Nicola Ga-stan (@nicgaston) in [this tweet](https://twitter.com/nicgaston/status/914311195305193472)