sdwire


Namesdwire JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryCLI application to interact with Badgerd SDWire Gen2 devices
upload_time2024-10-18 01:22:24
maintainerNone
docs_urlNone
authorTalha Can Havadar
requires_python<4.0,>=3.12
licenseGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CLI for Badgerd SDWire Devices

Application also supports legacy SDWireC and non-Badger'd sdwires as well as
new Badgerd SDwire Gen2 devices.

Please see below for usage:

```
❯ sdwire --help
Usage: sdwire [OPTIONS] COMMAND [ARGS]...

Options:
--help  Show this message and exit.

Commands:
list
switch  dut/target => connects the sdcard interface to target device

❯ sdwire switch --help
Usage: sdwire switch [OPTIONS] COMMAND [ARGS]...

  dut/target => connects the sdcard interface to target device

  ts/host => connects the sdcard interface to host machine

  off => disconnects the sdcard interface from both host and target

Options:
  -s, --serial TEXT  Serial number of the sdwire device, if there is only one
                     sdwire connected then it will be used by default
  --help             Show this message and exit.

Commands:
  dut     dut/target => connects the sdcard interface to target device
  host    ts/host => connects the sdcard interface to host machine
  off     off => disconnects the sdcard interface from both host and target
  target  dut/target => connects the sdcard interface to target device
  ts      ts/host => connects the sdcard interface to host machine
```

## Listing SDWire Devices

`sdwire list` command will search through usb devices connected to the system
and prints out the list of gen2 and legacy devices.

```
❯ sdwire list
Serial			Product Info
sdwire_gen2_101		[SDWire-Gen2::Badgerd Technologies]
bdgrd_sdwirec_522	[sd-wire::SRPOL]
```

## Switching SD Card Connection

`sdwire switch` command switches the sd card connection to specified direction.
If there is more than one sdwire connected to then you need specify which sdwire
you want to alter with `--serial` or `-s` options.

If there is only one sdwire connected then you dont need to specify the serial,
it will pick the one connected automatically. See the examples below.

```
❯ sdwire list
Serial			Product Info
sdwire_gen2_101		[SDWire-Gen2::Badgerd Technologies]
bdgrd_sdwirec_522	[sd-wire::SRPOL]

❯ sdwire switch -s bdgrd_sdwirec_522 target

❯ sdwire switch target
Usage: sdwire switch [OPTIONS] COMMAND [ARGS]...
Try 'sdwire switch --help' for help.

Error: There is more then 1 sdwire device connected, please use --serial|-s to specify!

❯ sdwire list
Serial			Product Info
bdgrd_sdwirec_522	[sd-wire::SRPOL]

❯ sdwire switch host
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sdwire",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": null,
    "author": "Talha Can Havadar",
    "author_email": "havadartalha@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6f/f4/a6ac6770d932aadd7d85123af80ce6790d53a0010aa0e4b08d3d9fa4ccb5/sdwire-0.2.0.tar.gz",
    "platform": null,
    "description": "# CLI for Badgerd SDWire Devices\n\nApplication also supports legacy SDWireC and non-Badger'd sdwires as well as\nnew Badgerd SDwire Gen2 devices.\n\nPlease see below for usage:\n\n```\n\u276f sdwire --help\nUsage: sdwire [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n--help  Show this message and exit.\n\nCommands:\nlist\nswitch  dut/target => connects the sdcard interface to target device\n\n\u276f sdwire switch --help\nUsage: sdwire switch [OPTIONS] COMMAND [ARGS]...\n\n  dut/target => connects the sdcard interface to target device\n\n  ts/host => connects the sdcard interface to host machine\n\n  off => disconnects the sdcard interface from both host and target\n\nOptions:\n  -s, --serial TEXT  Serial number of the sdwire device, if there is only one\n                     sdwire connected then it will be used by default\n  --help             Show this message and exit.\n\nCommands:\n  dut     dut/target => connects the sdcard interface to target device\n  host    ts/host => connects the sdcard interface to host machine\n  off     off => disconnects the sdcard interface from both host and target\n  target  dut/target => connects the sdcard interface to target device\n  ts      ts/host => connects the sdcard interface to host machine\n```\n\n## Listing SDWire Devices\n\n`sdwire list` command will search through usb devices connected to the system\nand prints out the list of gen2 and legacy devices.\n\n```\n\u276f sdwire list\nSerial\t\t\tProduct Info\nsdwire_gen2_101\t\t[SDWire-Gen2::Badgerd Technologies]\nbdgrd_sdwirec_522\t[sd-wire::SRPOL]\n```\n\n## Switching SD Card Connection\n\n`sdwire switch` command switches the sd card connection to specified direction.\nIf there is more than one sdwire connected to then you need specify which sdwire\nyou want to alter with `--serial` or `-s` options.\n\nIf there is only one sdwire connected then you dont need to specify the serial,\nit will pick the one connected automatically. See the examples below.\n\n```\n\u276f sdwire list\nSerial\t\t\tProduct Info\nsdwire_gen2_101\t\t[SDWire-Gen2::Badgerd Technologies]\nbdgrd_sdwirec_522\t[sd-wire::SRPOL]\n\n\u276f sdwire switch -s bdgrd_sdwirec_522 target\n\n\u276f sdwire switch target\nUsage: sdwire switch [OPTIONS] COMMAND [ARGS]...\nTry 'sdwire switch --help' for help.\n\nError: There is more then 1 sdwire device connected, please use --serial|-s to specify!\n\n\u276f sdwire list\nSerial\t\t\tProduct Info\nbdgrd_sdwirec_522\t[sd-wire::SRPOL]\n\n\u276f sdwire switch host\n```\n\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "CLI application to interact with Badgerd SDWire Gen2 devices",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4042d9ca526ade7452eb7614a315d5e33a2d0cd66fb465081d5aafce5e88c430",
                "md5": "ed6b8c8e23abfbb13dc1d68a21815a5f",
                "sha256": "f6a7a2e010967c28f6937fc777f5f467b0c032ec922ee259315cd4473932b93c"
            },
            "downloads": -1,
            "filename": "sdwire-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ed6b8c8e23abfbb13dc1d68a21815a5f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 18817,
            "upload_time": "2024-10-18T01:22:22",
            "upload_time_iso_8601": "2024-10-18T01:22:22.871519Z",
            "url": "https://files.pythonhosted.org/packages/40/42/d9ca526ade7452eb7614a315d5e33a2d0cd66fb465081d5aafce5e88c430/sdwire-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ff4a6ac6770d932aadd7d85123af80ce6790d53a0010aa0e4b08d3d9fa4ccb5",
                "md5": "9ffb430e1271e374a53d2e0d868568b4",
                "sha256": "d4c49cb4d9825a2f8a54a4b2fc1ee6a8840879f37e24d221a05343256d2edc1a"
            },
            "downloads": -1,
            "filename": "sdwire-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9ffb430e1271e374a53d2e0d868568b4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 16260,
            "upload_time": "2024-10-18T01:22:24",
            "upload_time_iso_8601": "2024-10-18T01:22:24.339496Z",
            "url": "https://files.pythonhosted.org/packages/6f/f4/a6ac6770d932aadd7d85123af80ce6790d53a0010aa0e4b08d3d9fa4ccb5/sdwire-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-18 01:22:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sdwire"
}
        
Elapsed time: 0.70648s