Skip to main content

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


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.2.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_timeago-0.1.2-py3-none-any.whl (89.7 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_timeago-0.1.2.tar.gz.

File metadata

  • Download URL: streamlit_timeago-0.1.2.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for streamlit_timeago-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d99e77ba3f88e97b564b0ce007f5a7cc1160cdc8fec221bcf0a66b68c05de326
MD5 4b322edd26fcd77ed592b13e3476f962
BLAKE2b-256 bb50acf4eee12243e231b58158caf4a281999926490968bfa538fdbef399856e

See more details on using hashes here.

File details

Details for the file streamlit_timeago-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_timeago-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f39a2956df2d444211dcf1f7585eed6efbd178677f9141069a481c77a07fed8
MD5 b02b54ed8373af5bc2ee5510e327aebd
BLAKE2b-256 6967a087c84d07b1cb1b36385028bfd65d265d4bb27d2ca8076f169c22bccdff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page