ef4203 / humanify

Python library for converting times into a human readable strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

humanify

GitHub license GitHub issues Build Status

Python library to convert a timestamp object into a human readable string

Examples

#!/usr/bin/env python3
import humanify
import datetime

current_date = datetime.datetime.now()

print(humanify.time_only(current_date))
print(humanify.date(current_date))
print(humanify.datetime(current_date))

Installation

Directly with pip:

pip install -U https://github.com/ef4203/humanify/archive/master.zip

With Pipenv:

pipenv install -e git+https://github.com/ef4203/humanify/archive/master.zip

Further Documentation

You may find more information about humanify in the documentation files.

About

Python library for converting times into a human readable strings

License:MIT License


Languages

Language:Python 100.0%