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

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

Built distribution (wheel)

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

Total release size: 46.7 kB

Release files / stackure-1.20261105.31.tar.gz

Download URL stackure-1.20261105.31.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
555b7de43326333e8f4c1f5ab0b6121537340d7a2cc081058035106a91240925
BLAKE2b-256 checksum
How to use checksums
867395e015d1781c6354114018ba6f19593c26fcbfeeaea1bb8605ab1f8031e4
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 5, 2026.

Transparency log

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

Download URL stackure-1.20261105.31-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16cf1448a0fb4467b58e3b82037ab151219034a413142f923f21d04e71567b04
BLAKE2b-256 checksum
How to use checksums
a7b9bd0d85851a74233630d04f280df0aa3a19516ccf19bd8c0ef5e8779c6d9d
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 5, 2026.

Transparency log

Security for stackure 1.20261105.31

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.20261105.31.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 5, 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