Skip to main content

Build truthtables with your command line

Project description

Propose

Build truthtables with your command line.

capture

Operands

F <-> G | biconditional
F -> G  | implication
F xor G | exclusive or
F + G   | or
F * G   | and
!F      | not

Installation

Install Propose with PIP

$ pip3 install propose

Usage

Pass an inline formula:

$ propose "a * b"

Pass a file instead:

$ propose --file formula.propose

To get a list of all available commands and options:

$ propose --help

Development

  1. Clone this repository

    $ git clone git@github.com:jonhue/propose.git
    
  2. Install Propose with Pip. You may want to use a virtualenv

    $ make setup
    

Rebuild & reinstall Propose:

$ make reload

Run tests:

$ make spec

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

propose-0.1.0a0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

propose-0.1.0a0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file propose-0.1.0a0.tar.gz.

File metadata

  • Download URL: propose-0.1.0a0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for propose-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 3631a31546c49e8578e7275896ba5e691ddc98a3b920a7519626d5e91c60e997
MD5 316e77cbf4b2fa7b3bf142eb84712d55
BLAKE2b-256 0ff07d0721823d59e6df44f035adfc2ca8bcfe21b726c627fc74c51c12e9cd83

See more details on using hashes here.

File details

Details for the file propose-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: propose-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for propose-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f7de1c985f7a767e400a204956e4e8a31f0b10538010f76df7717f38a0a0ef9
MD5 9126bcc49f9035e9e7b8ca48e6467b37
BLAKE2b-256 2ee004f5ff1e68b6ff9380300d52056dbc0548c7efad60c653af11bb05986b86

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page