Proposal for adding more 'intword' words
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in number.py by reviewing the existing powers and human_powers definitions, then compare them with the proposed sequence through googol. Done means the additional names are handled by integer humanization without breaking the existing names or number mappings.
Written by the indexing model from the issue text.
Description
I have created a game for my end year project and it is a idle game, which goes high up in numbers, ive found it stops huminizing after decillion.
So ive taken a look and created some more words in number.py.
Like this:
powers = [10**x for x in (3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51,
54, 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 100)]
human_powers = (
NS_("thousand", "thousand"), # 10^3
NS_("million", "million"), # 10^6
NS_("billion", "billion"), # 10^9
NS_("trillion", "trillion"), # 10^12
NS_("quadrillion", "quadrillion"), # 10^15
NS_("quintillion", "quintillion"), # 10^18
NS_("sextillion", "sextillion"), # 10^21
NS_("septillion", "septillion"), # 10^24
NS_("octillion", "octillion"), # 10^27
NS_("nonillion", "nonillion"), # 10^30
NS_("decillion", "decillion"), # 10^33
NS_("undecillion", "undecillion"), # 10^36
NS_("duodecillion", "duodecillion"), # 10^39
NS_("tredecillion", "tredecillion"), # 10^42
NS_("quattuordecillion", "quattuordecillion"), # 10^45
NS_("quindecillion", "quindecillion"), # 10^48
NS_("sexdecillion", "sexdecillion"), # 10^51
NS_("septendecillion", "septendecillion"), # 10^54
NS_("octodecillion", "octodecillion"), # 10^57
NS_("novemdecillion", "novemdecillion"), # 10^60
NS_("vigintillion", "vigintillion"), # 10^63
NS_("unvigintillion", "unvigintillion"), # 10^66
NS_("duovigintillion", "duovigintillion"), # 10^69
NS_("trevigintillion", "trevigintillion"), # 10^72
NS_("quattuorvigintillion", "quattuorvigintillion"), # 10^75
NS_("quinvigintillion", "quinvigintillion"), # 10^78
NS_("sexvigintillion", "sexvigintillion"), # 10^81
NS_("septenvigintillion", "septenvigintillion"), # 10^84
NS_("octovigintillion", "octovigintillion"), # 10^87
NS_("novemvigintillion", "novemvigintillion"), # 10^90
NS_("trigintillion", "trigintillion"), # 10^93
NS_("untrigintillion", "untrigintillion"), # 10^96
NS_("googol", "googol"), # 10^100
)
I got tired after duodecillion and let chatgpt finish it all the way up to googol. (also I did not want any typos)
Now my int's are being humanized above decillion and helps me keep my GUI under control.
I think this might come in handy for many people and it is a small adjustment.
I hope this will be included in the new version.
- Dominant language
- Python
- Stars
- 757
- Forks
- 148
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python-humanize/humanize
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
python-humanize/humanize#379 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
python-humanize/humanize#366 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
python-humanize/humanize#356 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
python-humanize/humanize#277 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
python-humanize/humanize#270 · 6 comments ·
All issues in python-humanize/humanize
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·