Get ordinals from numbers (42 -> 42nd).
Project description
ordinal
Get ordinals from numbers
from ordinal import ordinal
num = ordinal(42)
print(num) # 42nd
Testing
Clone the app and run the following:
pip install -e .
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ordinal-1.0.3.tar.gz
(1.6 kB
view details)
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 ordinal-1.0.3.tar.gz.
File metadata
- Download URL: ordinal-1.0.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec77bf1a8dde1e99bd1b034648c9217062c50fb5194071566a40dc92c0d6e104
|
|
| MD5 |
db05983c4f2e373b920c2268ccf30263
|
|
| BLAKE2b-256 |
c1ab196aea72bc41913707c26e829daac7337d44ec6c2667d62e4586fd5a3e8b
|
File details
Details for the file ordinal-1.0.3-py3-none-any.whl.
File metadata
- Download URL: ordinal-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db94bca603d6ad62f9c871ba010fdbab1d112a254b6d6e8490d19b7f7b429711
|
|
| MD5 |
4b40e6f98cb3d785bf5a89db6ee9fd57
|
|
| BLAKE2b-256 |
c522d0a87ffb7daeaae7e9bd0ea128e808ed5c3ad04a28da4c244862677671ad
|