Streamlit wrapper of timeago-react to render time ago
Project description
Streamlit Time Ago
Streamlit wrapper of timeago-react: https://www.npmjs.com/package/timeago-react
Examples:
just now
12 seconds ago
2 hours ago
3 days ago
3 weeks ago
2 years ago
in 12 seconds
in 3 minutes
in 24 days
in 6 months
Installation instructions
pip install streamlit-timeago
Usage instructions
from streamlit_timeago import time_ago
from datetime import datetime
time_ago(datetime.now())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_timeago-0.1.3.tar.gz
(89.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_timeago-0.1.3.tar.gz.
File metadata
- Download URL: streamlit_timeago-0.1.3.tar.gz
- Upload date:
- Size: 89.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d234f30f3ab6687f2ae6087d5ad0538e3b318bb360797d75ef2d95617b8bcc53
|
|
| MD5 |
04c6fb1782fcc138dad437b21750f63c
|
|
| BLAKE2b-256 |
7f35addf30c72974b526d47abcd379de2bff5c62166984df3ab389e940482a08
|
File details
Details for the file streamlit_timeago-0.1.3-py3-none-any.whl.
File metadata
- Download URL: streamlit_timeago-0.1.3-py3-none-any.whl
- Upload date:
- Size: 89.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c56fd320bead8910c579d0a2f42b4d8fc4bc210dad08f6337a59234629cd4a
|
|
| MD5 |
0202d1f1a08134ff202c9ea97fc204ca
|
|
| BLAKE2b-256 |
06759c99cc0bdc2980696d6ce0d89d41d75e98cc767530370f0a5a479204927b
|