https://github.com/niklasf/python-agentspeak

A Python-based interpreter for the agent-oriented programming language JASON

https://github.com/niklasf/python-agentspeak

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 11 committers (18.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords

agent-based agent-based-modeling agentspeak interpreter python
Last synced: 6 months ago · JSON representation

Repository

A Python-based interpreter for the agent-oriented programming language JASON

Basic Info
  • Host: GitHub
  • Owner: niklasf
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 755 KB
Statistics
  • Stars: 53
  • Watchers: 14
  • Forks: 24
  • Open Issues: 9
  • Releases: 0
Topics
agent-based agent-based-modeling agentspeak interpreter python
Created over 9 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License Authors

README.rst

Jason-style AgentSpeak for Python
=================================
.. image:: https://img.shields.io/pypi/v/agentspeak.svg
    :target: https://pypi.python.org/pypi/agentspeak

.. image:: https://img.shields.io/pypi/pyversions/agentspeak.svg
    :target: https://pypi.python.org/pypi/agentspeak

.. image:: https://img.shields.io/pypi/l/agentspeak
    :target: https://opensource.org/licenses/gpl-3-0
    :alt: GPL 3 License

.. image:: https://pepy.tech/badge/agentspeak
    :target: https://pepy.tech/project/agentspeak
    :alt: Downloads

.. image:: https://img.shields.io/pypi/format/agentspeak.svg
    :target: https://pypi.python.org/pypi/agentspeak



A Python-based interpreter for the agent-oriented programming language JASON.

`python-agentspeak` is a Python-based interpreter for the agent-oriented programming language JASON. This library makes it easy to create and manage intelligent agents, offering syntax and functionalities similar to JASON in a Python environment.

Key Features
------------
* Jason-style AgentSpeak interpretation
* Easy integration with existing Python code
* Support for complex agent constructions

Setup
-----

.. code::

    pip install agentspeak

Requirements
------------
* Python 3.6 or higher
* Additional dependencies are automatically installed

Usage example
-------------

.. code::

    !hello_world.

    +!hello_world <-
      .print("Hello world!").

Usage
-----

Run a standalone agent program:

.. code::

    $ python -m agentspeak examples/hello_world.asl

Run an interactive console:

.. code::

    $ python -m agentspeak

See :code:`examples/embedded` for an example that interfaces with custom
Python code.

Jason compability
-----------------

python-agentspeak should be mostly equivalent to Jason_.

* Plan annotations are ignored as of yet.
* Standard library does not yet contain syntactic transformations with
  :code:`{begin ...}` and :code:`{end}`.
* Standard library does not yet contain introspective and plan-manipulation
  actions.
* Jason 2.0 fork join operators not yet supported.
* Literals are only comparable if they have the same signature.


.. _Jason: http://jason.sourceforge.net/

Owner

  • Name: Niklas Fiekas
  • Login: niklasf
  • Kind: user
  • Location: Germany

GitHub Events

Total
  • Issues event: 1
  • Watch event: 4
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 4
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 372
  • Total Committers: 11
  • Avg Commits per committer: 33.818
  • Development Distribution Score (DDS): 0.086
Past Year
  • Commits: 11
  • Committers: 3
  • Avg Commits per committer: 3.667
  • Development Distribution Score (DDS): 0.364
Top Committers
Name Email Commits
Niklas Fiekas n****s@b****e 340
jpalanca j****a@d****s 10
Philipp C p****4@t****e 6
Ximo j****p@d****s 3
jcarros j****s@i****s 3
Jonathan Pieper j****r@t****e 2
Jose Ferrús j****4@g****m 2
suyjuris s****s@g****m 2
Ximo 3****r 2
Jonathan j****r@s****e 1
lpmi-13 l****s@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 12
  • Total pull requests: 7
  • Average time to close issues: 10 months
  • Average time to close pull requests: 9 months
  • Total issue authors: 9
  • Total pull request authors: 6
  • Average comments per issue: 2.5
  • Average comments per pull request: 2.43
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ccarstens (3)
  • niklasf (2)
  • aindilis (1)
  • javipalanca (1)
  • DocThreeC (1)
  • Deadrosas (1)
  • ihcsof (1)
  • aronlaszlo (1)
  • Mrmichelerocha (1)
Pull Request Authors
  • javipalanca (2)
  • XimoTaverner (2)
  • bitshift14 (1)
  • ihcsof (1)
  • suyjuris (1)
  • lpmi-13 (1)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 148 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 5
  • Total versions: 4
  • Total maintainers: 2
pypi.org: agentspeak

JASON-style AgentSpeak for Python.

  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 5
  • Downloads: 148 Last month
Rankings
Dependent repos count: 6.7%
Dependent packages count: 7.3%
Forks count: 8.4%
Stargazers count: 10.2%
Average: 12.3%
Downloads: 28.7%
Maintainers (2)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • colorama *
  • enum34 *
setup.py pypi