{"id":18026358,"url":"https://github.com/zenith08/dcc-ex_py","last_synced_at":"2026-03-04T11:01:57.943Z","repository":{"id":257793496,"uuid":"861459390","full_name":"Zenith08/DCC-EX_py","owner":"Zenith08","description":"A simple way to connect to your DCC-EX controlled model railroad using python code without having to write DCC-EX commands into code.","archived":false,"fork":false,"pushed_at":"2025-04-13T22:43:49.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T05:32:22.893Z","etag":null,"topics":["arduino","dcc","trains"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/DCC-EX-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zenith08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-22T23:57:16.000Z","updated_at":"2025-04-13T22:11:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"40a54e0e-55c0-4ae2-91d0-c3842bf84845","html_url":"https://github.com/Zenith08/DCC-EX_py","commit_stats":null,"previous_names":["zenith08/dcc-ex_py"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Zenith08/DCC-EX_py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenith08%2FDCC-EX_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenith08%2FDCC-EX_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenith08%2FDCC-EX_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenith08%2FDCC-EX_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zenith08","download_url":"https://codeload.github.com/Zenith08/DCC-EX_py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenith08%2FDCC-EX_py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","dcc","trains"],"created_at":"2024-10-30T08:06:16.536Z","updated_at":"2026-03-04T11:01:57.898Z","avatar_url":"https://github.com/Zenith08.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DCC-EX_py\n\n\n[![image](https://img.shields.io/pypi/v/DCC-EX_py.svg)](https://pypi.python.org/pypi/DCC-EX_py)\n\n\nA simple way to connect to your DCC-EX controlled model railroad using python code without having to write DCC-EX commands manually.\n\n[DCC-EX](https://dcc-ex.com/#gsc.tab=0) is an Arduino powered DIY tool for running DCC model trains on a layout.\nThis package wraps the protocol described in the [DCC-EX Native Commands Summary Reference](https://dcc-ex.com/reference/software/command-summary-consolidated.html) to be easy to use from python code.\n\n\n-   Free software: MIT License\n-   Documentation: https://github.com/Zenith08/DCC-EX_py/wiki\n\nThis package is in early development, breaking changes may happen until it is marked version 1.0.\n\n## Features\n\n-   Connects to a DCC-EX base station and wraps commands to make automating layouts easier.\n-   Parses feedback from the command station and provides callbacks for important events.\n\n## Get Started\nDocumentation is available on the [GitHub Wiki](https://github.com/Zenith08/DCC-EX_py/wiki) including code for the examples.\n\n## Examples\n### Single Sound-Enabled Train:\n[![Amtrak Example](http://img.youtube.com/vi/8A_f9tJLWSE/0.jpg)](https://youtu.be/8A_f9tJLWSE)\n\nThis video shows a train running a simple loop with sound triggers and stopping based on sensors in the track.\n\n### Multiple Complex Trains\n[![Multitrain Example](http://img.youtube.com/vi/ylQdYiYuVxI/0.jpg)](https://youtu.be/ylQdYiYuVxI)\n\nThis 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.\n\nBe aware that the crossing signal is being controlled by EX-RAIL automation on the command station instead of externally by the python script.\n\n\u003csub\u003e\u003csup\u003eThis 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.\u003c/sup\u003e\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith08%2Fdcc-ex_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenith08%2Fdcc-ex_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith08%2Fdcc-ex_py/lists"}