Skip to main content

Type-safe Python client for the Growth.Talent API. Auto-generated from OpenAPI 3.1, async + sync, dataclass-typed, ships with httpx.

Project description

growthtalent

PyPI version License: MIT Python: 3.9+

Type-safe Python client for the Growth.Talent API. Auto-generated from the OpenAPI 3.1 spec, works in async + sync, dataclass-typed models, ships with httpx.

Install

pip install growthtalent
# or
uv add growthtalent
# or
poetry add growthtalent

Quickstart

Public read (no API key)

from growthtalent import Client
from growthtalent.api.default import get_jobs

with Client(base_url="https://www.growthtalent.org/api/v1") as client:
    response = get_jobs.sync_detailed(client=client, q="head of growth", market="usa", limit=5)
    print(response.parsed)

Authenticated (apply, post, profile)

from growthtalent import AuthenticatedClient
from growthtalent.api.default import get_me, post_applications
from growthtalent.models import PostApplicationsBody

with AuthenticatedClient(
    base_url="https://www.growthtalent.org/api/v1",
    token="gt_live_...",  # from /settings/api-keys
) as client:
    me = get_me.sync(client=client)
    print(f"Signed in as {me.candidate.name}")

    result = post_applications.sync(
        client=client,
        body=PostApplicationsBody(
            job_slug_or_id="head-of-growth-the-mobile-first-company",
            message="Hi — built growth at Spendesk #4 to unicorn.",
            via="magic",
        ),
    )
    print(result)

Async

Every endpoint also exposes .asyncio and .asyncio_detailed variants:

import asyncio
from growthtalent import Client
from growthtalent.api.default import get_jobs

async def main():
    async with Client(base_url="https://www.growthtalent.org/api/v1") as client:
        jobs = await get_jobs.asyncio(client=client, q="growth", limit=5)
        print(jobs)

asyncio.run(main())

What you get

  • Every endpoint as a typed function (get_jobs, patch_me, post_applications, …) with sync + async variants
  • Full request/response models as attrs dataclasses (Candidate, JobShort, JobFull, …)
  • httpx under the hood — supports custom transports, retries, proxy, mTLS
  • Works in Python 3.9+

Auth

Mint a key at https://www.growthtalent.org/settings/api-keys (verified Growth.Talent members only). Keys are SHA-256 hashed at rest, plaintext shown once. Pass via AuthenticatedClient(token="gt_live_...").

Regenerate from latest spec

This client is auto-generated. To rebuild:

uvx --from openapi-python-client openapi-python-client generate \
  --url https://www.growthtalent.org/api/v1/openapi.json \
  --output-path . \
  --overwrite

Then update pyproject.toml to match the metadata above.

License

MIT — © The Mobile First Company

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

growthtalent-0.1.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

growthtalent-0.1.0-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file growthtalent-0.1.0.tar.gz.

File metadata

  • Download URL: growthtalent-0.1.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for growthtalent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8571bf369f5b7f9fc85774cf0ff505073fd9a9ad7def8e24b392df808382317a
MD5 3b042b980fa4e076230f49b9e8cde658
BLAKE2b-256 41a60ab6b23ca050acd52921b87405253c489daa5db054dae4a1f09729281641

See more details on using hashes here.

File details

Details for the file growthtalent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: growthtalent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 53.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for growthtalent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08461b1e24d5b0df273c71eb868b222e4cb5926813ea4ec64941768fcc53820e
MD5 5cc686e0cc798205629546fbfa875697
BLAKE2b-256 8e3f514a5196af8b16b0124806d7ef2e8e1938d5719bbd6476c672f1bda5e8e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page