Convert base-10 ints to base-8.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file octal8-1.2.1.tar.gz.
File metadata
- Download URL: octal8-1.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504d397b1ba80f8cf50f61dc02e24af5b712baaee96a32be251bd9d8ea585d85
|
|
| MD5 |
796cf5e92d1a794b9e0330758079983e
|
|
| BLAKE2b-256 |
7aaf5c5bcc1018ef179c451e84be6019f89b59dd6b3bcbbc8ed348c31fbc6c65
|
File details
Details for the file octal8-1.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: octal8-1.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33527ad8130b993baf3f3bf89fabe288ae83bf51e890f8439b62bf4ff5f1eb13
|
|
| MD5 |
6d9774eff27af61ea78f249fbd7bf38c
|
|
| BLAKE2b-256 |
c0b6c305ba9b41d2e0950690c939c6a936e5ba5a31ae97ae13e613cddc20a16b
|