Skip to main content

humanize-gcode

A tool for explaining the commands in machine readable GCode files.

Based on the specified GCode flavour, the tool parses a list of GCode commands and their description from the flavour's documentation. With this library it parses the input file and explains the effect of each command.

Installation

The utility is available on PyPi, so it can be installed with pip:

pip3 install humanize-gcode

Usage

The package comes with the executable script hucode that accepts two arguments. The GCode flavour (currently only marlin/smoothie are supported) and the name of the file to annotate (or - for stdin).

Example usage

~ hucode smoothie testfile.gcode

Example output

TODO

  • More output formats (and possibly customization?)
  • More supported GCode flavours
  • Use command arguments to influence annotation

Release files for humanize-gcode 0.0.6

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

Source distribution (sdist)

Source distribution for humanize-gcode 0.0.6
File Size Uploaded
humanize_gcode-0.0.6.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for humanize-gcode 0.0.6
File Interpreter ABI Platform
humanize_gcode-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / humanize_gcode-0.0.6.tar.gz

Download URL humanize_gcode-0.0.6.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
99dc83e868f52b3ce939a459eec863df7ecb268f48f0e45a2a3f91750e427fc7
BLAKE2b-256 checksum
How to use checksums
3ad515993463850a335fb815d956aa919e6a9f1aa36a15990b76af609eb88778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.7

Release files / humanize_gcode-0.0.6-py3-none-any.whl

Download URL humanize_gcode-0.0.6-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07e55f8b85fc1e42401d6d71d8d7e6dcc1cc58b06fbadf0f00fd77045bf5ffae
BLAKE2b-256 checksum
How to use checksums
e55e953b59f23db5a31d5ecc49954cc48ca11bdf042b7c6202459330f5ad723a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.7

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

1 release file

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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