Skip to main content

Read gcode and translate into peridigm input

Project description

gcodeReader

pipeline status coverage report License

Read gcode and translate into peridigm input

Todos to setup project

  • in gitlab activate CI/CD (settings→general→visibility→CI/CD)
  • create token for pypi (todo: more text)
  • adapt coverage percentage

Features

  • TODO: describe features

Installation

Installation from source

Get gcodereader source from

https://gitlab.dlr.de/fa_sw/peridynamik/gcodereader.git

and add the /src folder to pythonpath in the environment variables

Installation as python package

Install it from the gitlab packacke registry

You can download the latest artifact (*.whl) and install it using

cd gcodereader python setup.py install gcodereader.whl

Test the installation

In python execute:

import gcodereader

Developers

Developers may also install the pre-commit hook.

Precommit

  1. install the pre-commit

    pip install pre-commit or conda isntall pre-commit

  2. In the gcodereader folder

    pre-commit install

This enables the pre-commit hooks defined in .pre-commit-config.yaml and eases your commits and successful pipline runs.

Usage

Contributing to gcodereader

We welcome your contribution!

If you want to provide a code change, please:

  • Create a fork of the GitLab project.
  • Develop the feature/patch
  • Provide a merge request.

If it is the first time that you contribute, please add yourself to the list of contributors below.

Citing

No citing required

License

Change Log

see changelog

CI Pipeline and Jobs for Developers

If you encounter any failed job on the pipeline you can run them locally for more information. (prerequisite: have make and poetry installed [e.g. conda install make poetry])

See all availabe make targets used for the ci-jobs

make list

Find the target with matching names and execute them locally e.g.:

make test

If check-formatting fails, run the following to fix issues.

make formatting

If check-license-metadata fails, run

make check-license-metadata

identify the corresponding filename and run the following (include the filename in $filename)

poetry run reuse addheader --copyright="German Aerospace Center (DLR)" --license="MIT" $filename

Authors

Jan-Timo Hesse

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

gcodereader-0.4.5.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcodereader-0.4.5-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file gcodereader-0.4.5.tar.gz.

File metadata

  • Download URL: gcodereader-0.4.5.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gcodereader-0.4.5.tar.gz
Algorithm Hash digest
SHA256 c99894966c04942f0230c9cc8478f2e28a5275542cff90104c0ebcf8e73b23b5
MD5 d79519a823dcc8c2783a1d26368b3f7d
BLAKE2b-256 c18c930e87487837fcb21f11659ea7aff9d7aa91dcd83a7aa19c1fba43fdff0e

See more details on using hashes here.

File details

Details for the file gcodereader-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: gcodereader-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gcodereader-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 12e1b77cf9cbe2a0058daff8f47ada7e8171002f5f28b7ef0e9f1a3ed0fdc994
MD5 882d8932e407c116c30726eb55306d12
BLAKE2b-256 1a2dfeea30df7d6847bff7ed332a2687e3fb758effe33a890fe08e43b0aea240

See more details on using hashes here.

Supported by

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