Skip to main content

CANDY Board Service CLI

Project description

CANDY Board service CLI

GitHub release License ASL2.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

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 *

Install the local package

# pip command
$ pip install --no-cache-dir ./candy-board-cli.tgz 

# python command
$ python -m pip install --no-cache-dir ./candy-board-cli.tgz 

# python3 command
$ python3 -m pip install --no-cache-dir ./candy-board-cli.tgz 

Revision history

  • 4.0.0

    • Add Python 3 (3.7+) support (still working on Python 2.7)
  • 3.3.0

    • Add an option to disable color escape (Set NO_COLOR=1 for disabling the message coloring)
  • 3.2.2

    • Fix a pypi upload error
  • 3.2.1

    • Fix a KeyError
  • 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-4.0.0.tar.gz (7.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: candy-board-cli-4.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for candy-board-cli-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5d4239fb032b8898373f2a26d174ce876fa0fda40c08bece8ef9c6bd0788f6ea
MD5 8aaa64ae7fb0521bbbb1368ce4086cca
BLAKE2b-256 ff94bca82983a6eefc8b0c754ecc3422b7b49f7c5b15443531710ed818a0d6b5

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