PyNARS
Description
Python implementation of NARS (Non-Axiomatic-Reasoning-System)
Reference:
- OpenNARS 3.0.4,
- The Design Report of OpenNARS 3.1.0
Environments
- Python version: 3.7.10.
- Only tested under this version, however, Python 3.7 and higher versions maybe acceptable.
- OS: Windows 10.
- Only tested under this OS, however, other OSs might be ok.
- Packages Requirements: see
requirements.txt.- It is noted that the version of the python package
tqdmshould be no higher than 3.1.4, otherwise the color display would be abnormal. This is because of a bug oftqdm, which leads to conflicts betweenstyandtqdmand cause unexpected color display ofsty. However, this constraints is not necessary, i.e., higher version oftqdmis ok if you don't mind abnormal display occuring. The abnormal case only occurs if you first run PyNARS when SparseLUT (Sparse Look-Up Table) is built.
- It is noted that the version of the python package
Installation
pip install pynars
Instructions
- Copy the file
pynars/config.jsonto your workspace-directory. (Optional) - In the workspace-directory, run cmd
python -m pynars.Console. To execute an*.nalfile, run cmdpython -m pynars.Console <your-file-name.nal> - Input Narsese in the console, input an positive integer to run a number of cycles, or input a comment which is a string with
'as the beginning, e.g.' your comment. - Press
ctrl+Cto exit.
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Note: This document will be imporved in the future.
Metadata
Release files for pynars 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pynars-0.0.2.tar.gz | 254.8 kB | Without provenance | Details |
Release files / pynars-0.0.2.tar.gz
| Download URL | pynars-0.0.2.tar.gz |
|---|---|
| Size | 254.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e49c59fa6b2143960685845539dda21d65ce1ce1c40fa59e2e886bc0893420f
|
|
BLAKE2b-256 checksum How to use checksums |
e8bd869cc11a85d9d9ae56a5cd7438cfd0bc5e529daeda61460d7a04dddfaa63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10
|
Security for pynars 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.