Skip to main content

英雄联盟随机英雄选择器

Project description

luyiba

英雄联盟随机英雄选择器

安装用pip安装即可:

pip install luyiba

具体用法如下所示:

Usage: luyiba [OPTIONS]

  英雄联盟随机英雄选择器

  默认全英雄随机选择,你可以设置为自己喜好的清单随机选择。

Options:
  -v, --version                   本软件版本
  -l, --list                      列出全英雄名
  --mylist-list                   列出我的喜好英雄清单
  --mylist-input PATH             读取文本导入我的喜好清单
  --mylist-add TEXT               我的喜好清单添加一个
  --mylist-remove TEXT            我的喜好清单删除一个
  --mylist-delete                 我的喜好清单清空
  -i, --input PATH                指定文本随机模式
  -a, --all                       全英雄随机模式
  -m, --mylist                    个人喜好清单随机模式
  -p, --position [top|mid|jungle|bottom|support|t|m|j|b|s]
                                  指定我只想玩那个位置
  -r, --role [tank|mage|support|marksman|fighter|assassin|t|g|s|k|f|a]
                                  指定我只想玩某种角色
  --help                          Show this message and exit.

基本使用

全英雄随机模式

  • luyiba -p t 随机抽选一名上单

个人喜好清单随机模式

需要你往个人喜好清单里面增删一些英雄,具体英雄名字可以通过 luyiba -l 来查看。

  • luyiba --mylist-add 寒冰射手 将某个英雄添加到个人喜好清单
  • luyiba --mylist-list 列出我的个人喜好清单
  • luyiba -m -p t 从个人喜好清单中随机抽选一名上单

亮点

  1. 所有英雄数据不定时从英雄联盟官网获取,并保存在本地。

  2. 用户可以提供一个自己喜好的英雄列表,然后从该列表中随机选择英雄。

  3. 用户可以指定一个txt文件,然后从这个txt文件中随机选择一行。

  4. 过滤模式: 目前提供了两种过滤, --position--role ,比如说我想从我喜爱的英雄里面今天打上单:

luyiba --position=top

比如说我今天打中路刺客

luyiba --position=mid --role=assassin

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

luyiba-0.3.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

luyiba-0.3.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file luyiba-0.3.0.tar.gz.

File metadata

  • Download URL: luyiba-0.3.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for luyiba-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2a94f66bf1db7409d0a4edd4ee52baa63a27ad99e8a77a0d2794ab152c3c5962
MD5 479b40a08ec1549818fd6f706c5d7bd2
BLAKE2b-256 d9f6dd2ee6004134c9273bd689c5c1bc4008ac8d0969d65c7e4de9ae5e7ed55f

See more details on using hashes here.

File details

Details for the file luyiba-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: luyiba-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for luyiba-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3dcd2da0cd535b9f971c2ba1d66720e794e829a1b060fa04d2125f8fe1ab960
MD5 9fdd2b820b4ee43fd116b69040fb21a7
BLAKE2b-256 f96edf7a3b433a5a7ac39ed39c26914456e0e8282bf97e4b1a4a0b152dcc9700

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page