Skip to content

murilo-cunha/stream-wars

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