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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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