Replacement library for PyTAS, now using the new TACC TRAM.
This consists of the client and a folder of services functions that use the client for credentials etc.
Build using:
uv build
Github workflow has been set up to automatically build and publish to testpypi on commit and pypi on new release.
Example code calls (subject to change):
from tacc_pytram.tramclient import TRAMClient
from tacc_pytram.services import accounts_service
# test url and key available on 1password, WMA Infra "TRAM Test URL and Key"
tram_client = TRAMClient(baseURL=<base_url>, api_key=<secret key>)
user = accounts_service.get_profile(tram_client=tram_client, username="cmarnold")
print("testing get profile with cmarnold")
print(user)
history = accounts_service.get_history(tram_client=tram_client, username="cmarnold")
print("testing get history with cmarnold")
print(history)
allocations = accounts_service.get_allocations(tram_client=tram_client, username="cmarnold")
print("testing get allocations with cmarnold, default is active")
print(allocations)
allocations = accounts_service.get_allocations(tram_client=tram_client, username="cmarnold", active=False)
print("testing get allocations with cmarnold, setting active to false")
print(allocations)
projects = accounts_service.get_projects(tram_client=tram_client, username="cmarnold")
print("testing get projects with cmarnold")
print(projects)
account = accounts_service.get_account(tram_client=tram_client, username="cmarnold")
print("testing get account with cmarnold")
print(account)
Metadata
Release files for tacc-pytram 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tacc_pytram-0.2.0.tar.gz | 5.3 kB | With provenance | Details for tacc_pytram-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tacc_pytram-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tacc_pytram-0.2.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / tacc_pytram-0.2.0.tar.gz
| Download URL | tacc_pytram-0.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a2a057574fde2ceea5af115a6d8cbc899757326c34d587c1316c9926841b03e
|
|
BLAKE2b-256 checksum How to use checksums |
3b551a3914fac794ac6b3dc74e67a08da49e4e90826a164e9ddc2111a6da684b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / tacc_pytram-0.2.0-py3-none-any.whl
| Download URL | tacc_pytram-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74b46f21cdf847473a27b78d12cd51781ca93a724f10fef35925904a094dd913
|
|
BLAKE2b-256 checksum How to use checksums |
522e71882af5856eb1e9e04465b540742aea0e3cf8d2a20ac21ae308a9a14230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for tacc-pytram 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tacc_pytram-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.