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.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ldmud_efuns-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ldmud-efuns-0.2.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for ldmud-efuns-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5ac14b73a324f0f249a0902c97d114060455612ddbb564356b59cdd311970f23
MD5 01e72ee669fefa5f16e2597226137f89
BLAKE2b-256 b26c0868d688e36a99f538b2108fdcab0083188df4586e5ca69e0abd67a78f15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldmud_efuns-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for ldmud_efuns-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd527014637abb788fc69170a08ac6109e9c61b26472474a708941067aa0af0
MD5 a186ff0aa68c1099a1a3f5e537bcc176
BLAKE2b-256 1c0712db62038acdf719bdfc49793462eecb99ea4b5eb436e123653acb238ec1

See more details on using hashes here.

Supported by

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