Skip to content

Python bindings #29

@dilawar

Description

@dilawar

https://github.com/dilawar/nfsim/tree/python has primitive python bindings. One can build a python module that has high-level interface to the simulator.

[dilawars@chutki build (python)]$ python3 -c "import nfsim; print(dir(nfsim))"
['System', '__author__', '__builtins__', '__cached__', '__doc__', '__email__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_nfsim', 'initSystemFromFlags', 'printHelp', 'printLogo', 'runAgentCell', 'runFromArgs', 'runRNFscript']

One can use the python module to run the model directly.

$ python -m nfsim -xml /path/to/xml

If community is interested, we can take it forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions