Add your description here
Project description
clocksays
This small projects converts a given time (datetime.datetime) in a string of natural language. Languages supported so far:
- German
- English
Feel free to add other languages and issue pull request.
Usage
import clocksays.saytime as st
import datetime as dt
t_str = st.clocksays(t = dt.datetime.now(), language='de', prefix='Es ist ', suffix='.')
print(t_str)
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
clocksays-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for clocksays-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac950aa0090fdfaa1df9192886cdc223c3b8a903978c7b9261dffb4521085929 |
|
MD5 | e1a6605a583e1de20a447b241b701301 |
|
BLAKE2b-256 | c39a5c2e5a711d20aba252365ce0eee9f420c5e6ff1717030990a53b7075dc3a |