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 and types with LDMud 3.5 and later.

The package allows efuns and types 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

[types]
name_of_the_type = 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.2.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

ldmud_efuns-0.2.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ldmud-efuns-0.2.3.tar.gz.

File metadata

  • Download URL: ldmud-efuns-0.2.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ldmud-efuns-0.2.3.tar.gz
Algorithm Hash digest
SHA256 73914d2b9a9b86afb77384c7f2c2f50f01f830a2c814d5152dd54b651c061ec9
MD5 9ef7e4aa88d787eb88ec140d30161af5
BLAKE2b-256 eded8d8b2c054f4468b6df2afa6ab4e3db4317fd0196942fad743ad46c16eef1

See more details on using hashes here.

File details

Details for the file ldmud_efuns-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: ldmud_efuns-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ldmud_efuns-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b426e67d90936975ba89e8a2bbe71a4feba33b975cfc784a3b6f90ac5283c304
MD5 9ad966e06aa5b3fcc492d60c6c045406
BLAKE2b-256 b38a09d1164e45c7e3ac7a83606f8ebb7444743e6ec8af012d0557fd4d1c25bc

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