Skip to main content

reqman4 (prototype), command 'rq'

Project description

Reqman4

Package version

A complete rewrite of reqman. It's a prototype/poc ! Don't know yet if it will replace the original, but I wanted to have a new/cleaner/simpler version, with all good ideas from the original.

MAJOR CHANGES: This prototype is more python based for vars & tests, and can display html in http-verb's doc (to be able to make human readable html reports). Syntax is simpler/cleaner (to be able to have a json-schema to valid yml/rml). And debugging is simpler.

Currently, the package provide a rq command (but will be reqman in the future)

Major differences :

  • licence gnu gpl v2 -> MIT
  • "uv" & (a lot) simpler (less features)
  • use httpx !
  • options are inverted (--i -> -i & (switch) -dev --> --dev)
  • step operator is always in uppercase (SET, CALL, 'VERB-HTTP' ).
  • one SWITCH param only (may change)
  • scenars(yml/rml) & reqman.conf are yaml/dict only !
  • scenars must(/can for compat) have a "RUN:" section (others keys are the global env)
  • tests are simple python statements
  • no break!
  • no if
  • no more .BEGIN/.END
  • no more RMR
  • no more comparison side by side
  • no more XML testing (may change)
  • no more junit.xml output (may change)

Here is a valid scenario, which give you an overview : scenario.yml

If you use uvx, you cant test this scenario in your context :

uvx reqman4 https://raw.githubusercontent.com/manatlan/reqman4/refs/heads/main/scenario.yml -o

It will open an html report in your default browser, and you can easily check what's going ...

From github

to test command line

uvx --from git+https://github.com/manatlan/reqman4 rq --help

to run a scenario

uvx --from git+https://github.com/manatlan/reqman4 rq scenario.yml -o

From pypi

to test command line

uvx reqman4 --help

to run a scenario with a local scenario

uvx reqman4 scenario.yml -o

For jules

This project use "uv":

  • use "uv sync --dev" to setup the ".venv"
  • use "uv run pytest" to validate all unittests

test

test

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

reqman4-0.4.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

reqman4-0.4.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file reqman4-0.4.1.tar.gz.

File metadata

  • Download URL: reqman4-0.4.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reqman4-0.4.1.tar.gz
Algorithm Hash digest
SHA256 cf53829218afe789ce649c3ea17721f50ef556086e098739c767f535a78a23f1
MD5 74e0ba6fdc8e6252d719dd75feb916fe
BLAKE2b-256 36f3c9632a35214f2246656aaf79f9f3c65ce388ce4fb2ccbdc867e04e91fda9

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqman4-0.4.1.tar.gz:

Publisher: publish_on_pypi.yml on manatlan/reqman4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reqman4-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: reqman4-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reqman4-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91b6a1d7630a4c1f5a0331631023d27ae0966bb719aa8137934377e9b16edef4
MD5 d97e6d53da5f36feadc87246024b0746
BLAKE2b-256 864bc1ec58aaa39de6642d7dfe9ea2ed680f0b4aa8c9607b10a7e29a51c5063d

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqman4-0.4.1-py3-none-any.whl:

Publisher: publish_on_pypi.yml on manatlan/reqman4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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