A test package for num2text
Project description
foojus
A test package for num2text
Installation
$ pip install foojus
Usage
foojus is a test package for num2text. It is a simple package that converts numbers to text for french language.
from foojus import Num2Words
num2words = Num2Words(lang='FR')
print(num2words.convert(1)) # un
print(num2words.convert(17)) # dix-sept
print(num2words.convert(80)) # quatre-vingts
print(num2words.convert(1234)) # mille-deux-cent-trente-quatre
print(num2words.convert(300))
num2words = Num2Words(lang='BE')
print(num2words.convert(1))
print(num2words.convert(17))
print(num2words.convert(80)) # huitante
print(num2words.convert(1234))
print(num2words.convert(300))
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
foojus was created by oceanumeric. It is licensed under the terms of the MIT license.
Credits
foojus was created with cookiecutter and the py-pkgs-cookiecutter template.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foojus-0.1.0.tar.gz.
File metadata
- Download URL: foojus-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.10 Linux/5.15.0-46-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0ad629efc437cdeaeaf5816c972ce71c7ee8a4bf482ae261e7384e69f13f03f
|
|
| MD5 |
e78ae55fbb63bd6f7f31621426675cef
|
|
| BLAKE2b-256 |
7a98d99ad21da68de3444fcdafb75e2f19cce0779ec5b7879bf68189f7b9f4c5
|
File details
Details for the file foojus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: foojus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.10 Linux/5.15.0-46-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9b4d573e35e1cc66bf850e3cffa97edb7b3e6fa4dfa384e7d6f223cb9562ce2
|
|
| MD5 |
c165eeddd79a05202af6ff977e37a0c7
|
|
| BLAKE2b-256 |
13b4d9395a879b97c6022290a74d0cc21c5db31fb46d26ba98968b1eb0ac367e
|