TODO
Project description
DCC-EX_py
A simple way to connect to your DCC-EX controlled model railroad using python code without having to write DCC-EX commands manually.
DCC-EX is an Arduino powered DIY tool for running DCC model trains on a layout. This package wraps the protocol described in the DCC-EX Native Commands Summary Reference to be easy to use from python code.
- Free software: MIT License
- Documentation: https://github.com/Zenith08/DCC-EX_py/wiki
This package is in early development, breaking changes may happen until it is marked version 1.0.
Features
- Connects to a DCC-EX base station and wraps commands to make automating layouts easier.
- Parses feedback from the command station and provides callbacks for important events.
Get Started
Documentation is available on the GitHub Wiki including code for the examples.
Examples
Single Sound-Enabled Train:
This video shows a train running a simple loop with sound triggers and stopping based on sensors in the track.
Multiple Complex Trains
This video shows what can be done when multiple trains are programmed to perform complex behavior. The routes are all pre-planned and designed to loop.
Be aware that the crossing signal is being controlled by EX-RAIL automation on the command station instead of externally by the python script.
This project is not an official DCC-EX project nor is it endorsed by them. I just used the name that best decribes the funcionality and will change it if it creates issues.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcc_ex_py-0.0.4.tar.gz.
File metadata
- Download URL: dcc_ex_py-0.0.4.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd2825bd8c894f5797805f95f2c39a79f987c22e1d178e71ce5726d7d3b8f32
|
|
| MD5 |
adcaf5d1fb58ed20646ac502b2fb5a6b
|
|
| BLAKE2b-256 |
a7b6690c43c0b85cf486d8ad75c397bad977671613015d80c522f407a181f9ce
|
Provenance
The following attestation bundles were made for dcc_ex_py-0.0.4.tar.gz:
Publisher:
pypi.yml on Zenith08/DCC-EX_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_ex_py-0.0.4.tar.gz -
Subject digest:
2bd2825bd8c894f5797805f95f2c39a79f987c22e1d178e71ce5726d7d3b8f32 - Sigstore transparency entry: 183119972
- Sigstore integration time:
-
Permalink:
Zenith08/DCC-EX_py@f8d90b4d033ef408966bb159124d61f8aafe09d4 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/Zenith08
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@f8d90b4d033ef408966bb159124d61f8aafe09d4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dcc_ex_py-0.0.4-py2.py3-none-any.whl.
File metadata
- Download URL: dcc_ex_py-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f6da03160316b50b8c40d52d7be1998cfd823a4e3925de2c14035e31c0cebc5
|
|
| MD5 |
e9273230c2ac35769ac1bf31ba0077e8
|
|
| BLAKE2b-256 |
7a59b6a3526ee566b666f736f6e8ddc8c8737d21206db311c260781b541099cd
|
Provenance
The following attestation bundles were made for dcc_ex_py-0.0.4-py2.py3-none-any.whl:
Publisher:
pypi.yml on Zenith08/DCC-EX_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_ex_py-0.0.4-py2.py3-none-any.whl -
Subject digest:
6f6da03160316b50b8c40d52d7be1998cfd823a4e3925de2c14035e31c0cebc5 - Sigstore transparency entry: 183119973
- Sigstore integration time:
-
Permalink:
Zenith08/DCC-EX_py@f8d90b4d033ef408966bb159124d61f8aafe09d4 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/Zenith08
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@f8d90b4d033ef408966bb159124d61f8aafe09d4 -
Trigger Event:
release
-
Statement type: