skip to navigation
skip to content

pyDatalog 0.17.1

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

##1. Description The main goal of pyDatalog is to introduce Datalog as a Domain Specific Language (DSL) inside Python syntax and programs.

###1.1 pyDatalog

pyDatalog adds the logic programming paradigm to Python’s toolbox, in a pythonic way. You can now run logic queries on databases or Python objects, and use logic clauses to define python classes. In particular, pyDatalog can be used as a query language:

  • it can perform multi-database queries (from memory datastore, 11 relational databases, and noSQL database with appropriate connectors)
  • it is more expressive than SQL, with a cleaner syntax;
  • it facilitates re-use of SQL code snippet (e.g. for frequent joins or formula);

###1.2 Datalog

#### Datalog = SQL + recursivity Datalog is a truly declarative language derived from Prolog, with strong academic foundations. It complements Python very well for:

  • managing complex sets of related information (e.g. in data integration or the semantic web).
  • simulating intelligent behavior (e.g. in games),
  • performing recursive algorithms (e.g. in network protocol, code and graph analysis, parsing)
  • solving discrete constraint problems.

#### Simple as Excel Datalog excels at accelerated development : Datalog programs are often shorter than their Python equivalent, and Datalog statements can be specified in any order, as simply as formula in a spreadsheet.

requirements, bugs…

 
File Type Py Version Uploaded on Size
pyDatalog-0.17.1-cp27-none-win32.whl (md5)
Win 32 bits
Python Wheel 2.7 2016-01-24 203KB
pyDatalog-0.17.1-cp27-none-win_amd64.whl (md5)
Win 64 bits
Python Wheel 2.7 2016-01-24 224KB
pyDatalog-0.17.1-cp33-none-win32.whl (md5)
Win 32 bits
Python Wheel 3.3 2016-01-24 202KB
pyDatalog-0.17.1-cp33-none-win_amd64.whl (md5)
Win 64 bits
Python Wheel 3.3 2016-01-24 214KB
pyDatalog-0.17.1-cp34-none-win32.whl (md5)
Win 32 bits
Python Wheel 3.4 2016-01-24 202KB
pyDatalog-0.17.1-cp34-none-win_amd64.whl (md5)
Win 64 bits
Python Wheel 3.4 2016-01-24 213KB
pyDatalog-0.17.1-cp35-none-win32.whl (md5)
Win 32 bits
Python Wheel 3.5 2016-01-24 200KB
pyDatalog-0.17.1-cp35-none-win_amd64.whl (md5)
Win 64 bits
Python Wheel 3.5 2016-01-24 217KB
pyDatalog-0.17.1.zip (md5) Source 2016-01-24 297KB
  • Downloads (All Versions):
  • 35 downloads in the last day
  • 1282 downloads in the last week
  • 9777 downloads in the last month