Skip to main content

Convert integers to obscure bases

Project description

Useless Utilities!

A collection of different bases such as ternary, quaternary, quinary and senary.

I do Plan to add more bases in the future.

Usage:

use the corresponding function to convert to the base you want. Such as:

ter(N) for ternary

quat(N) for quaternary

quin(N) for quinary

sen(N) for senary

Expected releases:

Septenary

A base-7 number system. Sep(N)

Octonary

A base-8 number system. Oct(N)

Nonary

A base-9 number system. Non(N)

Duodecimal

A base-12 number system. Duodec(N)

Changelog:

V1.0.0:

  • Initial release
  • Included ternary, quaternary, quinary and senary
  • Deleted due to inconsistancies

V1.0.1:

  • Fixed a bug with the senary function
  • Added a changelog
  • Fixed the inconsistancies in V1.0.0
  • Fixed email address

V1.0.2:

  • Renamed some variables to better fit the base

V1.1.0:

  • Added septenary
  • Added mathematical functionality such as: addition, subtraction, multiplication, division and modulus

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

uselessutilities-1.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

uselessutilities-1.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file uselessutilities-1.1.0.tar.gz.

File metadata

  • Download URL: uselessutilities-1.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for uselessutilities-1.1.0.tar.gz
Algorithm Hash digest
SHA256 61a42fdf93ad6cda88a49e5b4b9f837f733414de12c9098da154db97edeb5658
MD5 cc95698188c74e254da75e559cefc2e6
BLAKE2b-256 5c4c466339db7cd2db12a446aefc53c673b5a3c4cd6bb267b4cb4cc9fbc94970

See more details on using hashes here.

File details

Details for the file uselessutilities-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uselessutilities-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f517e9624cf536816376feba64fec7ea99080a94ab537d3e76b469a8b28c4b
MD5 ec6ac5f312b957e64b77b140eb9fee84
BLAKE2b-256 34c9734eeaf541b653b1d9e623fda076fa4c12d9caf00c6fa2e7053de0b1948d

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