{"id":16398203,"url":"https://github.com/ppannuto/python-saleae","last_synced_at":"2025-04-05T01:06:30.480Z","repository":{"id":36762146,"uuid":"41068823","full_name":"ppannuto/python-saleae","owner":"ppannuto","description":"Python library to control a Saleae Logic Analyzer","archived":false,"fork":false,"pushed_at":"2022-08-15T20:29:47.000Z","size":206,"stargazers_count":128,"open_issues_count":8,"forks_count":55,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T00:09:35.492Z","etag":null,"topics":["embedded","python-library","saleae"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ppannuto.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-20T01:36:56.000Z","updated_at":"2025-02-26T19:46:16.000Z","dependencies_parsed_at":"2022-08-08T17:01:05.948Z","dependency_job_id":null,"html_url":"https://github.com/ppannuto/python-saleae","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppannuto%2Fpython-saleae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppannuto%2Fpython-saleae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppannuto%2Fpython-saleae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppannuto%2Fpython-saleae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppannuto","download_url":"https://codeload.github.com/ppannuto/python-saleae/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271528,"owners_count":20911587,"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":["embedded","python-library","saleae"],"created_at":"2024-10-11T05:12:06.430Z","updated_at":"2025-04-05T01:06:30.454Z","avatar_url":"https://github.com/ppannuto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-saleae\n=============\n\n|travisci| |docs|\n\nThis library implements the control protocol for the\n`Saleae Logic Analyzer \u003chttps://www.saleae.com/\u003e`__. It is based off of the\ndocumentation and example here:\nhttps://github.com/saleae/SaleaeSocketApi\n\n**IMPORTANT: You must enable the 'Remote Scripting Server' in Saleae.** Click\non \"Options\" in the top-right, the \"Developer\" tab, and check \"Enable scripting\nsocket server\". This should not require a restart.\n\nThis library requires Saleae Logic 1.2.x or greater. Unfortunately there is no\nway to check the version of Logic running using the scripting protocol so this\nis difficult to check at runtime.\n\n  Note: Unfortunately, the new Logic2 software does not yet support remote\n  access, so you will have to use the original Logic software.\n  \n  You can track Logic2 remote access progress on this thread from Saleae:\n  https://discuss.saleae.com/t/scripting-socket-api/108/3\n  \n  **Update: July 2022:** Saleae is developing an official remote scripting\n  inteface and library for Logic2. Check out the alpha/beta and give feedback:\n  https://discuss.saleae.com/t/saleae-logic-2-automation-api/1685/13\n\nCurrently, this is basically a direct mapping of API calls with some small\nsanity checking and conveniences. It has not been extensively tested beyond\nmy immediate needs, but it also should not have any known problems.\n\nTo get a feel for how the library works and what it can do, try the built-in demo:\n\n::\n\n    #!/usr/bin/env python3\n    import saleae\n    saleae.demo()\n\n\nIssues, updates, pull requests, etc should be directed\n`to github \u003chttps://github.com/ppannuto/python-saleae\u003e`__.\n\n\nInstallation\n------------\n\nThe easiest method is to simply use pip:\n\n::\n\n    (sudo) pip install saleae\n\n\nUsage\n-----\n\n::\n\n    import saleae\n    s = saleae.Saleae()\n    s.capture_to_file('/tmp/test.logicdata')\n\n\n.. |docs| image:: https://readthedocs.org/projects/python-saleae/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://python-saleae.readthedocs.org/\n\n.. |travisci| image:: https://travis-ci.org/ppannuto/python-saleae.svg?branch=master\n    :alt: Build Status\n    :target: https://travis-ci.org/ppannuto/python-saleae\n\n\n\nLicense\n-------\n\nLicensed under either of\n\n- Apache License, Version 2.0 (LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0\n- MIT license (LICENSE-MIT) or http://opensource.org/licenses/MIT\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppannuto%2Fpython-saleae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppannuto%2Fpython-saleae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppannuto%2Fpython-saleae/lists"}