skillfed

tapipy

Python lib for interacting with an instance of the Tapis API Framework

tapipy v25.4.0 83.6K downloads/30d#14,064 on PyPI8
Permissive license BSD-4-Clause Active released

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 tapipy

uv

uv add tapipy

poetry

poetry add tapipy

Installing 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

License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

tapis api client pythonopenapi sdk generatorrest api python bindingtapis framework sdkautomated api clientopenapi spec to pythonapi authentication wrapper
rest-api-clientopenapi-sdktapis-framework

More WWW/HTTP packages