Skip to content

murilo-cunha/stream-wars

Folders and files

NameName
Last commit message
Last commit date
Nov 27, 2022
Nov 27, 2022
Nov 27, 2022
Nov 28, 2022
Aug 17, 2022
Aug 17, 2022
Nov 27, 2022
Aug 16, 2022
Nov 27, 2022
Nov 27, 2022
Nov 28, 2022

Repository files navigation

logo

Python versions PiPy Downloads Code style: black Mypy checked

A Star Wars crawl component for Streamlit apps!

A wrapper around star-wars-crawl-greensock-with-hooks by @mandiwise, using the streamlit-component-template-react-hooks by @whitphx (credits to them! 👏👏).

Details

This is a small project putting together a "Star Wars" crawl component written in React and a React hooks-based template for Streamlit apps.

Why? The official documentation lists the class based components for React. React has released the hook-based API, which is arguably simpler and generally preferred over the class based components. Personally, I also prefer hook-based components over class-based ones. The project also uses poetry over the official documentation's setup.py and MANIFEST.in files - another personal decision.

Features

  • Custom button
  • Custom intro
  • Custom episode text
  • Custom episode title
  • Custom crawl content
  • Available on wide layout