Skip to main content

Users plugin for Helga

Project description

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?

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

helga-users-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file helga-users-0.0.2.tar.gz.

File metadata

  • Download URL: helga-users-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for helga-users-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2830c18b8a8729fda291d50e1cd4a3a83dc68768cd7a81d343536f1898a8ac89
MD5 6feff653b0c07f7d8bfa80ea6ee711d3
BLAKE2b-256 7f7c56a5d36635e3ea3920e70d4d0f11d809a6327b2dd27b120563ef0541113e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page