Skip to main content

Ayonix

A CLI program for API testing.

Features

  • Send HTTP requests to specified URLs
  • Supports GET, POST, PUT, DELETE, and other HTTP methods
  • Include headers and data in requests
  • Measure and display response time
  • Calculate average response time over multiple requests
  • Display response status code, headers, and content

Installation

You can install the package using pip:

pip install ayonix

Usage

[!IMPORTANT] The flag [-d --data] is deprecated and fully out of support, has been renamed to [-b --body]

The usage name for Ayonix is call:

call "https://jsonplaceholder.typicode.com/posts" --method POST -H '{"Content-Type": "application/json"}' -b '{"title": "foo", "body": "bar", "userId": 1}'

The following table shows the available flags that Ayonix allows for:

CLI Flags and Arguments

Flag/Argument Type Default Description
url str Required URL to send the request to.
--method str GET HTTP method to use (e.g., GET, POST, PUT, DELETE).
-H, --header JSON string None Headers to include in the request as a JSON string.
-b, --body JSON string None Body data to include in the request as a JSON string.
--only-content flag False Only print the content of the response.
--only-res-code flag False Only print the response code.
-m, --metrics flag False Print metrics of the response (e.g., time, headers, cookies).
-a, --average-response-time int None Calculate and print the average response time (number of requests specified).

Metadata

Release files for ayonix 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ayonix 0.3.7
File Size Uploaded Provenance
ayonix-0.3.7.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ayonix 0.3.7
File Interpreter ABI Platform
ayonix-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / ayonix-0.3.7.tar.gz

Download URL ayonix-0.3.7.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7cfc500227910c00b1d5f2f7be7b9adc5261ef88be2ca8cc30bfc392a6e616d2
BLAKE2b-256 checksum
How to use checksums
002d2e6bac30ba25d8693d19e4981c70da466f85adecab9059148c7e414b77d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / ayonix-0.3.7-py3-none-any.whl

Download URL ayonix-0.3.7-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
465fb1f7e7be03a632b876257acffe53ab9c68f7ba8942fbc23d20dbb9f7f127
BLAKE2b-256 checksum
How to use checksums
b9e3301400fd08e9edafdead08cd2187e2a04cdb2a590943f998d46f30333bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Security for ayonix 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page