Python Efun alternatives package for LDMud
Project description
Python Efun alternatives package for LDMud
These are python efuns that mirror internal efuns of LDMud.
They can be used as a starting point to modify their behavior or to add to an already running LDMud instance that was compiled without these.
This package contains the following efuns:
json
module:mixed json_parse(string jsonstring)
string json_serialize(mixed data)
Usage
Install from the python package index
The efun package can be downloaded from the python package index:
pip3 install --user ldmud-efun-alternatives
Build & install the package yourself
You can build the package yourself.
First clone the repository
git clone https://github.com/ldmud/python-efun-alternatives.git
Install the package
cd python-efun-alternatives
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 the following lines to your startup script:
import ldmudefunalternatives.json
ldmudefunalternatives.json.register()
Have fun!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ldmud-efun-alternatives-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54bc39346faed0f61913ff45d03e0bd263eadd88cb6431752512db130ee41541 |
|
MD5 | b50879da5ce3f07b519fa7d177d56b60 |
|
BLAKE2b-256 | 7f5240a3a31434ecfc88b7309b8390b5034feffb41f573654dd23b40c67109fd |
Hashes for ldmud_efun_alternatives-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae85bcb5d1b93f5689561222fcc047630c76a4f8444067d0d5a0b09aef9ec8aa |
|
MD5 | 6c6445ea9410a68155159b7e3fba27ec |
|
BLAKE2b-256 | f72ebac8edc6e6c32ecbe3203d462ae32101be95c491fffcc61863ec908a8d05 |