Skip to main content

Ολογράφως

Μετατροπή αριθμών (συμπεριλαμβανομέων και δεκαδικών) σε μορφή ολογράφως, με δυνατότητα επιλογής γένους και κλίσης. Παρέχεται και η δυνατότητα για μετατροπή ποσών ευρώ σε μορφή ολογράφως.

Converts Numbers (including decimal points) into words. It also converts the numbers into words for currency.

Εγκατάσταση

pip install olografos

Χρήση

Εισαγωγή

from olografos import olografos

print(olografos(123456789))
# Output: εκατόν εικοσιτρία εκατομμύρια τετρακόσιες πενηνταέξι χιλιάδες επτακόσια ογδονταεννέα

Επιλογές

lexis = olografos(
  123,
 {
  "currency": False
  "klisi": 'onomastiki'
  "genos": 'oudetero'
 }
)
let lexis = olografos(123)
// lexis = εκατόν είκοσι τρία

lexis = olografos(123.45)
// lexis = εκατόν είκοσι τρία και σαράντα πέντε εκατοστά

Για μετατροπή σε ευρώ

money = olografos(452, { "currency": True })
// money = τετρακόσια πενήντα δύο ευρώ

money = olografos(452.36, { "currency": True })
// money = τετρακόσια πενήντα δύο ευρώ και τριάντα έξι λεπτά

Αλλαγή γένου και κλίσης

lexis = olografos(452, { "klisi": "aitiatiki", "genos": "thyliko" })
// lexis = τετρακοσίες πενήντα δύο

Εκατοστά

lexis = olografos(1.57, { "klisi": "geniki" });
// lexis = ενός και πενηνταεπτά εκατοστών

Options

Επιλογή Type Default Descr,{options}iption
currency boolean False Μετατροπή του αριθμόυ σε μορφή ολογράφως ευρώ
klisi 'onomastiki'
'geniki'
'aitiatiki'
'onomastiki' Η κλίση στην οποία θα γραφεί ο αριθμός
genos 'arseniko'
'thyliko'
'oudetero'
'oudetero' Το γένος στο οποίο θα γραφεί ο αριθμός

Metadata

Release files for olografos 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for olografos 1.0.2
File Size Uploaded Provenance Actions
olografos-1.0.2.tar.gz 6.4 kB Without provenance Details for olografos-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for olografos 1.0.2
File Interpreter ABI Platform Actions
olografos-1.0.2-py3-none-any.whl Python 3 none any Details for olografos-1.0.2-py3-none-any.whl

Total release size: 12.2 kB

Release files / olografos-1.0.2.tar.gz

Download URL olografos-1.0.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d0105e33edc88a3deec18673898ac62fd3f4d6473b1313521e936a949366b9d9
BLAKE2b-256 checksum
How to use checksums
c51b97f38508291b22815fc982c9244fd795288ead8ac823e34d6dd5f20c2f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / olografos-1.0.2-py3-none-any.whl

Download URL olografos-1.0.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0691512120224cbd6d34f760b6a0a077b27fed62ddc55c8f30e0e6b91d3a79e9
BLAKE2b-256 checksum
How to use checksums
28400d50fbd0259151a0b967e257a37eaccdfd4d24e2e245f83e7344c2ccff0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for olografos 1.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page