Skip to main content

CLI wrapper for PNC REST calls

Project description

#pnc-cli A python CLI around the PNC REST API

Installation:
  • python setup.py install –user

Usage:
  • Configure the REST endpoint for PNC in USER_HOME/.config/pnc-cli/pnc-cli.conf

  • pnc -h for a list of valid operations.

Currently outputs the raw JSON. More refined output is definitely in the works :)

#Tests

Requirements:
  • py.test (pip install pytest)

  • mock (pip install mock)

  • GitPython (pip install GitPython)

Run any of the testing scripts to see results. The tested instance is configured by the local file ~/.config/pnc-cli/pnc-cli.conf

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

pnc-cli-1.0.3.tar.gz (102.9 kB view details)

Uploaded Source

Built Distribution

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

pnc_cli-1.0.3-py2.py3-none-any.whl (248.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pnc-cli-1.0.3.tar.gz.

File metadata

  • Download URL: pnc-cli-1.0.3.tar.gz
  • Upload date:
  • Size: 102.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pnc-cli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 54206a87129c9fa7652cea9392febeae903e2b2cde3c398c7d80ac6171d8cb13
MD5 1a4d3557b29acebd1ecd88416f963702
BLAKE2b-256 297dc0aebe3c05b087c8c36738350f012ff6544f71c093792a761388b6c54c6a

See more details on using hashes here.

File details

Details for the file pnc_cli-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pnc_cli-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2e08e36daad73ffc13612e4555db657c5b1c42feb94fec0f71d4098bad205c8a
MD5 7dac79c27a9fb9c2fb58f5bdec2d65d1
BLAKE2b-256 158f062da44d2fb1b00ae23ae32cc7ba16a8b644c6c9569fbfb8da640ba638f5

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