INFERRA Platform is a Python/Flask rule and inference service prototype. It stores rule text and history in a SQLAlchemy-backed database, parses rule files, and exposes rule and inference endpoints from app.py.
- Public repository:
DeanLee77/INFERRA-platform - Default branch:
main - Current intake baseline before README/licensing cleanup:
236ff18 - Release context: this repository is being reviewed for INFERRA AXIOM/AEGIS readiness. Do not use this repository as a public release, sales-demo, or customer-facing artifact until the release and IP gates are complete.
- Python 3.9
- Pipenv
- PostgreSQL-compatible database available through
SQLALCHEMY_DATABASE_URI
pip install pipenv
pipenv install
Copy-Item project/.env.example project/.env
pipenv run python app.pyBefore running the service, edit project/.env with local development values. Do not commit real environment files or secrets.
pipenv run pytestThe test tree currently lives under the project/**/test_*.py paths.
The application reads these environment variables:
SQLALCHEMY_DATABASE_URISECRET_KEYSESSION_TYPE
Use project/.env.example as the template for local development configuration.
No open-source license is currently granted for this repository.
Until INFERRA Legal/IP approves and publishes a LICENSE file or equivalent written licensing terms, the code and documentation in this public repository should be treated as proprietary INFERRA material with all rights reserved. Viewing the public repository does not grant permission to copy, modify, distribute, sublicense, or use it in another product.
Third-party package dependencies are declared in Pipfile and Pipfile.lock. Their licenses still need Legal/IP review before any release packaging, distribution, or public demo claim relies on this repository.
- Keep real
.envfiles local and out of git. - Rotate any credential that was ever committed to this public repository before using connected environments.
- Do not add production secrets, customer data, private datasets, or unpublished patent-enabling disclosure to this repository without explicit approval.