Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.
/ libkol Public archive

A Python package for interacting with The Kingdom of Loathing.

License

Notifications You must be signed in to change notification settings

python-kol/libkol

Repository files navigation

libkol PyPi version Python 3.6+ CircleCI Coverage

What is it?

The purpose of libkol is to create a Python package that makes it extremely easy to develop code that works with The Kingdom of Loathing. It can be used for anything from writing short scripts to complex bots.

It is based on pykol, on which both kBay and wadbot were built.

Who is it for?

libkol is for programmers who are interested in writing scripts and bots for KoL. If you do not feel comfortable writing code, then libkol is probably not for you.

Example

See examples/ for example uses of libkol.

Requirements

libkol requires Python 3.6+.

To install third-party libraries

$ make install

Running the Unit Tests

libkol includes a unittest suite, to showcase some of its functionality and to help ensure that new game changes don't break your existing code. Developers are strongly encouraged to add unit tests for new features that they create.

To run the test suite:

$ make test username=[username] password=[password]

How can I contribute?

  1. Fork libkol
  2. Clone your fork - git clone git@github.com:your_username/libkol.git
  3. Add a remote to this repository - git remote add upstream git://github.com/python-kol/libkol.git
  4. Fetch the current libkol sources - git fetch upstream
  5. Create a topic branch - git checkout -b my_branch upstream/master
  6. Commit (or cherry-pick) your changes
  7. Push your branch to github - git push origin my_branch
  8. Create an Issue with a link to your branch
  9. That's it!

About

A Python package for interacting with The Kingdom of Loathing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published