{"id":13593056,"url":"https://github.com/paulovn/python-aiml","last_synced_at":"2026-01-14T08:43:54.991Z","repository":{"id":44962210,"uuid":"70419600","full_name":"paulovn/python-aiml","owner":"paulovn","description":"An interpreter module for AIML (Artificial Intelligence Markup Language), implemented in pure Python","archived":false,"fork":true,"pushed_at":"2023-05-02T01:48:59.000Z","size":2903,"stargazers_count":128,"open_issues_count":1,"forks_count":56,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-09-07T10:26:10.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"weddige/pyaiml3","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulovn.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-09T17:37:39.000Z","updated_at":"2024-09-13T02:43:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/paulovn/python-aiml","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/paulovn/python-aiml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovn%2Fpython-aiml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovn%2Fpython-aiml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovn%2Fpython-aiml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovn%2Fpython-aiml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulovn","download_url":"https://codeload.github.com/paulovn/python-aiml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulovn%2Fpython-aiml/sbom","scorecard":{"id":723489,"data":{"date":"2025-08-11","repo":{"name":"github.com/paulovn/python-aiml","commit":"21c77d5e204dfdbaef315e570fdd918b852c738b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 3/13 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: COPYING.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T12:05:58.790Z","repository_id":44962210,"created_at":"2025-08-22T12:05:58.790Z","updated_at":"2025-08-22T12:05:58.790Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:16.145Z","updated_at":"2026-01-14T08:43:54.969Z","avatar_url":"https://github.com/paulovn.png","language":"Python","readme":"python-aiml\n***********\n\nThis is a fork of the `PyAIML`_ Python AIML interpreter. It has been\nrefactored to make it install and work in both Python 2.7 and Python 3.\n\nPyAIML is (c) Cort Stratton. *python-aiml* uses the same license as PyAIML \n(2-clause BSD), except for the ALICE AIML files taken from the `Free ALICE AIML\nset`_, which are licensed with the `LGPL`_ license.\n\n\nScripts\n=======\n\nTwo small scripts are added upon installation:\n\n* ``aiml-validate`` can be used to validate AIML files\n* ``aiml-bot`` can be used to start a simple interactive session with a bot,\n  after loading either AIML files or a saved brain file.\n\n\nDatasets\n========\n\nThe installation includes two AIML datasets:\n\n* The *standard* AIML set, as it was included in PyAIML\n* The `Free ALICE AIML set`_ v. 1.9, taken from the data published by the\n  `ALICE AI Foundation`_ (with a few small fixes in files that did not \n  validate as `AIML 1.0.1`_)\n\nThey can be loaded via the ``bootstrap`` method in the ``Kernel`` class. See \nthe `bot.py`_ script for an example. Basically the bootstrap method performs\ntwo steps:\n\n* ``learn(\"startup.xml\")`` reads \u0026 parses that file, which contains a single\n  pattern \"LOAD ALICE\", whose action is ``\u003clearn\u003e*.aiml\u003c/learn\u003e``\n* then, ``respond(\"load alice\")`` executes that loaded pattern, which in turn\n  learns all the ``*.aiml`` files\n\nNote: given that ``\u003clearn\u003e*.aiml\u003c/learn\u003e`` tries to find all ``*.aiml`` files\nin the current directory (since it contains the filename as a base path) the\nPython process needs to have the AIML directory *as its current directory* for\nit to work. Otherwise it will not find any file and will silently fail.\nFor that reason, the ``bootstrap()`` method has an optional argument\n``chdir`` that makes the it change to that directory before performing any\nlearn or command execution (but after loadBrain processing). Upon returning\nthe current directory is moved back to where it was before.\n\n\n\n\n\nTests\n=====\n\nThere are a number of unit tests included (in the ``test`` subdirectory); they \ncan be executed by the setup infrastructure as::\n\n  python setup.py test\n\nor they can also be launched by directly calling::\n\n  python test [testname ...]\n\nThis last version allows executing only some of the test files by explicitly\nnaming them in the command line (use the filename without the ``test_`` prefix\nand the ``.py`` suffix); if none is specified all will be executed.\n\n\n\n.. _PyAIML: https://github.com/cdwfs/pyaiml\n.. _Free ALICE AIML set: https://code.google.com/archive/p/aiml-en-us-foundation-alice/\n.. _LGPL: http://www.gnu.org/licenses/lgpl.html\n.. _ALICE AI Foundation: http://alice.pandorabots.com/\n.. _bot.py: aiml/script/bot.py\n.. _AIML 1.0.1: http://www.alicebot.org/TR/2011/\n\n------------------------------------------------------------------------------\n\n\nOriginal README from PyAIML\n===========================\n\n\nPyAIML is an interpreter for AIML (the Artificial Intelligence Markup\nLanguage), implemented entirely in standard Python.  It strives for\nsimple, austere, 100% compliance with the AIML 1.0.1 standard, no less\nand no more.\n\nThis is currently pre-alpha software.  Use at your own risk!\n\nFor information on what's new in this version, see the ``CHANGES.txt`` file.\n\nFor information on the state of development, including the current level of \nAIML 1.0.1 compliance, see the ``SUPPORTED_TAGS.txt`` file.\n\nQuick \u0026 dirty example (assuming you've downloaded the \"standard\" AIML set)::\n\n\timport aiml\n\n\t# The Kernel object is the public interface to\n\t# the AIML interpreter.\n\tk = aiml.Kernel()\n\n\t# Use the 'learn' method to load the contents\n\t# of an AIML file into the Kernel.\n\tk.learn(\"std-startup.xml\")\n\n\t# Use the 'respond' method to compute the response\n\t# to a user's input string.  respond() returns\n\t# the interpreter's response, which in this case\n\t# we ignore.\n\tk.respond(\"load aiml b\")\n\n\t# Loop forever, reading user input from the command\n\t# line and printing responses.\n\twhile True: print k.respond(raw_input(\"\u003e \"))\n\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulovn%2Fpython-aiml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulovn%2Fpython-aiml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulovn%2Fpython-aiml/lists"}