Registry / http-networking / tapipy

tapipy

JSON →
library25.4.0pypypi✓ verified 84d ago

Python client library for the Tapis API Framework, providing programmatic access to Tapis services for HPC, cloud computing, and data management. Current version is 25.4.0, with frequent releases aligned to the Tapis platform.

pip install tapipy
INSTALL
IMPORT
SIG · TAPIPY
T
tapipy
http-networkingpythonv25.4.0
Install
6.6s avg
Import
1049ms
Disk
54MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v25.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.094s · 51.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.6s · import 1.004s · 53MB
54MB installed
● package 54MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tapis
from tapipy.tapis import Tapis
import tapipy
Tapis client class is in tapipy.tapis module, not top-level.

Initialize a Tapis client and authenticate. Use environment variables for credentials.

from tapipy.tapis import Tapis import os t = Tapis( base_url=os.environ.get('TAPIS_BASE_URL', 'https://example.tapis.io'), username=os.environ.get('TAPIS_USERNAME', ''), password=os.environ.get('TAPIS_PASSWORD', '') ) t.get_tokens() print(t.tapis_available())
Debug
Known issues
breakingIn v25.x, the `Tapis` constructor no longer accepts `tenant_id` as a first positional argument; use `base_url` instead.
fix
Replace `t = Tapis('dev', ...)` with `t = Tapis(base_url='https://dev.tapis.io', ...)`
affects: >=25.0.0
deprecatedThe `tapis_available()` method is deprecated in v25.4.0 and may be removed in a future release.
fix
Use `t.ping()` or check service availability via API calls.
affects: >=25.4.0
gotchaToken management requires explicit refresh; the library does not automatically refresh expired tokens.
fix
Call `t.get_tokens()` again or use a token refresh strategy.
affects: all
Errors
Common errors & fixes
AttributeError: module 'tapipy' has no attribute 'Tapis'
Incorrect import; `Tapis` class is not at the top level.
fix
Use `from tapipy.tapis import Tapis`
TypeError: __init__() got multiple values for argument 'base_url'
Passing `tenant_id` as first positional argument and also `base_url` as keyword in older code.
fix
Remove the positional argument and only use `base_url=...`
Upgrade
Version history
25.4.0latest on PyPI · released Dec 3, 2025
Audit
Dependencies
requestsrequiredHTTP client for API calls
pyjwtrequiredJWT token handling
Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
tapipy — pip install tapipy · libregistry