Skip to main content

A pretty logic library

Project description

Pretty Logic

Are you tired of your multi-line or statements looking ugly? Would you rather use commas between your booleans? This is the package for you.

It's very simple!

And

from pretty_logic import _and

if _and(True, False, True, True):
    print("This is false")
else:
    print("This is true")

Or

from pretty_logic import _or

if _or(True, False, True, True):
    print("This is true")
else:
    print("This is false")

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

pretty-logic-1.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

pretty_logic-1.0.1-py2-none-any.whl (2.7 kB view details)

Uploaded Python 2

File details

Details for the file pretty-logic-1.0.1.tar.gz.

File metadata

  • Download URL: pretty-logic-1.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for pretty-logic-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ce6c48bfe3ebd44137e3f98f36631982d0f1d65604c89da28cabf36461f1347a
MD5 9a77b7a647eeb8470c43b06fefcf2fd5
BLAKE2b-256 51fb774bd42f154cf939c14d0827db9c3fe6760e4fb84c08e54f831051460d30

See more details on using hashes here.

File details

Details for the file pretty_logic-1.0.1-py2-none-any.whl.

File metadata

  • Download URL: pretty_logic-1.0.1-py2-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for pretty_logic-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5cbe4dd9379512e79de659b618322c44ae90393b5a6d2d3de828543da0c63c17
MD5 0c70fe1458a9b894bdc24c57b9001801
BLAKE2b-256 3915e9bae3b7e26028bb4387fe4134a3ef91f28fc78888a397aa70b2b0ad2786

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