Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Python-based implementation of tuProlog -- the open ecosystem for symbolic AI --, based on 2P-Kt
Experimental porting of 2P-Kt on Python, via JPype.
This is a work in progress. 2PPy is not ready for general availability, yet.
Object-oriented and modular ecosystem for symbolic AI and logic programming, currently featuring:
a module for logic terms and clauses representation, namely tuprolog.core
,
a module for logic unification, namely tuprolog.unify
,
a module for in-memory indexing and storing logic theories, as well as other sorts of collections of logic clauses, namely tuprolog.theory
,
a module providing generic API for resolution of logic queries, namely tuprolog.solve
, currently implementing a Prolog solver
two parsing modules: one aimed at parsing terms, namely tuprolog.core.parsing
, and the other aimed at parsing theories, namely tuprolog.theory.parsing
,
two serialisation-related modules: one aimed at (de)serialising terms and clauses, namely tuprolog.core.serialize
, and the
other aimed at (de)serialising terms theories, namely tuprolog.theory.serialize
,
a module for using Prolog via a command-line interface, namely tuprolog.repl
.
Install Python 3 (look into the .python-version
to know the exact version)
Install Java (JDK preferred), and ensure the JAVA_HOME
variable is correctly set
Ensure Java and Python are both either 64bit or 32bit
If you have installed some prior development version of 2PPy (e.g. tuppy
or tuprolog
), uninstall them via
pip uninstall tuppy tuprolog
On Mac OS this may not work as expected. Consider running the following command instead:
python3 -m pip uninstall tuppy tuprolog
Restore Python dependencies via PIP, by running:
pip install -r requirements.txt
On Mac OS this may not work as expected. Consider running the following command instead:
python3 -m pip -r requirements.txt
Restore JVM dependencies via download-jars.sh
, by running:
./download-jars.sh
Notice that this command requires curl
and wget
to be installed on your system (wget
may be lacking on Mac OS and Windows)
Install 2PPy from Pypi by running:
pip install 2ppy
On Mac OS this may not work as expected. Consider running the following command instead:
python3 -m pip install 2ppy
Import tuprolog.*
modules in your Python scripts
Profit
Install 2PPy from Pypi by running:
pip install 2ppy
On Mac OS this may not work as expected. Consider running the following command instead:
python3 -m pip install 2ppy
Run tuprolog
module via
python -m tuprolog
For the moment, running 2PPy means starting an interactive Python shell with pre-loaded tuprolog.*
modules.
Eventually python -m tuprolog
will launch a command-line logic solver.
FAQs
Python-based implementation of tuProlog -- the open ecosystem for symbolic AI --, based on 2P-Kt
We found that 2ppy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.