# Python ACT-R (fork)
A Python implementation of the ACT-R cognitive architecture developed at the Carleton Cognitive Modelling (CCM) Lab.
The original pip package is called [python_actr](https://pypi.org/project/python-actr/).
## Fork
This fork of [python_actr](https://github.com/CarletonCognitiveModelingLab/python_actr) by Andy Maloney is not affiliated with the CCM lab.
I created it because the main repository isn't being updated and I need a stable, running version via pip for my [gactar](https://github.com/asmaloney/gactar) project.
Changes are noted in the [CHANGELOG](https://github.com/asmaloney/python_actr/blob/main/CHANGELOG.md).
The pip package for this fork is named [actr](https://pypi.org/project/actr/).
## Compatibility
Although this pip package is named `actr`, it still uses `python_actr` as its package name.
This keeps this pip package compatible with the official `python_actr` one, however **_you should only have one of them installed at a time_**. As far as I can tell, there's no way to enforce this using pip, so if the `python_actr` package is already installed, run:
```bash
pip uninstall python_actr
```
## Install
(Before installing, please see note above about compatibility with the `python_actr` package.)
```bash
pip3 install actr
```
## Use
When writing code, you use it the same way you use the `python_actr` package:
```python
from python_actr import *
```
To run a file, make sure the package is installed with pip (see above), then you can just run it like this:
```bash
python3 tutorials/hello_world.py
```
## Run Tests
```bash
make test
```
I know there are a bunch of failures - these exist in `python_actr` as well & I am not planning to investigate at this time...
Raw data
{
"_id": null,
"home_page": "https://github.com/asmaloney/python_actr",
"name": "actr",
"maintainer": "Andy Maloney (fork)",
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": "",
"keywords": "ACT-R,cognitive architecture,cognitive modelling,cognitive science,CogSci",
"author": "Carleton Cognitive Modelling Lab",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/6b/5c/d5d1fe1a38dbb2863e4de163db928ca4ba19c6d4194774c4de8684048fe1/actr-1.0.0.tar.gz",
"platform": null,
"description": "# Python ACT-R (fork)\n\nA Python implementation of the ACT-R cognitive architecture developed at the Carleton Cognitive Modelling (CCM) Lab.\n\nThe original pip package is called [python_actr](https://pypi.org/project/python-actr/).\n\n## Fork\n\nThis fork of [python_actr](https://github.com/CarletonCognitiveModelingLab/python_actr) by Andy Maloney is not affiliated with the CCM lab.\n\nI created it because the main repository isn't being updated and I need a stable, running version via pip for my [gactar](https://github.com/asmaloney/gactar) project.\n\nChanges are noted in the [CHANGELOG](https://github.com/asmaloney/python_actr/blob/main/CHANGELOG.md).\n\nThe pip package for this fork is named [actr](https://pypi.org/project/actr/).\n\n## Compatibility\n\nAlthough this pip package is named `actr`, it still uses `python_actr` as its package name.\n\nThis keeps this pip package compatible with the official `python_actr` one, however **_you should only have one of them installed at a time_**. As far as I can tell, there's no way to enforce this using pip, so if the `python_actr` package is already installed, run:\n\n```bash\npip uninstall python_actr\n```\n\n## Install\n\n(Before installing, please see note above about compatibility with the `python_actr` package.)\n\n```bash\npip3 install actr\n```\n\n## Use\n\nWhen writing code, you use it the same way you use the `python_actr` package:\n\n```python\nfrom python_actr import *\n```\n\nTo run a file, make sure the package is installed with pip (see above), then you can just run it like this:\n\n```bash\npython3 tutorials/hello_world.py\n```\n\n## Run Tests\n\n```bash\nmake test\n```\n\nI know there are a bunch of failures - these exist in `python_actr` as well & I am not planning to investigate at this time...\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python implementation of the ACT-R cognitive architecture",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/asmaloney/python_actr"
},
"split_keywords": [
"act-r",
"cognitive architecture",
"cognitive modelling",
"cognitive science",
"cogsci"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bcec9f4f99ce7924c70f03152c7faa167a139b42cfae15caa3c46e2a9188ccb9",
"md5": "6397573b3631ad7e76ba3c20c76d6ade",
"sha256": "1675f9664bacc53ad6157422f8e7e897c5bc62adda40c8b82b520c55f5874af1"
},
"downloads": -1,
"filename": "actr-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6397573b3631ad7e76ba3c20c76d6ade",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 31361,
"upload_time": "2023-08-10T19:12:09",
"upload_time_iso_8601": "2023-08-10T19:12:09.667014Z",
"url": "https://files.pythonhosted.org/packages/bc/ec/9f4f99ce7924c70f03152c7faa167a139b42cfae15caa3c46e2a9188ccb9/actr-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6b5cd5d1fe1a38dbb2863e4de163db928ca4ba19c6d4194774c4de8684048fe1",
"md5": "0bb2d466060cc1e922eae396f65db9d0",
"sha256": "f4d9263f9642d4bba187eeefb7b1b8855808ab59f19401618218f6f51190669e"
},
"downloads": -1,
"filename": "actr-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "0bb2d466060cc1e922eae396f65db9d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 28136,
"upload_time": "2023-08-10T19:12:11",
"upload_time_iso_8601": "2023-08-10T19:12:11.213382Z",
"url": "https://files.pythonhosted.org/packages/6b/5c/d5d1fe1a38dbb2863e4de163db928ca4ba19c6d4194774c4de8684048fe1/actr-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-10 19:12:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "asmaloney",
"github_project": "python_actr",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "actr"
}