Giter Site home page Giter Site logo

armor_py_api's Introduction

ArmorPy

A python client library for ARMOR.

Allows users to easily call ARMOR service from Python code.

Full documentation at:

http://emarolab.github.io/armor_py_api/

Hides ROS service calls to ARMOR in utility functions whose structure is similar to that of OWL API. ARMOR is a powerful tool able to manage, query and modify multiple ontologies in a safe way. It also include several macros to perform complex manipulations on ARMOR references (manipulations that usually require more than a few line of codes in OWL APIs, such as replacing a specific data property value associated to an individual).

More functions are coming soon as their needed.

ArmorPy installs itself into the /devel/bin of your workspace as you run catkin_make install. It is then available to all your ROS Python packages.

To use it, import from 'armor_api':

from armor_api.armor_client import ArmorClient

If your IDE cannot find the ArmorPy sources when working on a different project, you have to add armor_py_api/scripts/armor_api as a source folder.

In PyCharm you can add a folder as a source in the menu:

Settings...-> Project: your_project_name-> Project Structure.

Note: if your workspace is corrrectly set, installing ArmorPy is enough to use it in your code and run it. Thus, even if your IDE cannot find your imports, your code will work (it should find an __init__.py file only). Adding sources will allow you to see ArmorPy code for quick reference, easier debugging and getting rid of annoying warnings.

armor_py_api's People

Contributors

alessiocpt avatar fedehub avatar buoncubi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.