Skip to main content

CANDY Board Service CLI

Project description

# CANDY Board service CLI

[![GitHub release](https://img.shields.io/github/release/CANDY-LINE/candy-board-cli.svg)](https://github.com/CANDY-LINE/candy-board-cli/releases/latest)
[![License ASL2.0](https://img.shields.io/github/license/CANDY-LINE/candy-board-cli.svg)](https://opensource.org/licenses/Apache-2.0)

A CLI tool to communicate with a CANDY Board service running on systemd

## pip Installation

```
$ pip install candy-board-cli
```

## pip Uninstallation

```
$ pip candy-board-cli
```

## Development

### Prerequisites

* [pandoc](http://pandoc.org)
* [pypandoc](https://pypi.python.org/pypi/pypandoc/1.2.0)

On Mac OS:

```
$ brew install pandoc
$ pip install pypandoc
```

### Local Installation test

```
$ ./setup.py install --record files.txt
```

### Local Uninstallation test

```
$ cat files.txt | xargs rm -f
```

### Create local package

```
$ tar czvf candy-board-cli.tgz --exclude "./.*" --exclude build --exclude dist *
```

# Revision history
* 3.2.0
- Add a new option (`-q`) to `gnss start` to enable QZSS, GLONASS and Beidou
- Add a new option (`-a`) to `gnss start` to enable QZSS, Galileo, GLONASS and Beidou

* 3.1.0
- Make `--suspend` and `--resume` options available for `apn ls`, `network show`, `sim show` and `modem show` commands

* 3.0.0
- Add new categories, `connection` and `gnss`
- Add new actions in `service` category

* 2.0.0
- Change license to Apache Software License 2.0
- Add a new option (`-o`) for providing network operator type when setting an APN
- Add a new option (`-o`) for passing optional arguments to `modem show` and `modem reset` commands

* 1.0.5
- Fix an issue where the shebang line in the published script pointed to a machine specific path (not to publish bdist_wheel)

* 1.0.3
- Make pypandoc dependency optional

* 1.0.2
- Fix an issue where the code could exit after opening a socket which caused socket error on the socket server

* 1.0.1
- Don't have users run modem reset command casually

* 1.0.0
- Initial public release

* 0.0.1
- Initial beta release

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

candy-board-cli-3.2.0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file candy-board-cli-3.2.0.tar.gz.

File metadata

  • Download URL: candy-board-cli-3.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for candy-board-cli-3.2.0.tar.gz
Algorithm Hash digest
SHA256 cf913b28c6f6c3d19c0fbede7f6d7d405e9139aacd7330398f099667346ab0a2
MD5 02e95b4d9a140736870d98cadae59e3e
BLAKE2b-256 69196afa85d17b8d6b1dd8e478b2090063423e4a97beb17bb6647a8c667c1593

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page