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: "1.0.0"
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.0.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for octal8-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7736bec6e254482ca02c5c9d170838a3b29f353a61cb2565f3c550d1bd97964b |
|
MD5 | c6ac8d75cf4946cf88593d8bacbb0176 |
|
BLAKE2b-256 | 92720bb593fda1b648f4f9e9e6499f73eab163d60d78d15e4f10b5a1842a283b |