Catalog PyPI
PACKAGE EXPLORERView in registry

aima

PyPI

Artificial Intelligence a Modern Approach 4th Ed by Peter Norvig and Stuart Russel

aagentagiaiaimaapproachartificialassistantchatbotgraphintelligencelanguagelearningmachinemodernnatural
All keywords (21)
nlpprocessingsearchtextvirtual
Versions collected1
Direct dependencies17From release 2024.9.28
Last observed21 Oct, 11:13 UTC

README

Version 2024.9.28 documentation

Introduction

Code for Artificial Intelligence: A Modern Approach (AIMA) 4th edition by Peter Norvig and Stuart Russel.

Shameless reuse of Norvig's official repository at https://github.com/aimacode/aima-python/

The code should work in Python 3.9 and Python 3.10. Not yet tested with Python 3.11, 3.12, or 3.13.

Browse

You can get some use out of the code here just by browsing, starting at the root of the source tree or by clicking on the links in the index on the project home page. The source code is in the .py files; the .txt files give examples of how to use the code.

Installation

Linux

git clone git@gitlab.com:tangibleai/inactive/aima
cd aima
python3.10 -m venv .venv
source .venv/bin/activate 
pip install -e .

Mac

  1. install XCode
  2. use Linux instructions above

Windows

  1. install git-bash or WSL
  2. use Linux instruction above

Testing

In the aima/ directory, execute the command

python doctests.py -v *.py

Run the Code

You're on your own -- experiment! Read the book, create a new python file, import the modules you need, and call the functions you want!

Acknowledgements

Norvig and the aima-python contibutors: Many thanks for the bug reports, corrected code, and other support from Phil Ruggera, Peng Shao, Amit Patil, Ted Nienstedt, Jim Martin, Ben Catanzariti, and others.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2024.9.2828 Sept 202417

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

MOVED
tangibleai/community/aima

Shared repository data · GitLab

Repository moved · manual review pending

HTTP 301 · detected 21 Oct 2026

Reported destination
License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:72cb7bc9a5c18cde068fe011d27f6fe1ea8b4cf14498991a23ad73dc893d6890