Skip to main content

Python port of TheProofIsTrivial

Project description

TheProofIsTrivial

Python port of the javascript based website TheProofIsTrivial.

Installation

pip install theproofistrivial

Usage

Python Library

import theproofistrivial

quote = theproofistrivial.QuoteGenerator()
output = quote.create()

print(output)

The result is a list:

['The proof is trivial! Just biject it to a',
 'combinatorial',
 'field',
 'whose elements are',
 'associative',
 'linear transformations']

You can then process the list to make a single string or leave as is:

# Single line string
output = " ".join(output)

# Multi line string
output = "\n".join(output)

Command Line

theproofistrivial -h
usage: __main__.py [-h] [-o]

optional arguments:
  -h, --help     show this help message and exit
  -o, --oneline  show output as a single line
theproofistrivial
The proof is trivial! Just view the problem as a
computable
hypergraph
whose elements are
total
unbounded-fan-in circuits
theproofistrivial -o
The proof is trivial! Just biject it to an associative semigroup whose elements are perfect manifolds

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

theproofistrivial-0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

theproofistrivial-0.1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file theproofistrivial-0.1.2.tar.gz.

File metadata

  • Download URL: theproofistrivial-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for theproofistrivial-0.1.2.tar.gz
Algorithm Hash digest
SHA256 58958c636cc743276b4fda602002bf158592623a65a568b9e41d3dac3aac7eb0
MD5 14b70d0f4caeb92987cea9dc119c13b8
BLAKE2b-256 cf6715c2fbef908153f4a6bb43e1e1ce8fedcb2cfa8cdfac99546e8eb8e33cc7

See more details on using hashes here.

File details

Details for the file theproofistrivial-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: theproofistrivial-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for theproofistrivial-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93b0f22ae948c27514476c495d6a9aac84d78417130c71979a5a31278a996cdd
MD5 96aa09f273893da34e90afc928264f3d
BLAKE2b-256 04c8bf3256eda6acffe6eb0760f2af3412a512074fab419f66bef1accf1c7611

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