PyLink IRC Services

PyLink is an extensible, plugin-based IRC services framework written in Python. It aims to be:

1) a replacement for the now-defunct Janus.

2) a versatile framework for developing IRC services.

PyLink and any bundled software are licensed under the Mozilla Public License, version 2.0 (LICENSE.MPL2). The corresponding documentation in the docs/ folder is licensed under the Creative Attribution-ShareAlike 4.0 International License. (LICENSE.CC-BY-SA-4.0)

Support the project

Obtaining support

First, MAKE SURE you've read the FAQ!

When upgrading between major versions, remember to read the release notes for any breaking changes!

Please report any bugs you find to the issue tracker. Pull requests are open if you'd like to contribute, though new stuff generally goes to the devel branch.

You can also find support via our IRC channel at #PyLink @ Ask your questions and be patient for a response.



If you are a developer and want to help make PyLink more portable, patches are highly appreciated. Talk to us!

Installing from source

1) First, make sure the following dependencies are met:

* Setuptools (`pip3 install setuptools`)
* PyYAML (`pip3 install pyyaml`)
* ircmatch (`pip3 install ircmatch`)
* *For password encryption*: Passlib (`pip3 install passlib`)
* *For enhanced cron support (by removing stale PID files): psutil (`pip3 install psutil`)
* *For the servprotect plugin*: expiringdict (`pip3 install expiringdict`)

2) Clone the repository: git clone && cd PyLink

3) Pick your branch.

4) Install PyLink using python3 install (global install) or python3 install --user (local install)

Installing via PyPI (stable branch only)

1) Make sure you're running the right pip command: on most distros, pip for Python 3 uses the command pip3.

2) Run pip3 install pylinkirc to download and install PyLink. pip will automatically resolve dependencies.

3) Download or copy for an example configuration.

Installing via Ubuntu PPA (14.04/Trusty and above)

Unofficial Ubuntu packages for PyLink are available via two PPAs for Ubuntu 14.04 LTS (trusty) and above.

Upon installing the pylink package, example configuration and docs will be in /usr/share/doc/pylink/examples and /usr/share/doc/pylink/docs respectively. You can also install a local copy of the PyLink API reference through the pylink-doc package.


1) Rename example-conf.yml to pylink.yml (or a similarly named .yml file) and configure your instance there. Note that the configuration format isn't finalized yet - this means that your configuration may break in an update!

2) Run pylink from the command line. PyLink will load its configuration from pylink.yml by default, but you can override this by running pylink with a config argument (e.g. pylink mynet.yml).

Supported IRCds

Primary support

These IRCds (in alphabetical order) are frequently tested and well supported. If any issues occur, please file a bug on the issue tracker.

Extended support

Support for these IRCds exist, but are not tested as frequently and thoroughly. Bugs should be filed if there are any issues, though they may not always be fixed in a timely fashion.

Other TS6 and P10 variations may work, but are not officially supported.


Since v1.0, PyLink supports connecting to IRCds as a relay bot and forwarding users back, similar to Janus' Clientbot. This can be useful if the IRCd a network used isn't supported, or if you want to relay certain channels without fully linking with a network.

For Relay to work properly with Clientbot, be sure to load the relay_clientbot plugin in conjunction with relay.