How to use the autonumeric.js library in the Streamlit library

Hey everyone, I would like to know how to use the autonumeric.js library to format numbers as they are typed in real-time, for example, changing 10000 to 10.000 in the st.text_input() or st.number_input() fields in the Streamlit library.

ex

import streamlit as st
from streamlit.components.v1 import components