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.1.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.1.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for octal8-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94437683533517c510b767834151b7bc71e7e983b3ae4d7d660ea65cbb134d0 |
|
MD5 | f1647a5d20754d1a51d40fd824321eb7 |
|
BLAKE2b-256 | 0423f1e025c41eda8dba37c480c3558ed4b4dc8304eb1c437cb39d475ee9a78a |