Skip to main content

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

Project description

##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…

Project details


Release history Release notifications

This version
History Node

0.17.1

History Node

0.17.0

History Node

0.17.0rc1

History Node

0.16.0

History Node

0.16.0rc1

History Node

0.15.2

History Node

0.15.1

History Node

0.15.0

History Node

0.15.0c1

History Node

0.14.6

History Node

0.14.5

History Node

0.14.4

History Node

0.14.3

History Node

0.14.2

History Node

0.14.1

History Node

0.14.0

History Node

0.14.0c1

History Node

0.13.0

History Node

0.12.0

History Node

0.11.2

History Node

0.11.1

History Node

0.11

History Node

0.10.0

History Node

0.9.0

History Node

0.8.1

History Node

0.8.0

History Node

0.7.0

History Node

0.6.0

History Node

0.5.0

History Node

0.4.0

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyDatalog-0.17.1-cp27-none-win32.whl (208.1 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 24, 2016
pyDatalog-0.17.1-cp27-none-win_amd64.whl (229.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 24, 2016
pyDatalog-0.17.1-cp33-none-win32.whl (207.4 kB) Copy SHA256 hash SHA256 Wheel 3.3 Jan 24, 2016
pyDatalog-0.17.1-cp33-none-win_amd64.whl (219.4 kB) Copy SHA256 hash SHA256 Wheel 3.3 Jan 24, 2016
pyDatalog-0.17.1-cp34-none-win32.whl (207.2 kB) Copy SHA256 hash SHA256 Wheel 3.4 Jan 24, 2016
pyDatalog-0.17.1-cp34-none-win_amd64.whl (219.1 kB) Copy SHA256 hash SHA256 Wheel 3.4 Jan 24, 2016
pyDatalog-0.17.1-cp35-none-win32.whl (205.1 kB) Copy SHA256 hash SHA256 Wheel 3.5 Jan 24, 2016
pyDatalog-0.17.1-cp35-none-win_amd64.whl (222.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Jan 24, 2016
pyDatalog-0.17.1.zip (304.3 kB) Copy SHA256 hash SHA256 Source None Jan 24, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page