Skip to main content

Stackure Python SDK

Check build PyPI version License: MIT

Stackure is sign-in and app access for your people and your partners. This SDK adds it to an ASGI or WSGI app, such as FastAPI, Flask or Django, with zero dependencies.

Install

pip install stackure

Needs Python 3.14 or later.

Quickstart

Set STACKURE_APP_ID and STACKURE_APP_SECRET from the app's page in Stackure and STACKURE_BASE_URL to your region's address, https://eu.stackure.com or https://us.stackure.com, then wrap your ASGI or WSGI app:

import stackure

app = stackure.auth()(app)

# or only /admin and everything under it
app = stackure.auth("/admin")(app)

# in a view
user = stackure.user_from_request(request)

Docs

Model

Modeled in Mappstack as the Stackure project. Every change starts in the model, then the code follows it.

License

MIT

Metadata

Release files for stackure 1.20261111.33

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

Source distribution (sdist)

Source distribution for stackure 1.20261111.33
File Size Uploaded Provenance Actions
stackure-1.20261111.33.tar.gz 22.9 kB With provenance Details for stackure-1.20261111.33.tar.gz

Built distribution (wheel)

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

Total release size: 49.7 kB

Release files / stackure-1.20261111.33.tar.gz

Download URL stackure-1.20261111.33.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
868a3c93ec80e5d8cccd30bc4e952fb696b6dbf6e112c4de7c62b76c53b064af
BLAKE2b-256 checksum
How to use checksums
bb7867885a54316d41cefc67e46da12d43852fa977877f21b01ce2bf9934ddb6
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 11, 2026.

Transparency log

Release files / stackure-1.20261111.33-py3-none-any.whl

Download URL stackure-1.20261111.33-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fbd1ef37badcc0b85d1ee8e1a7750570eb2cc093b0a1d533464a4aaa9aacb0c
BLAKE2b-256 checksum
How to use checksums
481101ddc6683e98fd946684ae27371d11488f67a14dd2338c198e65f083f07c
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 11, 2026.

Transparency log

Security for stackure 1.20261111.33

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.

Select from 2 files

Attestation for stackure-1.20261111.33.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 11, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release
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