The zero-config, one-liner authentication engine for Python web frameworks.
Project description
OL-Auth (v0.1.0a1)
OL-Auth is a lightweight, zero-configuration authentication engine designed to eliminate bootstrap friction in Python web applications. By initializing the library with a single line of code, it provisions a local data store, manages password encryption, and serves responsive, system-adaptive Log in and Sign up interfaces directly into your application.
🎯 Ideal for Hackathons & Rapid Prototyping
When building prototypes or competing in hackathons, setting up authentication flows (tables, encryption, form handling, and UI styling) repeatedly eats up valuable hours. OL-Auth handles this scaffolding instantly so you can focus entirely on building your core features.
Current Status: Flask Only
⚠️ Note: OL-Auth is currently in an early Alpha development phase. It presently only supports the Flask framework and utilizes an internal, automated SQLite database.
📦 Installation (Local Development)
Since the package is in alpha and not yet published to PyPI, install it in editable mode within your virtual environment:
pip install -e .
💻 Usage Example
from flask import Flask
import olauth
app = Flask(__name__)
# Single-line initialization: automatically builds tables and mounts routes
olauth.init(app)
@app.route("/")
def home():
return 'Welcome! Visit <a href="/signup">/signup</a> to create an account.'
if __name__ == "__main__":
app.run(debug=True)
Once initialized, the library automatically registers and serves the following endpoints:
/signup— Renders the registration form and handles user creation./login— Renders the authentication form and verifies credentials.
🛠️ Upcoming Roadmap
We are actively developing the core foundation to bring this library to a stable Beta release. The immediate roadmap focuses on the following four milestones:
- Session Validation & State Handling: Integrating secure token generation and browser cookie management to keep users authenticated across page requests.
- FastAPI Engine Support: Replicating the routing injection logic via
APIRouterto support FastAPI applications. - Targeted Database Connectors: Expanding the database driver layer to allow seamless scaling by supporting connection strings for:
- PostgreSQL (Enterprise relational storage)
- MongoDB (NoSQL document storage)
- Performance Optimization: Tuning connection pooling and cryptographic work-factors to resolve initial execution slowness.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file olauth-0.1.0a1.tar.gz.
File metadata
- Download URL: olauth-0.1.0a1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63669f6076e06a32042025705f071253876610816c15103793db5b2a6be96869
|
|
| MD5 |
5d14fd42b0d890ee92ce701408d2f2ba
|
|
| BLAKE2b-256 |
08c5d46a6abadd8195cfe067c0cd24bb26e40936bfb212f70335dc74c2888903
|
Provenance
The following attestation bundles were made for olauth-0.1.0a1.tar.gz:
Publisher:
publish.yaml on kubdrabik/olauth
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olauth-0.1.0a1.tar.gz -
Subject digest:
63669f6076e06a32042025705f071253876610816c15103793db5b2a6be96869 - Sigstore transparency entry: 1692652725
- Sigstore integration time:
-
Permalink:
kubdrabik/olauth@54bbf92f6a1d901e0920a77333511448c738bdd7 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/kubdrabik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@54bbf92f6a1d901e0920a77333511448c738bdd7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file olauth-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: olauth-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88cdb579e6b40d1876b907af9c6b24fc4cee4f14c55694d715192bdfa32a2589
|
|
| MD5 |
073d486df43636d282d214d67a127cc2
|
|
| BLAKE2b-256 |
0fb7d2e0b446d0c9f5af1e098e41b538acfdea6d2517e41e441f8a4b3e422081
|
Provenance
The following attestation bundles were made for olauth-0.1.0a1-py3-none-any.whl:
Publisher:
publish.yaml on kubdrabik/olauth
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olauth-0.1.0a1-py3-none-any.whl -
Subject digest:
88cdb579e6b40d1876b907af9c6b24fc4cee4f14c55694d715192bdfa32a2589 - Sigstore transparency entry: 1692653093
- Sigstore integration time:
-
Permalink:
kubdrabik/olauth@54bbf92f6a1d901e0920a77333511448c738bdd7 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/kubdrabik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@54bbf92f6a1d901e0920a77333511448c738bdd7 -
Trigger Event:
release
-
Statement type: