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.2.tar.gz (101.0 kB view details)

Uploaded Source

Built Distributions

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

pnc_cli-1.0.2-py2.7.egg (589.8 kB view details)

Uploaded Egg

pnc_cli-1.0.2-py2-none-any.whl (245.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pnc-cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7b528e854690fa9e862545b740649a9f8ed16bbd0647ec53c863d4cdc6674868
MD5 dc98a84e0183c75fdb50d90ca97b0e03
BLAKE2b-256 aa11c5dcb8d8390f944d2fbc38b0bf1f05e0743ac3acf45f93d3f1a77f1b435b

See more details on using hashes here.

File details

Details for the file pnc_cli-1.0.2-py2.7.egg.

File metadata

  • Download URL: pnc_cli-1.0.2-py2.7.egg
  • Upload date:
  • Size: 589.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pnc_cli-1.0.2-py2.7.egg
Algorithm Hash digest
SHA256 8e17748c8f365335edb379ba45bd946ab91daf3d88a235018caec12ccc54edc6
MD5 e69d0ef4507afc3ed28b011ff0e52ed1
BLAKE2b-256 0a8b4eb6e6f53b4f3d738dce902e93048dbf813b9b9bd3464eeb18fcbe1b0e8c

See more details on using hashes here.

File details

Details for the file pnc_cli-1.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for pnc_cli-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 6157f7c116977cb42081530046c01a613af692164d648ef586793e0cb00366e1
MD5 c0dee1ccfe8bc02e6bec9c2089140901
BLAKE2b-256 6c0529686b806c8fd8e0d8823b2683295e17923d68144a2e98ee4a6f170cb9d5

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