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.2.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

luyiba-0.2.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: luyiba-0.2.0.tar.gz
  • Upload date:
  • Size: 8.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.2.0.tar.gz
Algorithm Hash digest
SHA256 bcd5282442b714238c0ee0538e00a0a51316ca04352bc3c6d7316b9a9f97158b
MD5 cceab68c0762526f2b41ecbe7c486128
BLAKE2b-256 d2cc725dd017f88e2ff86c060f34ec3103c5479c7c880ffab76c71586634ba2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: luyiba-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44fa2170fc8601c9218862f7cdaf2d45e67adfa9a6bcdc4f57b3d0104600d6bc
MD5 4f3050f4e406d425a22045946eccba1c
BLAKE2b-256 8fc9591b0bbe82a6cbcab6f1b3e92bf42b48402f8380280a2198fa2770de6a03

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