Skip to main content

Converts any base-10 integer into its corresponding alphabet form, and vice versa

Project description

num2alpha

Description

This Python script converts any base-10 integer into its "alphabetical number" counterpart. For example, 1 is a, 26 is z, and 28 is ab. This alphabetical number order is exactly what you find in the column name of most modern spreadsheet apps.

This script can also decode an alphabetical number and return its integer order in base-10. For instance, the spreadsheet column AXY is counted as the 1325-th column of the spreadsheed, and the string helloworld equals to 44580442473324.

Installation

num2alpha is available for download through Python Package Index (PyPI). Run the following command in your operating system via the terminal:

python -m pip install num2alpha

Usage

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

num2alpha-1.0.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

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

num2alpha-1.0.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file num2alpha-1.0.0.tar.gz.

File metadata

  • Download URL: num2alpha-1.0.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for num2alpha-1.0.0.tar.gz
Algorithm Hash digest
SHA256 22af8096359937c5018c3a3f7ee0779975d31b77b381faf4b9022f3e3a4378a3
MD5 e67a94c4eceebf4055c815aa42a6006a
BLAKE2b-256 4468648ea5152e04aa0e2050acda5f165fd2106bb050ee47752fc71afe98ff39

See more details on using hashes here.

File details

Details for the file num2alpha-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: num2alpha-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for num2alpha-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75b18efc2c295878aa2f5d8ba57e888f0cf55697c0410399b6d76873020ea991
MD5 31745dbe048bf0468efaaf484e0642e3
BLAKE2b-256 05b23808507a762fcf508e965486a611edb0d202a8480ffb62a6542de1a703cf

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