Skip to main content

Python Efun management package for LDMud

Project description

Python Efun package for LDMud

These are routines and python efuns for management of Python efuns with LDMud 3.5 and later.

The package allows efuns to be dynamically detected, registered and reloaded.

This package contains the following efuns:

  • void python_reload()
  • string python_efun_help(string efunname)

Usage

Install from the python package index

The efun package can be downloaded from the python package index:

pip3 install --user ldmud-efuns

Build & install the package yourself

You can build the package yourself.

First clone the repository

git clone https://github.com/ldmud/python-efuns.git

Install the package

cd python-efuns
python3 setup.py install --user

Automatically load the modules at startup

Use startup.py as the Python startup script for LDMud. It will automatically detect the installed python efuns and load them.

You can deactivate single efuns with a configfile .ldmud-efuns in your home directory, with the following contents

[efuns]
name_of_the_efun = off

Manually load the modules at startup

Add the following lines to your startup script:

import ldmudefuns.reload
import ldmudefuns.help

ldmudefuns.reload.register()
ldmudefuns.help.register()

Have fun!

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

ldmud-efuns-0.1.0.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distributions

ldmud_efuns-0.1.0-py3.7.egg (16.2 kB view hashes)

Uploaded 3 7

ldmud_efuns-0.1.0-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page