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

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.20261113.34
File Size Uploaded Provenance Actions
stackure-1.20261113.34.tar.gz 22.8 kB With provenance Details for stackure-1.20261113.34.tar.gz

Built distribution (wheel)

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

Total release size: 49.6 kB

Release files / stackure-1.20261113.34.tar.gz

Download URL stackure-1.20261113.34.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8efbf9cd8a5918b34f65357cf634dc1ba32f4cfd27c6d407f7b8dea5e7bd7545
BLAKE2b-256 checksum
How to use checksums
41ec1b240faa174216c5f51c71bf0794e098386497525a4f12214d55f6a66dae
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 13, 2026.

Transparency log

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

Download URL stackure-1.20261113.34-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc4103a9064a169d05ebea825524124baa99a7445f1fa7231e724d9dd13032cb
BLAKE2b-256 checksum
How to use checksums
9b18c3d4d16b824dcbe644b49775538c9b90ca7f8e4724188261ad9361479522
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 13, 2026.

Transparency log

Security for stackure 1.20261113.34

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.20261113.34.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 13, 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