Skip to main content

tallia

The Python SDK for the Tallia API: cited tax research, your firm's documents, document review and UK company data, from your own systems.

The Tallia API is in early access. If your firm would like access, email info@tallia.ai.

You need an API key. Once your firm has access, its admin creates keys in Tallia under Settings, API access. A key is shown once and is a secret for your servers.

pip install tallia
from tallia import Tallia

with Tallia() as client:  # reads TALLIA_API_KEY from the environment
    me = client.me()
    print(me.data.firm.name)

    job = client.research.run("When is a close company's loan to a participator taxed under s455 CTA 2010?")
    if job.status == "needs_clarification":
        for q in job.questions:  # answer with client.research.answer(job.job_id, {q.id: "..."}), then wait
            print(q.prompt)
    else:
        print(job.result.answer)
        for source in job.result.sources:
            print(source)

The SDK waits and retries a per-minute rate limit and raises RateLimitError at once on a per-day limit. Every error is a subclass of TalliaError carrying code, status and request_id.

The API is plain HTTPS with a Bearer key, so any HTTP client works too:

curl -s https://api.tallia.ai/me -H "Authorization: Bearer $TALLIA_API_KEY"

Python 3.10 or later.

Answers are research to support your work, not tax or other professional advice, so review them before you rely on them. Use of the API is covered by your firm's agreement with Revax Technologies Limited (https://tallia.ai/terms). This SDK's code is under the MIT licence.

Metadata

Release files for tallia 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tallia 0.1.0
File Size Uploaded
tallia-0.1.0.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tallia 0.1.0
File Interpreter ABI Platform
tallia-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.0 kB

Release files / tallia-0.1.0.tar.gz

Download URL tallia-0.1.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
690c155bae12ecee51a3ffcf839d63d99970cec9360e78797adb36d6e3b84cab
BLAKE2b-256 checksum
How to use checksums
695a3d6ede7651e105bf70c49ad51b4f17738404819002ff15104fe3867fbc26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / tallia-0.1.0-py3-none-any.whl

Download URL tallia-0.1.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a0cb6afa293b72a3797a5152af29d57e81c44e125f2e40ab4a4181fb9291e75
BLAKE2b-256 checksum
How to use checksums
7a9d421b44ed5f3e843fc9f306eb96e6807275556d659fbd701a1b68fcbab4b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page