Skip to main content

Windows-first CODESYS automation tools with a local CLI and HTTP server

Project description

codesys-tools

Windows-first, experimental local automation tooling for CODESYS.

codesys-tools provides:

  • a local CLI: codesys-tools
  • a local HTTP server: codesys-tools-server
  • a persistent CODESYS runtime built around named_pipe

Support Boundary

This project is currently published as:

  • Windows-only
  • experimental
  • intended for local CODESYS installations

Current assumptions:

  • CODESYS must already be installed on the target machine
  • the runtime transport is named_pipe only
  • the package does not include a bundled CODESYS runtime
  • public release prep is in place, but the project is not yet committed to cross-platform support

Installation

For local development:

pip install .

For release artifacts:

python scripts\build_release.py
python -m pip install dist\codesys_tools-*.whl

Required Environment

At minimum, local CODESYS usage requires:

  • CODESYS_API_CODESYS_PATH
  • CODESYS_API_CODESYS_PROFILE
  • CODESYS_API_CODESYS_PROFILE_PATH

The CLI and server both use the same runtime wiring and packaged assets.

Quick Start

CLI:

codesys-tools --help
codesys-tools session start
codesys-tools project create --path C:\work\demo.project
codesys-tools project compile
codesys-tools project close
codesys-tools session stop

Server:

codesys-tools-server --help
python HTTP_SERVER.py

Repo-local compatibility entrypoints remain available:

  • python codesys_cli.py ...
  • python HTTP_SERVER.py
  • run_cli.bat ...

What It Does

  • starts and stops a local persistent CODESYS session
  • creates, opens, saves, closes, and compiles projects
  • creates and edits POUs
  • exposes the same core actions through both CLI and HTTP entrypoints

Compile validation currently uses:

  • build
  • generate code

Validation Status

Current local engineering baseline:

  • python scripts\run_baseline.py
  • latest expected result: 170 passed, 8 skipped

Current release validation:

  • python scripts\build_release.py
  • clean wheel-install smoke
  • packaged asset lookup smoke
  • GitHub Actions CI and manual release workflows

Documentation

Not Included

This project does not currently provide:

  • a hosted/cloud service
  • cross-platform support
  • a bundled CODESYS installation
  • an installer
  • public API stability guarantees beyond the current local tooling contract

License

MIT. See LICENSE.

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

codesys_tools-0.2.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

codesys_tools-0.2.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codesys_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for codesys_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f2a5ce34f20d3717c7ee14ab072bec3b7fe7a43a4b33f5895288945a0666fb1
MD5 7a3acb0b2231cf85b489da2e4c84c587
BLAKE2b-256 85e0652e09bc524f8cc7e9c0c741da2fdd8ed682f1be77c05606b3ee865deffa

See more details on using hashes here.

Provenance

The following attestation bundles were made for codesys_tools-0.2.0.tar.gz:

Publisher: publish.yml on Zhgong/codesys-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: codesys_tools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for codesys_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9aff0165b9b12201f8809f23cb693f32d3463829c8a7bf93cb748502a00e3d1
MD5 44abfede1da949e7eaf8b144c2e9e3ae
BLAKE2b-256 86ffa6d9f013981c4eec195cc94e08f30b8e2391c647eb1080e879505ffaaeb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for codesys_tools-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Zhgong/codesys-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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