Percentages and ratios
まだ誰も着手していません。
評価
調査の方向性
まず、提案されている ratio と percent の API を、precisedelta の precision customization と比較します。ratio と percent の入力、切り捨て、オプションの小数精度、および要求されている percent-string のフォーマットを検証します。完了には、プロジェクトの既存テストでのカバレッジを含める必要があります。
索引モデルが issue の本文から書いたものです。
説明
Hello, thanks a lot for this great package !
If I'm not mistaken there is no feature yet to humanize a ratio (between 0 and 1) or a percentage (between 0-100).
It could be a great addition ! It can be just one function to handle both, with two possible inputs (ratio= or percent=). The outcome would in both cases, be a truncated percent string with optional decimal coma up to a given precision, as in 12,5%. Customization of precision with a number of decimal could be similar to precisedelta's precision customization with the units.
- 主要言語
- Python
- スター
- 757
- フォーク
- 148
- 平均マージ
- 6日 1時間
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-humanize/humanize のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
python-humanize/humanize#379 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
python-humanize/humanize#366 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
python-humanize/humanize#356 · コメント 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
python-humanize/humanize#270 · コメント 6 件 ·
-
help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-humanize/humanize#263 · リアクション 3 件 ·
python-humanize/humanize の issue をすべて見る
似ている issue
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
NousResearch/hermes-agent#118866 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
apache/cloudstack#14222 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100