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.14.2.zip (79.6 kB view details)

Uploaded Source

File details

Details for the file pyDatalog-0.14.2.zip.

File metadata

  • Download URL: pyDatalog-0.14.2.zip
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyDatalog-0.14.2.zip
Algorithm Hash digest
SHA256 cd22cb01ceaaac7a48957df86b3b89b7561470285163f80e8fe6522723477678
MD5 783885305b128195f4c336bc4cb1bf54
BLAKE2b-256 85e8e7e4a22cb66875080d8a8d2f9d517ca7d918033f451040332c8e8fe8c595

See more details on using hashes here.

Supported by

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