Interact with SourceMod plug-ins
Project description
pysmx
pysmx is a Python package for parsing, executing, and simulating the environment of SourceMod plug-ins.
Quickstart
from smx.compile import compile
plugin = compile('''
public TwoPlusTwo() {
return 2 + 2;
}
''')
print plugin.runtime.call_function_by_name('TwoPlusTwo')
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
pysmx-0.0.3.tar.gz
(613.2 kB
view hashes)
Built Distribution
pysmx-0.0.3-py3-none-any.whl
(682.6 kB
view hashes)