PyKE

Python knowledge engine and automatic Python program generator
Download

PyKE Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Bruce Frederiksen
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 1.8 MB

PyKE Tags


PyKE Description

Python knowledge engine and automatic Python program generator Both forward-chaining and backward-chaining rules (which may include python code) are compiled into python. Can also automatically assemble python programs out of python functions which are attached to backward-chaining rules.Pyke introduces a form of Logic Programming (inspired by Prolog) to the Python community by providing a knowledge-based inference engine (expert system) written in 100% Python.Unlike Prolog, Pyke integrates with Python allowing you to invoke Pyke from Python and intermingle Python statements and expressions within your expert system rules.Pyke was developed to significantly raise the bar on code reuse. To be able to do this, it had to provide a way to take Python code and to radically customize it for a specific purpose or use case.Doing this essentially makes Pyke a very high-level "compiler". And taking this approach also produces dramatic increases in performance.And Pyke is very successful at this, providing order of magnitude improvements in:· Code adaptability (or customization),· Code reuse and· PerformancePyke does not replace Python, nor is meant to compete with Python. Python is an excellent general purpose programming language, that allows you to "program in the small".Pyke builds upon Python by also giving you tools to directly program in the large.Oh, and Pyke uses Logic Programming to do all of this. So if you're interested in Logic Programming or Expert Systems, well Pyke has that too... What's New in This Release: · The release packaging and installation have been redone. There is now only one source package. This includes the HTML documentation and examples. Use the standard "python setup.py install" to install it. · There is now a separate Pyke source zip file for Python 3. FEATURE ENHANCEMENTS: · Changed the release files from tarball to zip format to make it easier for Windows users.Eliminated the separate tarballs for the HTML documentation and examples. These are now included in the source zip file.Eliminated the dependency on easy_install (setuptools) for installation. You can still use easy_install, but I no longer release separate egg files. Use the source zip file instead.Added a separate source zip file for the version of Pyke that runs on Python 3.Changed the unit test harness to use doctest-tools (see http://code.google.com/p/doctest-tools/). Now the top-level test script is called "testpyke" (was "testall").Combined RELEASE_NOTES for separate releases into one file. (Was separate files for each release).Added a .txt suffix to all README files.Renamed "copyright_license" to "LICENSE".Added "About Pyke" -> "Modifying Pyke" page to HTML documentation.Added a separate compiler_version to avoid unnecessarily recompiling the knowledge bases (.krb, .kfb, .kqb files) when a new Pyke release is installed with no compiler changes in that release. BUGS FIXED: The following bugs have been fixed: · Fixed bug #2881969: "copyright_license" missing from 1.0.3 tarball


PyKE Related Software