產生隨機英文名稱或英文名稱的中文翻譯
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.5.tar.gz
(15.2 kB
view hashes)
Built Distribution
SampleName-0.0.5-py3-none-any.whl
(15.7 kB
view hashes)
Close
Hashes for SampleName-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94bed2fb77419efb756e7e790765f297af060ea965d255884a5247d46ec282d |
|
MD5 | 777c61346544e00f2226ad96aef444d6 |
|
BLAKE2b-256 | b09468f110f9f5421410e8f203263aaf65a29420c59fb3c7fdb952c006e0d9eb |