Knowledgecore

Latest version: v2.8.10

Safety actively analyzes 702161 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

2.6.0

------------------

Major changes:

* [api] pythonic API over ROS
To use:

from knowledge_core.api import KB
kb = KB()

then:

kb += "ari rdf:type Human"
kb -= "ari rdf:type Human"
if "ari rdf:type Human":
print("come one, ARI is not a human!")
def on_robot(evt):
print("new robots! %s" % evt)
kb.subscribe("* rdf:type Robot", on_robot)
kb += ["tiago rdf:type Robot", "ari rdf:type Robot"]

...and more
* support events via ROS service + topics
One subscribe to an event via the /kb/events [Event.srv] service.
The service returns an event id corresponding to a topic (eg
/kb/events/evt_1234) that the client can subscribe to to be notified
when the event triggers.
/examples/kb_events_ros.py provides an example.
* [api] add support for the 'lookup' API
* [api] add support for the 'about' API

Other changes:

* [api] fix inconsistency in return type of 'find'
* [doc] briefly document ROS support
* set the asyncore loop timeout to 20ms for much more responsive events

* Contributors: Séverin Lemaignan

2.5.4

------------------
* add missing dep on message_runtime
* move ROS back to own file + add support for adding/removing facts via topics
* [api] add now an alias for update
* Contributors: Séverin Lemaignan

2.5.3

------------------
* remove ontologies from this repo
Ontologies are stored in an independent repo (oro)
* minor maintainance (doc, copyright...)
* Contributors: Séverin Lemaignan

2.5.2

------------------
* add back missing files following project renaming
* Contributors: Séverin Lemaignan

2.5.1

------------------
* provide better feedback when running outside of ROS
* more minimalkb->KnowledgeCore
* Contributors: Séverin Lemaignan

2.5.0

------------------
* rename project to KnowledgeCore
* setup.py: install bin so that the project remains usable via pip
* Contributors: Séverin Lemaignan

Page 3 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.