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


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.17.0.zip (304.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyDatalog-0.17.0-cp35-none-win_amd64.whl (222.8 kB view details)

Uploaded CPython 3.5Windows x86-64

pyDatalog-0.17.0-cp35-none-win32.whl (205.1 kB view details)

Uploaded CPython 3.5Windows x86

pyDatalog-0.17.0-cp34-none-win_amd64.whl (219.0 kB view details)

Uploaded CPython 3.4Windows x86-64

pyDatalog-0.17.0-cp34-none-win32.whl (207.1 kB view details)

Uploaded CPython 3.4Windows x86

pyDatalog-0.17.0-cp33-none-win_amd64.whl (219.4 kB view details)

Uploaded CPython 3.3Windows x86-64

pyDatalog-0.17.0-cp33-none-win32.whl (207.4 kB view details)

Uploaded CPython 3.3Windows x86

pyDatalog-0.17.0-cp27-none-win32.whl (208.0 kB view details)

Uploaded CPython 2.7Windows x86

File details

Details for the file pyDatalog-0.17.0.zip.

File metadata

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

File hashes

Hashes for pyDatalog-0.17.0.zip
Algorithm Hash digest
SHA256 74d4c1ffa97177ca57db120c3b5e7c29ed064bec71b087f52079ef6f6a42eaa4
MD5 584fd9b9d2d899a39201152dd2081994
BLAKE2b-256 bf55fd253f4d90245d5b331d93183dd9e3737a2447ba6db0a86744040c9d96b5

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 cc2170f17ef20c21c8eb0d6852517e6fa9db7ccf04a069eea3fb8d2546703901
MD5 2925977c4b5d325cb79b6e6bd41a6731
BLAKE2b-256 fd63271709abbda0cb26cdafe1c55cdf2bb9ad445acad08f3f90026ad0716063

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp35-none-win32.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp35-none-win32.whl
Algorithm Hash digest
SHA256 6909ce313fccd6c649d51de6d2b82de459de6b6a2eb113baa0ce669b4a8bf5b8
MD5 14137e89496805b4611f52c3f0825e66
BLAKE2b-256 71732f93a4fc569b9905bb7084b98fae27c1ef79aea5cd449b7093a15e5fc76f

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 d2de9e2121f58969b3fe7c8d09d0e3b8e8a64fd64f4b7f6474bd069d910a9ffa
MD5 d72c016e108ec2ba9965ddcdec457b76
BLAKE2b-256 c2957602d4b915afe867d1ccaf24fb3ec85c14d9cf3e0f3da9fce4f511de667e

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp34-none-win32.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp34-none-win32.whl
Algorithm Hash digest
SHA256 b0ef6b84b4c90fd2103dd2ff4ec3d746168c187136ceb230fc817c13734a1189
MD5 5bcd499f582cc3dcca09d6dc0f0b5823
BLAKE2b-256 aeb6a0967cb69ccaa738322ee229c86ee969aa546a6d23eca8bbe5602b50e29b

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 a8f5eea2a9b7d87162e2ff56aefc27cd7e71790a24d7619dbff028f974b44ecf
MD5 cf55dd9f1b54635b109b6ea24cf5bedd
BLAKE2b-256 9c6aba651fd2493e4b75b22e16da9fcf35cef3aef38c9aaa3c548aedc5210fac

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp33-none-win32.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp33-none-win32.whl
Algorithm Hash digest
SHA256 9f85f44560534bf33091461165bf805f3c079d11ff32af4bf0756baf152f555a
MD5 fd998639b4a697d085e9468cea341341
BLAKE2b-256 7f566a4c2c4a84903a5fd6f6bb09f8aac64235211b45776d0034f5f41f89a04f

See more details on using hashes here.

File details

Details for the file pyDatalog-0.17.0-cp27-none-win32.whl.

File metadata

File hashes

Hashes for pyDatalog-0.17.0-cp27-none-win32.whl
Algorithm Hash digest
SHA256 0b2cf905ef7f821d3b39f1e3b51724b77f9ef6e827bc7dffe50c6315ecf29d05
MD5 9a8ce757cb139e78f3fac7e7e8f1a232
BLAKE2b-256 fb6cd8a2f0940e752b4619acaa3deb0348fab9de370bdd5cb70f982fbcf6fcd0

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