tapipy
Python lib for interacting with an instance of the Tapis API Framework
What it is and what it does
Tapipy is a Python SDK that bridges your code to Tapis API Framework services by automatically generating client bindings from OpenAPI specifications. You initialize a Tapis object with your tenant URL and credentials, call get_tokens() to authenticate, and then invoke service methods directly on the object—for example, t.sk.hasRole() or t.jobs.getJobSearchList(). The library handles token refresh automatically, so your authenticated session stays valid without manual intervention.
The SDK supports customization through resource sets (master or dev), custom spec dictionaries for overriding or adding service definitions, and local spec files. It uses cloudpickle to cache downloaded OpenAPI specs, reducing initialization overhead on subsequent runs. Special keyword arguments _tapis_headers and _tapis_query_parameters let you pass parameters not defined in the OpenAPI spec, useful for search endpoints and other dynamic query needs.
Use it for:
- Authenticate and interact with TACC's Tapis services (SK, jobs, etc.) from Python scripts or applications.
- Build automation tools that need to query job status, manage roles, or interact with multiple Tapis microservices.
- Integrate Tapis API calls into data processing pipelines where token management and service discovery must be automatic.
- Develop client applications against a custom Tapis deployment by pointing to local or alternative OpenAPI spec files.
- Test Tapis service endpoints programmatically without writing raw HTTP requests or managing authentication tokens manually.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Tapipy is a Python SDK that automatically generates client bindings from OpenAPI specifications to interact with Tapis API Framework services, handling authentication and token refresh transparently.
Yes. Tapipy is actively maintained, has no known vulnerabilities, and offers low installation friction. It is the natural choice if you need to interact with Tapis services from Python—it eliminates boilerplate authentication and HTTP handling. The permissive BSD-4-Clause license poses no restriction. Install it if you are working with a Tapis instance; skip it only if you are building against a different API framework.
Install
tapipy on PyPI
pip
pip install tapipyuv
uv add tapipypoetry
poetry add tapipyInstalling tapipy
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent commits and no known vulnerabilities. Depends on 14 runtime packages including openapi_core and requests, all standard and well-maintained libraries.
License in practice
Licensed under BSD-4-Clause with permissive treatment, allowing commercial and private use with minimal restrictions.
Quickstart
pip install tapipy
from tapipy.tapis import Tapis
t = Tapis(base_url='https://tacc.tapis.io', username='user', password='pass')
t.get_tokens()
result = t.sk.hasRole(tenant='dev', user='testuser', roleName='admin')
Requires network access to a running Tapis instance and valid tenant credentials; OpenAPI spec files are downloaded and cached at initialization.
Verify before relying
- Whether spec caching behavior and cache invalidation strategy are suitable for production use cases with frequently-updated service definitions.
- Performance characteristics when working with large numbers of Tapis service endpoints or complex nested API calls.
Package facts
| License | BSD-4-Clause (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 14 — certifi, six, python_dateutil, setuptools, urllib3, PyJWT, openapi_core, openapi_spec_validator, requests, atomicwrites, cryptography, jsonschema, pyyaml, cloudpickle |
| Maintenance | actively maintained — 254 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,592/month — #14,064 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tapipy-25.4.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
openapi3Parses and validates OpenAPI 3 specifications,…
permissive · top 15,000 on PyPI
swagger-ui-pyIntegrates Swagger UI documentation into Python…
permissive · top 15,000 on PyPI
openapi-generator-cliProvides a Python CLI wrapper for OpenAPI…
permissive · top 15,000 on PyPI
benchling-api-clientA low-level HTTP client for Benchling's API,…
permissive · top 15,000 on PyPI
APIFlaskAPIFlask is a lightweight web API framework…
permissive · top 15,000 on PyPI
openapi-python-clientGenerates type-annotated Python HTTP clients…
permissive · top 5,000 on PyPI
sphinxcontrib-openapiSphinx extension that renders OpenAPI (Swagger)…
permissive · top 15,000 on PyPI
flask-openapi3Builds REST APIs on Flask with automatic…
permissive · top 15,000 on PyPI
daytona_analytics_api_client_asyncAsync Python client for the Daytona Analytics…
unclear · top 5,000 on PyPI
flask-pydantic-specAdds OpenAPI documentation generation and…
unclear · top 15,000 on PyPI