Skip to main content

Integer Conversion Utility

Int is a simple command line utility for converting integers between bases. It accepts an integer in its [b]inary, [o]ctal, [d]ecimal, or he[x]adecimal form, then prints it out in all four bases:

$ int 64
hex: 40
dec: 64
oct: 100
bin: 01000000

You can specify the base of the input using a single letter prefix. (Defaults to decimal if omitted.) Int also accepts multiple arguments:

$ int b1001 o777 d256 x1EA

Leading zeros are ignored so integer literals in the form 0x123 are also accepted.

Metadata

Release files for int 3.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for int 3.2.0
File Size Uploaded Provenance
int-3.2.0.tar.gz 2.8 kB Without provenance Details

Release files / int-3.2.0.tar.gz

Download URL int-3.2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1f40b438802967bb2832b9127a91917f94541f8cb2d92bf8ccca772095f20013
BLAKE2b-256 checksum
How to use checksums
f1a816bdb00668f78519bf82ec9de1a433d2dff625640af731618a0f3258cd74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Security for int 3.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page