semvec/pypi-packages huggingface dataset:
pyfloat 0.0.3
Python Library for doing math operations with floats without lossing precission
Keywords: decimal,float,double,truncate,floor,math

## PyFloat Lib

Python Library for doing math operations with floats without lossing precission

## How to use

```
>> from pyfloat import PyFloat

>> PyFloat(2.1234e-12)
'0.0000000000021234'
>> PyFloat(-2.1234e+12)
'-2123400000000'
>> PyFloat(0.1452)
'0.1452'
>> PyFloat(PyFloat(152.455))
'152.455'
>> a = PyFloat("123451.1234551230000000004444445551122000000011")
>> b = PyFloat(-8123994.000002234100000001323400000001232112221)
>> a + b
'-8000542.8765471111000000008789554448890321122199'
>> a - b
'8247445.1234573571000000017678445551134321122221'
>> a * b
'-1002916186242.9543234169148643344158458369442274183843912848765430855693663896461975553234431'
>> a == b
'False'
>> a != b
'True'
>> a > b
'True'
>>> PyFloat(0.00239419391).round(10)
'0.0023941939'
>>> PyFloat(0.00239419391).round(7)
'0.0023942'
>>> PyFloat(-0.00239419391).round(7)
'-0.0023942'
>>> PyFloat(0.00239419391).round(4)
'0.0024'
>>> PyFloat(-1234.5678).abs()
'1234.5678'
>>> PyFloat(0.0000089778).truncate(8)
'0.00000897'
>>> PyFloat(-0.0000089778).truncate(8)
-0.00000897
```

## Test

```
python pytfloat_test.py
```
streamlit-chat-animated 0.0.3.3
A streamlit component, to make chatbots with text
Requires Python: >=3.8
Keywords: chat streamlit streamlit-component animated text

# st-chat

Streamlit Component, for a Animated Chat-bot UI similar to Chat-GPT UI

authors - [@Decoderzhub](https://github.com/decoderzhub) & [@yashppawar](https://github.com/yashppawar) & [@YashVardhan-AI](https://github.com/yashvardhan-ai)

## Installation

Install `streamlit-chat-animated` with pip
```bash
pip install streamlit-chat-animated
```

usage, import the `message` function from `streamlit_chat_animated`
```py
import streamlit as st
from streamlit_chat_animated import message

message("My message") 
message("Hello bot!", is_user=True)  # align's the message to the right
```
   
### Demo

![chatbot-animated](https://user-images.githubusercontent.com/6371329/230217909-f1406a10-1023-4895-b1f1-9816bbb513b9.mov)