r/PythonProjects2 • u/Dwengo • Mar 06 '26
I built a repo where you never write code — just describe behaviour in a markdown file and an AI agent implements it on a schedule
r/PythonProjects2 • u/Dwengo • Mar 06 '26
r/PythonProjects2 • u/Kric214 • Mar 05 '26
Hey r/Python community! I just released AetherMem v1.0, a Python library for memory continuity in AI Agents.
What it does
AetherMem solves the "memory amnesia" problem where AI Agents forget everything between sessions. It provides persistent memory with weighted indexing based on temporal decay and emotional resonance.
Key Features
Pure Python - No external dependencies beyond standard library
Virtual Write Layer - Works in read-only environments
Resonance Engine - Time-based decay (λ=0.1/day) with emotional keyword detection
Atomic Operations - Thread-safe with configurable consistency
OpenClaw Integration - Seamless integration with OpenClaw runtime
Performance
Local retrieval: <15ms
Throughput: 1000+ ops/sec (single core)
Memory: <50MB base config
Python: 3.8+ (Windows, macOS, Linux)
Installation
pip install git+https://github.com/kric030214-web/AetherMem.gitCode Example
import aethermem
from aethermem import ContinuityProtocol, create_protocol
# Two ways to create protocol
protocol = ContinuityProtocol()
protocol2 = create_protocol()
# Basic operations
context = protocol.restore_context("my_agent")
print(f"Restored context: {context}")
# Persist conversation with importance scoring
result = protocol.persist_state(
state_vector={
"user": "What's the weather?",
"assistant": "Sunny and 72°F!"
},
importance=1,
metadata={"topic": "weather"}
)
# Get protocol statistics
stats = protocol.get_protocol_stats()
print(f"Version: {stats['version']}")
print(f"Components: {stats['components']}")Project Structure
AetherMem/
├── src/aethermem/ # Main package
│ ├── core/ # VWL implementation
│ ├── resonance/ # Temporal decay engine
│ ├── integration/ # Platform adapters
│ └── utils/ # Platform detection
├── tests/ # Comprehensive test suite
├── docs/ # Architecture diagrams
├── examples/ # Usage examples
└── scripts/ # Development toolsWhy I built this
As AI Agents become more sophisticated, they need persistent memory. Existing solutions were either too heavy (full databases) or too simple (plain files). AetherMem strikes a balance with a protocol-focused approach.
License: AGPL-3.0 (open source)
Repo: https://github.com/kric030214-web/AetherMem
Would love feedback from the Python community!
r/PythonProjects2 • u/Sea-Ad7805 • Mar 05 '26
An exercise to help build the right mental model for Python data.
The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening. It's instructive to compare with these earlier exercises:
r/PythonProjects2 • u/SimulationCoder • Mar 05 '26
Hey everyone, I’m a beginner/intermediate coder working on a "ScenarioEngine" to automate clinical document formatting. I’m hitting some walls with data mapping and logic, and I would love some guidance on the best way to structure this.
I am building a local Python pipeline that takes raw scenario files (.docx/.pdf) and maps the content into a standardized Word template using Content Controls (SDTs).
Input: Raw trauma/medical scenarios (e.g., Pelvic Fractures, STEMI Megacodes).
Output: A formatted .docx and an "SME Cover" document.
Logic: I've implemented a "provenance" structure pv(...) to track if a field is input_text (from source) or ai_added (adlibbed).
Highlighting Logic: My engine currently highlights everything it touches. I only want to highlight content tagged as ai_added. If it’s a direct "A to B" transfer from the source, it should stay unhighlighted.
Mapping Accuracy: When I run the script, I’m only getting about 1% of the content transferred. I’ve switched to more structured PDF sources (HCA Resource Sheets) to try and lock down the field-to-content-control mapping, but I’m struggling to get the extraction to "stick" in the right spots.
Template Pruning: I need to delete "blank" state pages. For example, if a scenario only has States 1–4, I need the code to automatically strip out the empty placeholders for States 5–8 in the template.
Font Enforcement: Should I be enforcing font family and size strictly in the Python code, or is it better to rely entirely on the Word Template’s styles?
How do I best structure my schema_to_values function so it preserves the provenance metadata without breaking the Word document's XML structure? I’m trying to avoid partial code blocks to ensure I don’t mess up the integration.
If anyone has experience with python-docx and complex mapping, I’d appreciate any tips or snippets!
r/PythonProjects2 • u/Mysterious-Form-3681 • Mar 04 '26
ibis
A Python API that lets you write queries once and run them across multiple data backends like DuckDB, BigQuery, and Snowflake.
pygwalker
Turns a dataframe into an interactive visual exploration UI instantly.
katana
A fast and scalable web crawler often used for security testing and large-scale data discovery.
r/PythonProjects2 • u/Infinite_Cat_8780 • Mar 04 '26
Hey r/PythonProjects2 ,
If you are building LLM apps or agents in Python right now, you’ve probably hit the point where you need to stop users from passing sensitive data (PII) to OpenAI, or stop them from jailbreaking your prompts.
Writing custom regex or middleware for every single LLM call gets messy fast, and standard tracing tools (like LangSmith) only let you see the problem after it happens.
To fix this, we built a Python package that acts as a governance and observability layer: syntropy-ai.
Instead of just logging the prompts, it actively sits in your execution path (with zero added latency) and does a few things:
Auto-redacts PII: Catches emails, SSNs, credit cards, etc., before the payload goes out to the LLM provider.
Blocks Prompt Injections: Catches jailbreak attempts in real-time.
Traces everything: Logs tokens, latency, and exact costs across different models.
You can drop it into your existing LangChain/OpenAI scripts easily. We made a free tier (1,000 traces/mo) so devs can actually use it for side projects without putting down a credit card.
To try it out: pip install syntropy-ai
If anyone is currently wiring up custom middleware in Python to handle OpenAI security and logging, I’d love to know what your stack looks like and if a package like this actually saves you time.
r/PythonProjects2 • u/No_Estimate7237 • Mar 03 '26
I just released a small 2D puzzle-platformer inspired by portal mechanics that I built from scratch using pygame.
The game reimagines the Portal experience in 2D, focusing on portals, momentum, and logic-based puzzles instead of combat.
All 19 test chambers from the original game are recreated in 2D form.
Features:
🟠🟦 Fully recreated portal mechanics in 2D
🧩 All 19 test chambers
🎮 Controller support
👥 Local co-op on a single screen
🌐 Playable in the browser and as a desktop build
🛠️ Built-in level editor (desktop version only)
You can play it directly in the browser.
Would love any feedback!
r/PythonProjects2 • u/Mysterious-Form-3681 • Mar 03 '26
While working on a small ML project, I wanted to make the initial data validation step a bit faster.
Instead of going column by column to check missing values, correlations, distributions, duplicates, etc., I generated an automated profiling report from the dataframe.




