Python program to get a random voiceline from an Apex Legend
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apex-legends-voicelines-1.0.0.tar.gz
.
File metadata
- Download URL: apex-legends-voicelines-1.0.0.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127ff6fe545caa518a15e3bab58fe9836060b1e2014342b2033a76462a1f44ee |
|
MD5 | 15608a08c95fa68e9ea805c290c75568 |
|
BLAKE2b-256 | 020d010147d209e1defb0a806408732a34300be4870960f2a87ef78bed0efc8d |
File details
Details for the file apex_legends_voicelines-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: apex_legends_voicelines-1.0.0-py3-none-any.whl
- Upload date:
- Size: 34.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72591f5383769c9c7e70cf815337768b8809636d2385a07999c2e5de7132826 |
|
MD5 | 3328316f910a7bc78e7d696292d43292 |
|
BLAKE2b-256 | c8550bd9e3703aac2fbc7f5a3b5bfee3ecadaa81394fb730ae8c7d0fce9d4b61 |