Skip to main content

A simple collatz conjecture generator.

Project description

Simple Collatz

A simple python package for plotting the collatz conjecture. Warning: may be pointless

Development

To setup a dev environment:

  • Clone this repo
  • (Optional) setup a Python virtual environment
  • pip install -r requirements.txt

Installation and Usage

Installation

Simple Collatz can be installed by running pip install simple-collatz, or by installing from a wheel package, included in the latest release.

If you can't wait for the latest hotness and want to install from GitHub, use:

pip install git+git://github.com/appcreatorguy/collatz

Alternative Installation

For a python-free installation, the standalone binaries can be downloaded from the latest release and run in the same way.

Usage

To get started:

simple_collatz

If this doesn't work, you can try running Simple Collatz as a script instead:

python -m simple_collatz

The program will then begin to iterate over the collatz conjecture. To stop and view your results at any time, raise a keyboard interrupt with Ctrl + C. The 2 graphs will then populate (this may take some time depending on the amount of iterations you have computed!) with the stopping time and the values of the collatz conjecture so far.

Change Log

See CHANGES.md

Changes

Updated Readme to be understandable

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

simple_collatz-1.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

simple_collatz-1.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_collatz-1.2.0.tar.gz.

File metadata

  • Download URL: simple_collatz-1.2.0.tar.gz
  • Upload date:
  • Size: 3.9 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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for simple_collatz-1.2.0.tar.gz
Algorithm Hash digest
SHA256 97562d070843b42a1c22a67df10a4bad32c7c35324e8bf2b65d4d66f12480a4f
MD5 9a3636c948a6aac266bfa8b5e9f8f138
BLAKE2b-256 4cdef615d28b6d144b0e44cad9d3991c7b151797b66fbaee8cde3bd854b4a374

See more details on using hashes here.

File details

Details for the file simple_collatz-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: simple_collatz-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for simple_collatz-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39f9cbba56b3c986551f84950dd07dd949ac02c7284f5ecb7d2aac8ab766f53b
MD5 d966d90172a19d1df06325bbf59c0b40
BLAKE2b-256 cd539b7882c574a579ff4b15ecaaeed3828e40a2a75505a2f2e8d411df2ae627

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