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

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.30
File Size Uploaded Provenance Actions
stackure-1.20261105.30.tar.gz 21.6 kB With provenance Details for stackure-1.20261105.30.tar.gz

Built distribution (wheel)

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

Total release size: 46.4 kB

Release files / stackure-1.20261105.30.tar.gz

Download URL stackure-1.20261105.30.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
34c6fb40fd921eaa79b738f51de2877246c0a3ee96a80d267357534be1b797e8
BLAKE2b-256 checksum
How to use checksums
0b1f4acf68c93bc9f402f809f734cb683236de357d0db12e47fdd2b737fb6a9c
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.30-py3-none-any.whl

Download URL stackure-1.20261105.30-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5397dac7483384f042e8ea25fabc26260b8cb98d1897ace9c0b9c1f92436b0f1
BLAKE2b-256 checksum
How to use checksums
4b17c086c247158e6941d94fe43f1f90cc24fdd613345558444e1873cf2a8377
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.30

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