Skip to main content

Basic Command line utility

Project description

ttn-cli

Basic CLI utility

To make build

Make sure you have the latest versions of setuptools and wheel installed:

python3 -m pip install --upgrade setuptools wheel

Now run this command from the same directory where setup.py is located:

python3 setup.py sdist bdist_wheel

To Install The Library Locally

Inside the folder containing setup.py

python3 setup.py install

To Run In Development Mode

Setup a virtual environment to install the package

virtualenv venv -p python3.6

Then to install the package in development mode

python setup.py develop

To enter shell

ttn_cli

To Run CLI Commands

ttn_cli --help # show all the available options

ttn_cli git --help # shows all the commands related to git

ttn_cli git logs -f <form_date> -a <author-name> show the logs of a particular author

... and many more

ttn_cli network --help # shows all the commands related to network

ttn_cli network show_public_ip # shows public IP of host

ttn_cli network show_private_ip # shows private IP of host

For reference, follow this article.

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

ttncli-0.0.7.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttncli-0.0.7-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ttncli-0.0.7.tar.gz.

File metadata

  • Download URL: ttncli-0.0.7.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.8

File hashes

Hashes for ttncli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 09b33ce9c028ca8334b35d9294f6344a21de2bbd5a7dfc198bb4f3d15b96a490
MD5 d1376d14b7ea12baf0be6484921bbee4
BLAKE2b-256 ced5c21f1d8658ed48ce5ad0e2c80a9f46a0ebfc931c90a45e545e6a1b9638b7

See more details on using hashes here.

File details

Details for the file ttncli-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: ttncli-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.8

File hashes

Hashes for ttncli-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 96e4612e734e5e3c1344b68ce33bdac4e22720e32efc061deb79523bc756dae5
MD5 7c7361f2544b6443d6cf9fbf06bf3a33
BLAKE2b-256 4332145ebc30bc9df1e39ccad8abf7e812168f1d83c1adbda0a64b8ff1e80503

See more details on using hashes here.

Supported by

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