It gave a pretty detailed breakdown:
Missing value patterns
Correlation heatmaps
Statistical summaries
Potential outliers
Duplicate rows
Warnings for constant/highly correlated features
I still dig into things manually afterward, but for a first pass it saves some time.
Curious....do you prefer fully manual EDA or using profiling tools for the initial sweep?
r/PythonProjects2 • u/Calm-Tourist-4710 • Mar 02 '26
Guys I need testers to my Kivy Project. This project acts like Expo Go for React Native this will help us build Kivy projects faster and even test our pyjnius scripts and any features we want to add to our Kivy projects, this works also as Kivy launcher to our projects.
r/PythonProjects2 • u/Heavy_Association633 • Mar 02 '26
I built a platform to help developers find teammates for projects.
I'm looking for 20 beta testers willing to give honest feedback.
Anyone interested?
r/PythonProjects2 • u/ApartFish4726 • Mar 01 '26
r/PythonProjects2 • u/AnshMNSoni • Mar 01 '26
Hey everyone!
I made a Python Games repo where you can:
Play simple Python games
Add your own game
Contribute and improve existing ones
Perfect for beginners who want to practice or anyone who just enjoys building fun stuff in Python.
Repo:
https://github.com/AnshMNSoni/python-games.git
Feel free to fork, add your game, or just play around 😄
Let’s make it a fun collection!