Skip to main content

A non-professional library created to provide value conversion functions in the number system.

Project description

A non-professional library created to provide value conversion functions in the number system.

This function will provide the conversions:

- Decimal to binary, octal or hexadecimal.
- Binary to decimal, octal or hexadecimal.
- Octal to decimal, binary or hexadecimal.
- And in the future, hexadecimal to decimal, binary or octal.

To install:

  • In your cmd (Windows) - pip install numeration_system
  • In terminal (Linux) - pip3 install numeration_system

Example of use:

To convert 256 in binary:

from numeration_system import *

number = 256

binary = decimal_to_binary(number)

print(binary)  # Output: 100000000

If you want to see step-by-step conversion process:

from numeration_system import *

number = 256

binary = decimal_to_binary(number, step_by_step=True)

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

numeration_system-0.2.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

numeration_system-0.2.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file numeration_system-0.2.6.tar.gz.

File metadata

  • Download URL: numeration_system-0.2.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for numeration_system-0.2.6.tar.gz
Algorithm Hash digest
SHA256 be2e319f773ac88cd853098bec167d419c4c942410c01987a0d626cc6e724e3c
MD5 2aa3e972aab6894332ac2a0a594708af
BLAKE2b-256 e4a9d146f1f248c3d93b78972912a89cb664bf0cd98e1b978b9a92a9c2347ab0

See more details on using hashes here.

File details

Details for the file numeration_system-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for numeration_system-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 658383a723a4c8571a35a79f8e716eda90e4e906b487d55b2de4e85754297f6d
MD5 7d2112fc0d67a486e54909394f255389
BLAKE2b-256 212b79fc0ee06038148f7a71b4dad3f7fb134eb0bf676f60997d6f2fc616d42c

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