產生隨機英文名稱或英文名稱的中文翻譯
Project description
SampleName
產生隨機英文名稱或英文名稱的中文翻譯, 寫範例程式時可以用
Install
pip install SampleName
Using
from sampleName import SampleName
smapleName = SampleName()
nameList = smapleName.listNameEng()
print(nameList)
# ['Kate', 'Cedric', 'Adrian', 'Yuri', 'Lara', 'Mildred', 'Craig', 'Oswald']
nameList = smapleName.listNameCht()
print(nameList)
# ['海頓', '藍道夫', '吉羅德', '妮可拉', '阿爾瓦', '比尤萊', '伊蒂絲', '珀莉']
Development
- VSCode
- 開發環境佈置 Remote-Containers
- 執行 remote container 會自動安裝 flake8, yapf 套件, 以及 pytest
- 單元測試, 執行
pytest
- release 後會自動上傳到 PyPI, 版本號會用 tag
TODO
- push 後執行 pytest
- 增加 test badge
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
SampleName-0.0.4.tar.gz
(15.1 kB
view hashes)
Built Distribution
SampleName-0.0.4-py3-none-any.whl
(15.7 kB
view hashes)
Close
Hashes for SampleName-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea539230ee1faf5bc164e9acff5b81a33c9ab4e4ae3e07a5c1d9eefefe76ccc |
|
MD5 | 84092da8c569e48c394902c62102a2b9 |
|
BLAKE2b-256 | 189ad0e5d27615cad3b599ad167627235fb59493e89e9584507ef85c1949e16e |