Convert base-10 ints to base-8.
Project description
octal8
Convert all base-10 integers to base-8.
installation
pip install octal8
Usage
usage: octal8 [-h] [filename ...]
positional arguments:
filename
options:
-h, --help show this help message and exit
The script will replace al base-10 integers with base-8 integers in the passed files.
As a pre-commit hook
See pre-commit for more information.
Sample .pre-commit-config.yaml
:
- repo: https://github.com/samueljsb/octal8
rev: "v1.2.1"
hooks:
- id: octal8
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
octal8-1.2.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for octal8-1.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33527ad8130b993baf3f3bf89fabe288ae83bf51e890f8439b62bf4ff5f1eb13 |
|
MD5 | 6d9774eff27af61ea78f249fbd7bf38c |
|
BLAKE2b-256 | c0b6c305ba9b41d2e0950690c939c6a936e5ba5a31ae97ae13e613cddc20a16b |