Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/innerdoc/periodic-table-creator
Create and customize your own Periodic Table. With the help of Streamlit and Bokeh.
https://github.com/innerdoc/periodic-table-creator
bokeh periodic-table streamlit
Last synced: 3 months ago
JSON representation
Create and customize your own Periodic Table. With the help of Streamlit and Bokeh.
- Host: GitHub
- URL: https://github.com/innerdoc/periodic-table-creator
- Owner: innerdoc
- License: mit
- Created: 2020-11-24T11:53:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-01T19:48:09.000Z (over 2 years ago)
- Last Synced: 2023-11-19T16:39:31.630Z (about 1 year ago)
- Topics: bokeh, periodic-table, streamlit
- Language: Python
- Homepage:
- Size: 675 KB
- Stars: 17
- Watchers: 1
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Periodic Table Creator
[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://www.innerdoc.com/periodic-table-demo/) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40innerdoc)](https://twitter.com/innerdoc_nlp)
## About
This Periodic Table Generator started with the idea for a blog about a [Periodic Table of Natural Language Processing Tasks](https://www.innerdoc.com/periodic-table-of-nlp-tasks/). With the help of Streamlit and inspired by this Bokeh [gallery example](https://docs.bokeh.org/en/latest/docs/gallery/periodic.html) it became a dynamic creator that can be customized to your Periodic Table!## The result
[Open the demo app!](https://www.innerdoc.com/periodic-table-demo/)Below an example of a customized Periodic Table. In this case: for Natural Language Processing Tasks!
![alt text](periodic-table-generator-nlp-example.png "An example of a customized Periodic Table for Natural Language Processing Tasks!")
## Install and run
```
pip install -r requirements.txt
cd periodic-table-creator
streamlit run periodic_table_creator.py
```## Load your own content
Create your own Periodic Table by loading your content via your own CSV file. Look [here](periodic-table-creator/periodic_nlp.csv) or at the "Edit CSV text" section for an example of the CSV format:
- header column names: atomicnumber;group;period;symbol;elementname;groupname;color;url;excerpt
- semicolon or comma seperated
- csv extension
- utf-8 encoding![alt text](periodic-table-generator-load-content.png "Load your own content by creating a CSV file!")
## Customize the figure
Customize your own content in the sidebar. You can edit the Title, Font, Color, Scaling and Trademark.![alt text](periodic-table-generator-customize-content.png "Customize your own content in the sidebar!")