devel/py-tapi 0.2.2
Framework for testing APIs
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
b40c91dd2a- License
- MIT
- Categories
- devel, python
- Package size
- 92.3 KiB, 593.8 KiB installed
Description
Tapi is a tool to automate the testing of your Application Programmer Interfaces (APIs).
Features:
- Test you API without writing any code (only edit a json file)
- Test you APIs in a much more 'natural' way by specifying urls/verbs and what the output should be
- Verify anything from response status codes, headers, body content etc
- Also allows verification by issuing another API call to a different endpoint to ensure a prior API call worked
- Execute arbitrary python scripts to populate request paramaters e.g. custom headers
- Execute arbitrary python scripts to verify response from endpoint is valid
- Tests your APIs using your own APIs
Install
As a binary package — by origin, or by package name:
pkg install devel/py-tapi
pkg install py312-tapi
From the ports tree:
cd /usr/ports/devel/py-tapi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-tapi>0:devel/py-tapi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.2 | 0.2.2 | 0.1.7_2 | 0.1.7_3 | 0.2.2 |
| FreeBSD:14:quarterly | 0.2.2 | 0.2.2 | n/a | 0.1.7_3 | 0.2.2 |
| FreeBSD:15:latest | 0.2.2 | 0.2.2 | n/a | 0.1.7_3 | 0.1.7_3 |
| FreeBSD:15:quarterly | 0.2.2 | 0.2.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.2 | 0.2.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 10
${PYTHON_PKGNAMEPREFIX}anyio>=4.13.0: devel/py-anyio${PYTHON_PKGNAMEPREFIX}certifi>=2026.2.25: security/py-certifi${PYTHON_PKGNAMEPREFIX}h11>=0.16.0: net/py-h11${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.9: www/py-httpcore${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1: www/py-httpx${PYTHON_PKGNAMEPREFIX}idna>=3.11: dns/py-idna${PYTHON_PKGNAMEPREFIX}python-dotenv>=1.2.2: www/py-python-dotenv${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.15.0: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}urllib3>=2.6.3,1: net/py-urllib3
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 27
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-anyio
- devel/py-click
- devel/py-setuptools
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-h11
- net/py-pysocks
- net/py-socksio
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- security/py-truststore
- textproc/expat2
- www/py-h2
- www/py-hpack
- www/py-httpcore
- www/py-httpx
- www/py-hyperframe
- www/py-python-dotenv
No port depends on this one.
Configuration
No options to configure.
- USES
- dos2unix python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tapi-0.2.2.tar.gz | 64509 | 93204d2bd2da141f0ec9802e9c6edb1607de72402fbbb475ad1dbbbf035f25ca |
Master sites 1
- PYPI