Registry / web-framework / abstra

abstra

JSON →
library3.31.4pypypi✓ verified 84d ago

Abstra is a Python library for building web apps with Python logic, featuring a visual editor and cloud deployment. Current version: 3.30.23, released frequently (weekly).

pip install abstra
INSTALL
IMPORT
SIG · ABSTRA
A
abstra
web-frameworkpythonv3.31.4
Install
23.8s avg
Import
Disk
312MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.26.14 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 26.9s
py 3.11
✓ —
✓ 26.2s
py 3.12
✓ —
✓ 20.9s
py 3.13
✓ —
✓ 21.2s
py 3.9
✕ build_error
✕ build_error
312MB installed
● package 312MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

abstra
import abstra
from abstra import *
Wildcard imports discouraged; import the module directly.
App, forms, tables, charts
from abstra import App, forms, tables, charts
from abstra.forms import form
Abstra 3.x moved many modules to top-level package.

Minimal web app using Abstra. Run on localhost:5000.

import os import abstra from abstra import App app = App() @app.route('/') def home(): return "Hello, Abstra!" if __name__ == '__main__': app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))
abstra --version
Debug
Known issues
breakingIn v3.x, the package structure was reorganized: many submodules (e.g., abstra.forms, abstra.tables) are now exposed directly under `abstra`. Code using `from abstra.forms import form` may break.
fix
Change imports to `from abstra import forms` and use `forms.form(...)`.
affects: <3.0 to >=3.0
gotchaAbstra cloud deployment requires authentication via `abstra login`. Running in a non-interactive environment (like CI) may block unless using API tokens.
fix
Set environment variable `ABSTRA_API_TOKEN` to authenticate non-interactively.
affects: all
deprecatedThe `abstra.cli` module for custom commands is deprecated in favor of the `abstra CLI` tool installed separately.
fix
Use the `abstra` command-line tool (installed via pip) instead of Python module.
affects: <3.20.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'abstra'
Abstra not installed or installed in wrong environment.
fix
Run `pip install abstra` and ensure you are using the correct Python environment.
ImportError: cannot import name 'App' from 'abstra'
Using an older version (<3.0) where App was in a different location.
fix
Upgrade to latest with `pip install --upgrade abstra` and use `from abstra import App`.
AttributeError: module 'abstra' has no attribute 'forms'
Installed version is too old (pre-3.0) or import path is wrong.
fix
Update abstra to >=3.0 or use `from abstra.forms import form` for old versions.
Upgrade
Version history
3.31.4latest on PyPI · released Jun 17, 2026
Audit
Dependencies
flaskrequiredUnderlying web framework
requestsrequiredHTTP requests
google-authrequiredAuthentication for cloud features
Agent activity
48 hits · last 30 days
node
40
Amazon
1
OpenAI (training)
1
Resources
abstra — pip install abstra · libregistry