{"id":17055592,"url":"https://github.com/tuna-f1sh/py-nixiepipe","last_synced_at":"2025-03-23T06:16:24.814Z","repository":{"id":87875880,"uuid":"74902361","full_name":"tuna-f1sh/py-nixiepipe","owner":"tuna-f1sh","description":"Python package for interfacing with the Nixie Pipe Master hardware","archived":false,"fork":false,"pushed_at":"2017-11-18T15:00:54.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T12:44:25.976Z","etag":null,"topics":["nixie-pipe","python-library"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuna-f1sh.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}},"created_at":"2016-11-27T17:16:56.000Z","updated_at":"2017-03-16T09:45:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"1babf970-8167-4c85-8468-dba37c477aa4","html_url":"https://github.com/tuna-f1sh/py-nixiepipe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuna-f1sh%2Fpy-nixiepipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuna-f1sh%2Fpy-nixiepipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuna-f1sh%2Fpy-nixiepipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuna-f1sh%2Fpy-nixiepipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuna-f1sh","download_url":"https://codeload.github.com/tuna-f1sh/py-nixiepipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061375,"owners_count":20554563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["nixie-pipe","python-library"],"created_at":"2024-10-14T10:18:38.955Z","updated_at":"2025-03-23T06:16:24.773Z","avatar_url":"https://github.com/tuna-f1sh.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CFA7TQXNFURLQ"],"categories":[],"sub_categories":[],"readme":"# Nixie Pipe Python Package\r\n\r\nPython package containing *nixiepipe* class for interfacing with [Nixie Pipe](www.nixiepipe.com)\r\nMaster hardware.\r\n\r\n## Dependancies\r\n\r\n* [pyserial](https://github.com/pyserial/pyserial).\r\n* Nixie Pipe Master running [np-serial](https://github.com/tuna-f1sh/NixiePipe/tree/master/firmware/np-serial) firmware.\r\n* _pyowm_, _configparser_, _threading_ _to use example scripts_.\r\n\r\n## Install\r\n\r\nIn root folder, run  `./setup.py install`.\r\n\r\n## Basic Usage\r\n\r\n```python\r\nimport nixiepipe\r\n\r\n# Create pipe object from nixiepipe class. Will auto find serial port using device descriptor\r\npipe = nixiepipe.pipe() \r\n\r\npipe.setNumberUnits(0) # Set number of Nixie Pipe Unit modules\r\npipe.setColour(0,0,255) # Set array colour blue\r\npipe.setNumber(9999) # Set array number to 9999\r\n\r\n# Write and show new settings\r\npipe.show()\r\n```\r\n\r\n## Examples 'examples/'\r\n\r\n* **np-serial.py**: Basic API example showing for loop increment and colour\r\n  set.\r\n* **weather.py**: Display weather with Nixie Pipe Weather Unit Pipe using Open\r\n  Weather Map.\r\n* **cpu-usage.py**: Display CPU usage.\r\n* **stock-ticker.py**: Display stock symbols. Pass symbols as arguments.\r\n\r\n### Weather Example API Key Config File\r\n\r\nYou will need an API key for the Open Weather Map module. I have used\r\n_configparser_ to save my API key outside the repo. To use the `weather.py`\r\nyou will need to **create a file 'owm-api.ini'** in the 'examples/' directory\r\nwith the contents:\r\n\r\n```\r\n[API]\r\nOpenWeatherMap = YOUR_API_KEY\r\n```\r\n\r\n# License and Attribution\r\n\r\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CFA7TQXNFURLQ)\r\n\r\nLicensed under GPL 3.0. I many of my projects open source so others can learn as I have but please attribute my creations if you derive use of them in your own work, by following the license terms, linking to www.jbrengineering.co.uk and/or the project page.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuna-f1sh%2Fpy-nixiepipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuna-f1sh%2Fpy-nixiepipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuna-f1sh%2Fpy-nixiepipe/lists"}