Skip to main content

This package will take as input the STDOUT from a Postman CLI collection run and transform the output text to a JSON doc which may in turn be transformed.

Project description

postman-cli-transformer

PyPI Changelog Tests License

Initially created from: https://github.com/simonw/click-app

This package will take as input the STDOUT from a Postman CLI collection run and transform the output text to a JSON doc which may in turn be transformed.

Installation

Install this tool using pip:

pip install postman-cli-transformer

Usage

For help, run:

postman-cli-transformer --help

You can also use:

python -m postman_cli_transformer --help

As this is intended to be used as a transformer for the Postman CLI output, usage would look something like this with the CLI output transformed into JSON and output to the file output.json

PLEASE NOTE: THE VERBOSE FLAG IS NOT SUPPORTED YET ON THE CLI COMMAND

postman collection run 11111111-11111111-1111-1111-1111-111111111111 -e 11111111-11111111-1111-1111-1111-111111111111  | postman-cli-transformer output.json

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd postman-cli-transformer
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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

postman_cli_transformer-0.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

postman_cli_transformer-0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file postman_cli_transformer-0.1.tar.gz.

File metadata

  • Download URL: postman_cli_transformer-0.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for postman_cli_transformer-0.1.tar.gz
Algorithm Hash digest
SHA256 335ac55631ca1b0c8e1ccd765085ccba75a8f93bfbd5fea09b95fd6cc25f3812
MD5 89fbbce2ce84d72faf9434ad59a8d5ec
BLAKE2b-256 c563ec13bda3136fb082d8f0ca23b0d84cf5d059504fe0c5fa1fbdf98876b02c

See more details on using hashes here.

File details

Details for the file postman_cli_transformer-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for postman_cli_transformer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d81940542904e5c613490719f33a99367517f019c7a8e637cc86d63f5f7d2928
MD5 2bfb7cdd7a7b1d45b6197a9a16ff53c1
BLAKE2b-256 f442f75867388c737a4bfa1684f6f28fee5a9e469820a44819ba6889044f34c1

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