Mock package that auto-closes the League client
Project description
Auto League Closer
Tired of procrastinating on homework all day while still being hardstuck Bronze? Suffering from a bad case of League withdrawal?
Well, I've got a solution for you! Install the Auto League Closer!
This handy program will automatically close the League of Legends client whenever it's running, so you can get back to binging YouTube videos - uh, I mean doing homework :)
This is a mock application to demonstrate a clean project structure, along with steps to distribute Python modules and end user application installers.
Installation
Run the installer here.
How It Works
Using the Python Module
$ pip install leaguecloser
View the PyPi page.
Example usage (also what the installable app does):
import leaguecloser
import time
print("Searching for League...")
while True:
if leaguecloser.is_league_running():
print("\nNO LEAGUE ALLOWED!")
if leaguecloser.close_league():
print("\nThat's right... now get back to work!")
time.sleep(3)
Packaging and Building Methods
The Makefile contains good practice methods for the common tasks below:
$ make run # Runs the file
$ make test # Runs all tests
$ make package_create # Creates (or updates) the leaguecloser package
$ make package_upload # Uploads the leaguecloser package to PyPi
$ make build_app # Builds the app into a standalone folder with an executable
Development Setup
First, setup a virtual environment. Then run:
> & '.\Dev Setup.ps1'
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
Built Distribution
Hashes for leaguecloser-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ade68136eb1dff869d406494753b126e14171f8bf5177e542765c3b506e943 |
|
MD5 | c5cbbc431960331ee2dfbcd82aa54c58 |
|
BLAKE2b-256 | b1e20aa2250f23953b7ea62a29001a4791ee23a10f8c95c1561eafc26bc1584e |