Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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⚗️🥳
- Host: GitHub
- URL: https://github.com/whitead/emoji-chem
- Owner: whitead
- Created: 2021-09-03T04:03:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T02:18:09.000Z (about 2 years ago)
- Last Synced: 2023-03-23T03:26:50.084Z (almost 2 years ago)
- Language: Jupyter Notebook
- Size: 91.8 KB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)