Skip to main content

Python library for extraction of metadata from g-code files

Project description

This program is used for obtaining metadata from G-code files e.g. file name, material type, estimated print time, etc.

First, program will try to obtain any useful metadata from the file name. Then the G-code file is quick parsed by looking at comment blocks in the beginning and at the end of a file. If this parsing keeps failing, file is parsed using line by line method.

Any metadata obtained from the path will be overwritten by metadata from the file if the metadata is contained there as well.

Desired metadata are specified by Attributes in FDMMetaData class.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_gcode_metadata-0.2.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

py_gcode_metadata-0.2.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file py_gcode_metadata-0.2.0.tar.gz.

File metadata

  • Download URL: py_gcode_metadata-0.2.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for py_gcode_metadata-0.2.0.tar.gz
Algorithm Hash digest
SHA256 38f23d402fb549eeb9cf68e38f2bdfd7989db4a01079ef05e9e4c0bf9f82d1fd
MD5 33d2eb1dda674d9773c61360cc22f7c1
BLAKE2b-256 426889e7585f3fecaa382dee3b33fbb8a3d5638cb1da0fc1baf8a950573bea01

See more details on using hashes here.

File details

Details for the file py_gcode_metadata-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_gcode_metadata-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f10503319d335a876ed2bc788b6095e4bae12ce6210e9434e1be37531a82fa26
MD5 b0ef0d2a44ed5792c47e8fab3663b2c3
BLAKE2b-256 11cacc4e2676d8c98f5ee79775e505d97a714211898cba05ba12ec8b18a2edd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page