Agents Assembly Translator
Table of Contents
About
A target agnostic translator for Agents Assembly. The translator can be tested live on Agents Assembly website. It is a part of the Agents Assembly ecosystem. Other applications are:
- Local Interface - GUI for simulation definition, management, and analysis.
- Simulation Run Environment - environment for running scalable agent-based simulations.
- Communication Server - cluster of servers used for XMPP communication.
- Local Development Environment - simple environment for running agent-based simulations.
Agents Assembly
Documentation of Agents Assembly can be read here.
Getting Started
Prerequisites
Python 3.10
Installation
The translator package can be installed by running:
pip install aasm
Alternatively, you can download this repository. No additional dependencies are required.
Usage
You can run the translator as a package. To translate agent.aasm to SPADE, run:
python -m aasm.translate agent.aasm
For more usage information, run:
python -m aasm.translate --help
Structure
generatingcode.py- generated codepython_code.py- Python code base classpython_graph.py- Python graph code generation from the intermediate representationpython_spade.py- SPADE agent code generation from the intermediate representation
intermediateaction.pyagent.pyargument.py- arguments used in instructionsbehaviour.pyblock.py- block of code representationdeclaration.py- declarations used in actionsgraph.pyinstruction.py- instructions used in actionsmessage.py
parsingparse.py- parsing environment from Agents Assembly fileop/- Agents Assembly operationsstate.py- state definition used for the parsing process
preprocessorconstants.py- constants used in the preprocessormacro.py- macro definitions used in the preprocessorpreprocessor_item.py- preprocessor base itempreprocessor.py
utilsexception.pyvalidation.pyiteration.py
translate.py- entrypoint
Contributing
Please follow the contributing guide if you wish to contribute to the project.
Metadata
Release files for aasm 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aasm-0.1.9.tar.gz | 84.7 kB | Without provenance | Details for aasm-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aasm-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for aasm-0.1.9-py3-none-any.whl |
Total release size: 155.2 kB
Release files / aasm-0.1.9.tar.gz
| Download URL | aasm-0.1.9.tar.gz |
|---|---|
| Size | 84.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2c981c3f17600849b005f4f8d2dc2a2a94bce404233925643793aadc2f3026c
|
|
BLAKE2b-256 checksum How to use checksums |
14166d2063c640b216348e34a624402116e52ab336f2269a30c0669d4a136703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / aasm-0.1.9-py3-none-any.whl
| Download URL | aasm-0.1.9-py3-none-any.whl |
|---|---|
| Size | 70.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f59b74cdf1daedd816be821f62c652195e09172187664697bd698775dd977fbc
|
|
BLAKE2b-256 checksum How to use checksums |
71ca2617bf2493edfb70b0fcb6cca888c661e770dca21653df734a8b8ff66759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for aasm 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.