Skip to main content

A pure-python implementation of Datalog, a truly declarative language derived from Prolog.

Project description

pyDatalog adds the logic Programming paradigm to Python’s toolbox, in a pythonic way.

Logic programmers can now use the extensive standard library of Python, and Python programmers can now express complex algorithms simply.

Datalog is a truly declarative language derived from Prolog, with strong academic foundations. Datalog excels at managing complexity. Datalog programs are shorter than their Python equivalent, and Datalog statements can be specified in any order, as simply as formula in a spreadsheet.

In particular, Datalog can be used for:

  • simulating intelligent behavior (e.g. in games or expert systems),

  • performing recursive algorithms (e.g. in network protocol, code and graph analysis),

  • managing complex sets of related information (e.g. in data integration or the semantic web),

  • solving discrete constraint problems.

“Datalog is to Python what Python was to C, and what C was to Assembly.”

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyDatalog-0.16.0.zip (295.3 kB view hashes)

Uploaded Source

Built Distributions

pyDatalog-0.16.0-cp34-none-win_amd64.whl (213.9 kB view hashes)

Uploaded CPython 3.4 Windows x86-64

pyDatalog-0.16.0-cp34-none-win32.whl (203.2 kB view hashes)

Uploaded CPython 3.4 Windows x86

pyDatalog-0.16.0-cp33-none-win_amd64.whl (214.2 kB view hashes)

Uploaded CPython 3.3 Windows x86-64

pyDatalog-0.16.0-cp33-none-win32.whl (203.4 kB view hashes)

Uploaded CPython 3.3 Windows x86

pyDatalog-0.16.0-cp27-none-win_amd64.whl (224.1 kB view hashes)

Uploaded CPython 2.7 Windows x86-64

pyDatalog-0.16.0-cp27-none-win32.whl (204.3 kB view hashes)

Uploaded CPython 2.7 Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page