Skip to main content

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!

Metadata

Release files for ldmud-efuns 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ldmud-efuns 0.2.4
File Size Uploaded
ldmud-efuns-0.2.4.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ldmud-efuns 0.2.4
File Interpreter ABI Platform
ldmud_efuns-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / ldmud-efuns-0.2.4.tar.gz

Download URL ldmud-efuns-0.2.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
32e4e5ae58931d6f4517b7972d219f050a2f80dcd09b229b11f477783b6d8b79
BLAKE2b-256 checksum
How to use checksums
8da28be41e4ab47f56da510b7279118f3e27340a698ebdf62876c63869c75c7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ldmud_efuns-0.2.4-py3-none-any.whl

Download URL ldmud_efuns-0.2.4-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9f239e12c0ccc0fd5614e86e10ba3c47328ad469a573833d0942ae9e7512955
BLAKE2b-256 checksum
How to use checksums
43cff95fc149d1c7caa8e031ed667f91d01ff97338e740c07745cd102bb278f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

3 release files

0.2.0

2 release files

0.1.0

3 release files

0.0.5

3 release files

0.0.4

3 release files

0.0.3

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page