python-humanize / python-humanize/humanize
Proposal for adding more 'intword' words
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 756
- Fork
- 148
- Merge trung bình
- 6 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu trong number.py bằng cách xem lại các định nghĩa powers và human_powers hiện có, sau đó so sánh chúng với chuỗi được đề xuất cho đến googol. Hoàn thành khi các tên bổ sung được xử lý bằng tính năng nhân hóa số nguyên mà không làm hỏng các tên hiện có hoặc các ánh xạ số.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- tooling
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100