Skip to main content

A module for reading & writing numbers using the Conway-Wechsler naming system

Project description

ConWech

ConWech is a Python package for spelling really large numbers in english using a couple functions and some cleverly built tuples. For more information on the large number names and period naming conventions used by this module see the wikipedia page here.

Read more about the package contents and structure here.

Command-line Interface

ConWech also comes with an excruciatingly simple CLI. Run the help command after installing with pip for more insight.

$ pip install conwech
$ conwech --help

Developer's Note

This is really just a personal project I started for fun. When I first heard about this interesting property of the number four whilst mindlessly falling down the youtube rabbit hole, I was inspired to break from my nominal comatose daze and write something that could demonstrate such behavior with some simple guess-and-check fun in the terminal. However, for said fun and futility to ensue, one must first be able to spell whatever number one desires, and while there seem to be some pretty neat solutions out there already (numspell for example), I was far too lazy to read through them. I'd also wager they have limitations which would have left me unsatisfied. Besides, in my inevitable dive through wikipedia, I had become rather infatuated with large number names and the process of generating them algorithmically.

So here we are, both wasting our time spelling numbers so we can count letters and then spell more numbers... Eventually I wanted to try writing a "bonafide" python package, so that happened. Then I wanted to practice using click for CLI instead of argparse. I may never go back... EDIT: I went back... As clean as click is, I didn't enjoy typing -- just to spell negative numbers. Anyway, I digress. If you find any use for what's here, then that's awesome. Happy to help! However, I don't plan on maintaining this package in a traditional fashion (I have a bad habit of constantly renaming things), so... use at your own risk.

Godspeed,
Kc4T

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

conwech-2020.8.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

conwech-2020.8-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file conwech-2020.8.tar.gz.

File metadata

  • Download URL: conwech-2020.8.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for conwech-2020.8.tar.gz
Algorithm Hash digest
SHA256 b12038d971146c1f14bb335a248bae44723a2002a2759f4d0eebbb3f549b5c72
MD5 19fbfc64e23e4f77296e4e4cfda646a2
BLAKE2b-256 08c332f6168dbe727a150b763ddfb42a9df61e5bcc0d79c4f4d335453b2f8534

See more details on using hashes here.

File details

Details for the file conwech-2020.8-py3-none-any.whl.

File metadata

  • Download URL: conwech-2020.8-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for conwech-2020.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1ad13850035262053ac6eca859ab11f9b14750d40096fa41d183fdff9977897a
MD5 92bab68b4a53cb54eed89e36d87f5283
BLAKE2b-256 c36f0f0cdc8bbaa1a9315e776341cf34f1bce623768da320d2a7e70210cfe2aa

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