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

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.20261110.32
File Size Uploaded Provenance Actions
stackure-1.20261110.32.tar.gz 21.7 kB With provenance Details for stackure-1.20261110.32.tar.gz

Built distribution (wheel)

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

Total release size: 46.7 kB

Release files / stackure-1.20261110.32.tar.gz

Download URL stackure-1.20261110.32.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02f4eda1a0d24790de4277f656c30db20af5c12979ab24b255572bf15137a704
BLAKE2b-256 checksum
How to use checksums
89e0c3cd473cc74c411d8cd955efda53d44dbc6b555a2f3a62c47e32d1602196
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 10, 2026.

Transparency log

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

Download URL stackure-1.20261110.32-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b65b74f6775e5a9e17fc28e360f4feef37512f07c304412620fc1cb831295775
BLAKE2b-256 checksum
How to use checksums
fbce0de928b401dd6b6b6eb2ddb2aa428b67735906b9b8e0b255f082ebe1bbc5
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 10, 2026.

Transparency log

Security for stackure 1.20261110.32

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.20261110.32.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 10, 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