A user plugin for helga chat bot
About
Helga is a Python chat bot. Full documentation can be found at http://helga.readthedocs.org.
This user plugin allows Helga to respond to user-related commands in IRC and print information about users from LDAP.
03:14 < ktdreyer> helgabot: user adeza
03:14 < helgabot> adeza is in Remote US GA
03:14 < helgabot> ktdreyer, it's 5:14pm for adeza (2:00 ahead of your
America/Denver timezone)
Installation
This users plugin is available from PyPI, so you can simply install it with pip:
pip install helga-users
If you want to hack on the helga-users source code, in your virtualenv where you are running Helga, clone a copy of this repository from GitHub and run python setup.py develop.
Configuration
In your settings.py file (or whatever you pass to helga --settings), you must specify a LDAP dict. For example:
LDAP = {
'host': 'ldap.corp.example.com',
'basedn': 'dc=example,dc=com',
}
helga-users assumes that this LDAP server host is listening on TCP 389 and supports STARTTLS.
TODO
Some ideas…
We should be able to support more user information sources besides LDAP (for example, GitHub).
Some type of stronger authentication for users. Integration with NickServ or IRC ops?
Self-service storage of user credentials for other plugins, using a protected web form?
Release files for helga-users 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| helga-users-0.0.2.tar.gz | 5.9 kB | Details |
Release files / helga-users-0.0.2.tar.gz
| Download URL | helga-users-0.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2830c18b8a8729fda291d50e1cd4a3a83dc68768cd7a81d343536f1898a8ac89
|
|
BLAKE2b-256 checksum How to use checksums |
7f7c56a5d36635e3ea3920e70d4d0f11d809a6327b2dd27b120563ef0541113e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |