=======
Reference code for:
A General Model for Learning and Decision-Making in Artificial Animals by
Claes Strannegård, Nils Svangård, Jonas Colmsjö, David Lindström, Joscha Bach and Bas Steunebrink
Submitted to IJCAI-17 AGA workshop, Melbourne, Australia
This `dev` branch is work in progress and will contain a completely refactored
version of the original code.
Setup
=====
At least Python 3.5 is needed since `async` is used in `wsserver.py`. I'm using Python 3.6 here.
* First init `virtualenv` for Python3: `virtualenv -p python3.6 venv3` (`virutalenv` needs to be installed)
* Activate `virtualenv`: `source venv3/bin/activate`
* Install the necessary Python packages: `pip install -r requirements.txt`. Add `--no-compile` when running on ubuntu.
Run the program
==============
Examples using the ecosystem classes are available in the
repo [examples](https://github.com/animatai/examples)
A little setup is needed first:
* Activate `virtualenv`: `source venv3/bin/activate`
* Create `config.py`. Start with copying `config.py.template` and try some of
the examples from the repo mentioned above.
Start a web server and a browser:
* Run the server: `python wsserver.py`
* Run `index.html` in a browser and follow the instructions.
Development
===========
Use [Google Style Guide](https://google.github.io/styleguide/pyguide.html)
and make sure that the unit tests are maintained.
Build (lint and run unit tests) with: `./build.sh`
Building will also Create a source distribution in the `dist` folder.
Upload the build to the public package repo for installation with `pip`:
`twine upload dist/animats-X.Y.Z.tar.gz`
Credits
=======
Using some classes from the [AIMA book](https://github.com/aimacode/aima-python)
Metadata
Release files for animats 0.0.18
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 |
|---|---|---|---|---|
| animats-0.0.18.tar.gz | 438.5 kB | Without provenance | Details for animats-0.0.18.tar.gz |
Release files / animats-0.0.18.tar.gz
| Download URL | animats-0.0.18.tar.gz |
|---|---|
| Size | 438.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03df1e16ba0bc44fe90089cacc65fd2f3ee8ff88f1cfecc62c4292f80388d095
|
|
BLAKE2b-256 checksum How to use checksums |
d5fd46beae4b839d86d9382ac6dee82c9aec43e3e1a0af9eff801c601f679be4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for animats 0.0.18
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.