Skip to main content

A pretty logic library

Project description

Pretty Logic

Are you tired of your multi-lineor statements locking 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.0.tar.gz (1.4 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.0-py2-none-any.whl (1.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pretty-logic-1.0.0.tar.gz
  • Upload date:
  • Size: 1.4 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.0.tar.gz
Algorithm Hash digest
SHA256 1af7191b0562b8788b67889c47373e547283548dddedf82520991909772256a0
MD5 ac4b2650721f54d735b7c1564fac1052
BLAKE2b-256 1a55d36a181c774d4cb8e0f1d00c04e2b8b3480c117787c2a248c3b9a850fb6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pretty_logic-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 1.9 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.0-py2-none-any.whl
Algorithm Hash digest
SHA256 2cf78702a9b064ddf3bf356741ffafc96b4457bde9380bd950e6b01a45b6a3b6
MD5 1c6fc160b5965303f8d41474d1141f23
BLAKE2b-256 03e6b4012cf7ee0af54af9f63355ee395d866a5929a738d42eb3ef1daec1e0d6

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