adeotek / pyopstools

Simple Python API tester

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python DevOps Tools

Description

A collection of DevOps CLI tools written in Python

Available tools

  • apitester - A simple API tester where the requests are configured in a JSON file (see configuration.sample.json sample configuration)
  • encodings - File encoding converter

Setup

Install venv module

pip3.9 install virtualenv

Create environment

# cd project_path
python3.9 -m venv env

Activate environment

Windows

.\env\Scripts\Activate.ps1

Linux

source env/bin/activate

Upgrade pip

python -m pip install --upgrade pip

Deactivate environment

deactivate

Install tool from source

For development

python -m pip install --editable .

For usage only

python -m pip install .

Publish to PyPi.org

Prerequisite

python -m pip install build twine

Build

python -m build

Check

twine check dist/*

Upload

twine upload dist/*

About

Simple Python API tester

License:MIT License


Languages

Language:Python 100.0%