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.8.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.8-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttncli-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 f53c8a2d44c29a8b046b794008d04d4603dac75358c123a7d9c8ec2bdedeb0c8
MD5 533e2c292b751e97e2d1a9dd04741be6
BLAKE2b-256 304212ef2f957bfe6d9e3287f0bd756825058e4db74e31aab52cec27f5188614

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttncli-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 49efede2d16dc740b7e0cb41d6d1c8ca05752d21af1f8d10c945ee8f5f6db1d5
MD5 853a0bf2298c826ad51575d6de348c37
BLAKE2b-256 a155a55d9aad603a4e4dee63b786b48f57aeedf6514a1c104941e0af8a151737

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