clocksays
This small projects converts a given time (datetime.datetime) in a string of natural language. Languages supported so far:
- German
- English
- French
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)
t_str = st.clocksays(t = dt.datetime.now(), language='en', prefix='It is ', suffix='.')
print(t_str)
t_str = st.clocksays(t = dt.datetime.now(), language='fr', prefix='Il est ', suffix='.')
print(t_str)
Metadata
Release files for clocksays 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clocksays-0.2.1.tar.gz | 3.6 kB | Without provenance | Details for clocksays-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clocksays-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for clocksays-0.2.1-py3-none-any.whl |
Total release size: 8.1 kB
Release files / clocksays-0.2.1.tar.gz
| Download URL | clocksays-0.2.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee6b5509f61d2088c84c6e9146534504544fb5109b5880cb5a0849460dec8cba
|
|
BLAKE2b-256 checksum How to use checksums |
a1fef176f8c0986dcfb9a7c33b3088522acc744fadf357c0f8bea7164241490f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Release files / clocksays-0.2.1-py3-none-any.whl
| Download URL | clocksays-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d75fec6348ac717be440b8dec5d40ce65026b329c1fa365519ad7142665d1bb
|
|
BLAKE2b-256 checksum How to use checksums |
a164fce4e47a3f3cfb8ffa860c16b3ac18796c597986408adcffd19dc13c57ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Security for clocksays 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.