Skip to main content

A set of tools for TwinCAT projects

Project description

TwinCAT Tools

Documentation PyPI PyTest codecov

This repository contains a small set of tools for developing TwinCAT projects.

Install

Install it with pip from pypi.org with:

pip install twincat-tools

Use it as python -m tctools.[*].

Note: the PyPi package named TcTools is not affiliated with this project and is simply an unfortunate name conflict!

Develop

Requirements

Install package in editable mode and get the development requirements with:

poetry install --with dev --with doc

The package uses dynamic versioning. The plugin can be added to your Poetry installation with:

poetry self add "poetry-dynamic-versioning[plugin]"

Documentation

Documentation is built using Sphinx. This is done automatically and hosted by ReadTheDocs.

Linting

Code style is enforced with black, isort and flake8. Format code with:

isort .
black .

And verify code with: (flake8 extensions will also perform black and isort checks)

flake8 ./src ./tests

Tools

See RTD documentation for full overview of usage: https://twincat-tools.readthedocs.io/latest/pages/tools.html

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

twincat_tools-0.1.6.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

twincat_tools-0.1.6-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file twincat_tools-0.1.6.tar.gz.

File metadata

  • Download URL: twincat_tools-0.1.6.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.7 Windows/10

File hashes

Hashes for twincat_tools-0.1.6.tar.gz
Algorithm Hash digest
SHA256 8ca0aabb90d299214d4fb70f31689f2160a39333a57bab5f34fa29d4ab396970
MD5 700a95707b40024257294a5bdf1007e3
BLAKE2b-256 cefbb959688ff7db24dbe5daf00034394b0f37714e4e3f2f85700375dd61563f

See more details on using hashes here.

File details

Details for the file twincat_tools-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: twincat_tools-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.7 Windows/10

File hashes

Hashes for twincat_tools-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6fe3d971fbeba1eb6ba0788a762dc46495030a198ec4694bd334947e0ea69796
MD5 455900d36a23336114d1fad9d0847ad5
BLAKE2b-256 1a62e24269462939c5128be48c0f3d59c6d5ae387f00750f8ce4a61df3fc568e

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