python 传奇服务端_apex-legends-voicelines-Python程序从一个Apex传奇中随机获得一条语音线-Justine Kizhakkinedath What is this...

作者:Justine Kizhakkinedath

### 作者邮箱:justine@kizhak.com

### 首页:https://justine.kizhak.com/projects/apex-legends-voicelines

### 文档:None

### 下载链接

# Apex Legends voicelines

[[TOC]]

What is this package?

I love Apex Legends voice lines so much that I wanted to use it as my window title of my text editor so I created this.

You can also use it in your terminal too.

Just run apex-voicelines in the terminal and it will randomly print one voiceline.

Install

This package is available on PyPI.

Recommended way to install is by using pipx.

Pipx will add isolation so that your system is always unaffected.

pipx install apex-legends-voicelines

But you can also install using your standard pip.

python3 -m pip install apex-legends-voicelines # or pip3 install apex-legends-voicelines

Prerequsities

You need Python 3.

Recommended version is Python 3.8.

Usage

To use just run apex-voicelines

Example:

$ apex-voicelines

My squad must be very proud - MRVN aka Pathfinder

TODO Legend selection

Maybe some time later, I will work on specifying which Legend voicelines you need as some argument.

I am thinking of doing something like apex-voicelines --legend wraith.

TODO VSCode support

I don't use VSCode much so I don't know how to make it work with it. But maybe I will look into it.

If anyone figured on how to use it for some other purpose let me know, I'm excited.

Using inside Emacs

These voicelines can be used inside Emacs.

You can use the voicelines as the frame title.

This is how I use it.

As frame title on startup

Add this to your config

(setq frame-title-format (shell-command-to-string "apex-voicelines"))

Use interactively

You can also add this in your config and change the title on demand

(defun change-emacs-title-apex ()

(interactive)

(setq frame-title-format (shell-command-to-string "apex-voicelines")))

Just run M-x change-emacs-title-apex to do so.

License

MIT License

Copy from pypi.org

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值