Skip to main content

WorkOS Python Library

PyPI Build Status

The WorkOS library for Python provides convenient access to the WorkOS API from applications written in Python, hosted on PyPi

Documentation

See the API Reference for Python usage examples.

Installation

To install from PyPi, run the following:

pip install workos

To install from source, clone the repo and run the following:

python setup.py install

Configuration

The package will need to be configured with your api key at a minimum and client id if you plan on using SSO:

import workos

workos.api_key = "sk_1234"
workos.client_id = "client_1234"

SDK Versioning

For our SDKs WorkOS follows a Semantic Versioning (SemVer) process where all releases will have a version X.Y.Z (like 1.0.0) pattern wherein Z would be a bug fix (e.g., 1.0.1), Y would be a minor release (1.1.0) and X would be a major release (2.0.0). We permit any breaking changes to only be released in major versions and strongly recommend reading changelogs before making any major version upgrades.

Beta Releases

WorkOS has features in Beta that can be accessed via Beta releases. We would love for you to try these and share feedback with us before these features reach general availability (GA). To install a Beta version, please follow the installation steps above using the Beta release version.

Note: there can be breaking changes between Beta versions. Therefore, we recommend pinning the package version to a specific version. This way you can install the same version each time without breaking changes unless you are intentionally looking for the latest Beta version.

We highly recommend keeping an eye on when the Beta feature you are interested in goes from Beta to stable so that you can move to using the stable version.

More Information

Download files

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

Source Distribution

workos-4.16.0.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

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

workos-4.16.0-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file workos-4.16.0.tar.gz.

File metadata

  • Download URL: workos-4.16.0.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for workos-4.16.0.tar.gz
Algorithm Hash digest
SHA256 7fcb763b4fb7b8a2282707079014a316fb4cca4e281e644d8557203e57caab14
MD5 8e185451fbe5b2392770e76ef1d5c6ea
BLAKE2b-256 b1bf4f6c7f57d56fc76ea31069fa2d5944a4f70967587d91aa0c20b2a2b7ba65

See more details on using hashes here.

Provenance

The following attestation bundles were made for workos-4.16.0.tar.gz:

Publisher: release.yml on workos/workos-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file workos-4.16.0-py3-none-any.whl.

File metadata

  • Download URL: workos-4.16.0-py3-none-any.whl
  • Upload date:
  • Size: 38.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for workos-4.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9d6f41036a62b21c385d3b1ef018fe755d1ab210a3e57e2ee04e8a1991e0c2
MD5 2cf4368ee596fc6897aa0cc1790764a2
BLAKE2b-256 1ed775b4b532a81c217d5e215b3a62a129a832d0f0ce869f648344aae9124544

See more details on using hashes here.

Provenance

The following attestation bundles were made for workos-4.16.0-py3-none-any.whl:

Publisher: release.yml on workos/workos-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

10.2.0

2 files

10.1.1

2 files

10.1.0

2 files

10.0.1

2 files

10.0.0

2 files

9.1.0

2 files

9.0.0

2 files

8.3.0

2 files

8.2.0

2 files

8.1.0

2 files

8.0.0

2 files

7.0.1

2 files

7.0.0

2 files

6.2.0

2 files

6.1.0

2 files

6.0.8

2 files

6.0.7

2 files

6.0.6

2 files

6.0.5

2 files

6.0.4

2 files

6.0.3

2 files

6.0.2

2 files

6.0.1

2 files

6.0.0

2 files

5.46.0

2 files

5.45.0

2 files

5.44.0

2 files

5.43.0

2 files

5.42.1

2 files

5.42.0

2 files

5.41.0

2 files

5.40.1

2 files

5.40.0

2 files

5.39.1

2 files

5.39.0

2 files

5.38.1

2 files

5.38.0

2 files

5.37.0

2 files

5.36.0

2 files

5.35.0

2 files

5.34.1

2 files

5.33.0

2 files

5.32.0

2 files

5.31.2

2 files

5.31.1

2 files

5.31.0

2 files

5.30.0

2 files

5.29.0

2 files

5.28.0

2 files

5.27.0

2 files

5.26.1

2 files

5.26.0

2 files

5.24.0

2 files

5.23.0

2 files

5.22.0

2 files

5.21.0

2 files

5.20.2

2 files

5.20.1

2 files

5.20.0

2 files

5.19.1

2 files

5.19.0

2 files

5.18.1

2 files

5.18.0

2 files

5.17.0

2 files

5.16.0

2 files

5.15.1

2 files

5.15.0

2 files

5.14.0

2 files

5.13.1

2 files

5.13.0

2 files

5.12.1

2 files

5.12.0

2 files

5.11.1

2 files

5.11.0

2 files

5.10.0

2 files

5.9.1

2 files

5.9.0

2 files

5.8.0

2 files

5.7.0

2 files

5.6.0

2 files

5.5.1

2 files

5.5.0

2 files

5.4.4

2 files

5.4.3

2 files

5.4.2

2 files

5.4.1

2 files

5.4.0

2 files

5.3.0

2 files

5.2.0

2 files

5.1.0

2 files

5.0.2

2 files

5.0.1

2 files

5.0.0

2 files

This release

4.16.0 This release

2 files

4.15.0

2 files

4.14.0

2 files

4.13.0

2 files

4.12.0

2 files

4.11.0

2 files

4.10.0

2 files

4.9.0

2 files

4.8.0

2 files

4.7.0

2 files

4.6.0

2 files

4.5.0

2 files

4.4.0

2 files

4.3.1

2 files

4.3.0

2 files

4.2.0

2 files

4.1.0

2 files

4.0.0

2 files

3.1.0

2 files

3.0.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.26.0

2 files

1.25.0

2 files

1.24.0

2 files

1.23.3

2 files

1.23.0

2 files

1.22.0

2 files

1.21.0

2 files

1.20.2

2 files

1.20.1

2 files

1.20.0

2 files

1.19.0

2 files

1.18.0

2 files

1.17.0

2 files

1.16.0

2 files

1.15.1

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.8.7

2 files

0.8.6

2 files

0.8.5

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

1 file

0.1.0

2 files

0.0.1

2 files

Supported by

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