ãã®è¨äºã¯ãã¨ããªã¼ã»ã¹ãã¥ã¢ã¼ãã¡ããã®ãèªçæ¥ããæªææ¸ãªãã¬æªããã±ã¼ã¸ã§ãç¥ããããã®ã§ãã
ã¯ããã«
ã¨ããªã¼ã»ã¹ãã¥ã¢ã¼ãããããèªçæ¥ããã§ã¨ããããã¾ãï¼
nikkieã§ãã
ããã¾ã§ã«åºä¼ã£ãå°è±¡æ·±ãæ£è¦è¡¨ç¾ãéããPythonã©ã¤ãã©ãªãå
¬éãã¾ããã
ã¨ããªã¼ã¡ããã®å¸³é¢ãªã¹ãã¯ãã§ãï¼
ç®æ¬¡
- ã¯ããã«
- ç®æ¬¡
- emi-re 0.1.0
- éçºè£è©±
- ã¨ããªã¼ã¡ããããèªçæ¥ããã§ã¨ãï¼ï¼
- çµããã«
- P.S. ãããããã2ã«åæ¦ãããnikkieã¯
emi-re 0.1.0
https://pypi.org/project/emi-re/0.1.0/
0.1.0ã§è¨é²ããã¦ããæ£è¦è¡¨ç¾
ï¼uvã¯æ°ã«ãªãããã±ã¼ã¸ãã¡ãã£ã¨è©¦ãããã¨ãã«ã便å©ã§ããï¼
% uv run --with emi-re python Installed 1 package in 2ms Python 3.13.0 ... >>> import emire >>> emire.to_snake_case("CamelCase") 'camel_case' >>> emire.remove_spaces("Algorithm C ãªãã㯠ã¢ã«ã´ãªãºã C") 'Algorithm Cãªããã¯ã¢ã«ã´ãªãºã C'
éçºè£è©±
ã©ã¡ãã®æ£è¦è¡¨ç¾ããéå»ã«ã¨ã³ããªãããããã¾ããã
ãã£ã¡ã«ã±ã¼ã¹ããã¹ãã¼ã¯ã±ã¼ã¹ã«æ£è¦è¡¨ç¾ã使ã£ã¦å¤æï¼Streamlitã®å®è£ èªã¿ããï¼
æ¥æ¬èªããã¹ãä¸ã®åè§ã¹ãã¼ã¹ãæ£è¦è¡¨ç¾ã使ã£ã¦åé¤ï¼mecab-ipadic-neologdã®è¾æ¸ãã¼ã¿ãä½ãä¸ã§ã®æ£è¦åå¦çï¼
ãããã£ãOSSããå¦ãã æ£è¦è¡¨ç¾ãPythonããã±ã¼ã¸ã«ã¾ã¨ãã¦ããããªã¨åå¹´ãããåã«æãã¤ãã¾ããã
æãã¤ããæç¹ã§ååã¯ã¨ããªã¼ï¼emireï¼ã«æ±ºãã¦ãã¾ããã
ãã®ãã³2025å¹´ã®çèªç¥ã«åããã¦0.1.0ãå
¬éãã次第ã§ãã
ã¨ããªã¼ã¡ããããèªçæ¥ããã§ã¨ãï¼ï¼
é¢é£ã¨ã³ããªã¾ã¼ã³ã§ãã
2024å¹´ã®ã¨ãããã¡ããããããã ã£ãã®ã§ããã1å¹´ãå¾ã¦æ³ãã¯å¼·ã¾ã£ã¦ãããã¨ã«èªåã§ãé©ãã¦ãã¾ãã
ãé辺è¦ãã°ãã³ãã¥ãæ¬å½ã«ãããã¨ãã
çµããã«
æ£è¦è¡¨ç¾ã使ã£ã便å©ãªå¦çãã¾ã¨ããã©ã¤ãã©ãª emi-re 0.1.0 ãå
¬éãã¾ããã
ç¾å¨ã¯ä»¥ä¸ã®2ã¤ããµãã¼ãï¼
- ãã£ã¡ã«ã±ã¼ã¹ããã¹ãã¼ã¯ã±ã¼ã¹ã«å¤æ
- æ¥æ¬èªããã¹ãä¸ã®åè§ã¹ãã¼ã¹ãåé¤
ããã¦ãã¨ããªã¼ã¡ããããèªçæ¥ããã§ã¨ããããã¾ãï¼
ãã®ã©ã¤ãã©ãªãä»å¾ã©ããªæ¨¡æ§ãæãåºãã®ãã絵羽模æ§ã¿ããã£ã¦ã¯ã¯ã¯ã¯ãã¦ãã¾ãã
P.S. ãããããã2ã«åæ¦ãããnikkieã¯
è¦å¢ãªãHatchã使ãã¾ãã
俺ã¯ãããããã2ã«è¡ãããããããããªããµããã¾ã£ã¦ããããªãhttps://t.co/MP259At8Iz
— nikkie(ã«ã£ãã¼) / ã«ã£P (@ftnext) 2025å¹´1æ1æ¥
Pythonã®ç°å¢æ§ç¯ã§ã¯Hatchï¼ãããï¼ãæ¨ãã¦ãå½é¸ç¢ºçã¢ãããçããï¼
ã¿ãªããã¯ãã¾ã¨å¤ãããuvã¨ä»²è¯ããªãã£ã¦ãã¦ãã ããã
Hatchæ´¾ã«è»¢åãããã¨ãã±ããåçä¸ãã£ã¡ãããã§ã©ãããã®ã¾ã¾
hatch testã¯pytestãå®è¡ããããpyproject.tomlã®pytestã®è¨å®ãã¼ãã«ã¯ç¾ãã¼ã¸ã§ã³ã§ã¯èªã¾ãªãã¨ã®ãã¨https://t.co/GqU37CmCES
— nikkie(ã«ã£ãã¼) / ã«ã£P (@ftnext) 2025å¹´1æ8æ¥
ãã ããhatch test -vv --doctest-modulesã®ããã«ããã¨hatch testã®å¼æ°ã§ãªããã®ã¯pytestã«æ¸¡ãããµãã¾ãããã