Skip to content

A collection of Python efuns used in the UNItopia mudlib

License

Notifications You must be signed in to change notification settings

unitopia-de/python-efuns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNItopia Python efuns

These are Python efuns used in UNItopia.

In the subdirectories there are the following packages:

  • git contains efuns for interaction with git
  • deklin contains an efun and type for multi-recipient messages
  • jwt contains an efun for creating JSON web tokens
  • spell contains efuns for spell checking
  • unicode_action contains an add_action() replacement that will register actions with umlauts and their transliterations.

Usage

Build & installation

You'll need to build the package.

First clone the repository

git clone https://github.com/unitopia-de/python-efuns.git

In the corresponding package directory execute

python3 setup.py install --user

Automatically load the modules at startup

Also install the LDMud Python efuns and use its startup.py as the Python startup script for LDMud. It will automatically detect the installed Python efuns and load them.

Manually load the modules at startup

Add lines like the following to your startup script:

import ldmud, ldmudefunspell.spell

ldmud.register_efun('spell_check', ldmudefunspell.spell.efun_spell_check)
ldmud.register_efun('spell_suggest', ldmudefunspell.spell.efun_spell_suggest)

About

A collection of Python efuns used in the UNItopia mudlib

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages