ApiLogicServer 14.3.20__py3-none-any.whl → 14.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- api_logic_server_cli/api_logic_server.py +5 -14
- api_logic_server_cli/api_logic_server_info.yaml +3 -3
- api_logic_server_cli/cli.py +52 -5
- api_logic_server_cli/create_from_model/__pycache__/create_db_from_model.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/__pycache__/ont_create.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/create_db_from_model.py +2 -0
- api_logic_server_cli/create_from_model/ont_build.py +19 -14
- api_logic_server_cli/create_from_model/ont_create.py +5 -5
- api_logic_server_cli/create_from_model/safrs-react-admin-npm-build/static/.DS_Store +0 -0
- api_logic_server_cli/database/nw-gold-fix.sql +62 -0
- api_logic_server_cli/database/nw-gold.sqlite +0 -0
- api_logic_server_cli/fragments/docker-compose.yml +27 -0
- api_logic_server_cli/genai/genai.py +43 -11
- api_logic_server_cli/genai/genai_graphics.py +379 -0
- api_logic_server_cli/genai/genai_logic_builder.py +2 -2
- api_logic_server_cli/genai/genai_svcs.py +24 -8
- api_logic_server_cli/manager.py +19 -10
- api_logic_server_cli/prototypes/.DS_Store +0 -0
- api_logic_server_cli/prototypes/base/.DS_Store +0 -0
- api_logic_server_cli/prototypes/base/.vscode/launch.json +19 -0
- api_logic_server_cli/prototypes/base/api/expose_api_models.py +3 -1
- api_logic_server_cli/prototypes/base/api_logic_server_run.py +5 -2
- api_logic_server_cli/prototypes/base/config/activate_logicbank.py +1 -0
- api_logic_server_cli/prototypes/base/config/config.py +95 -24
- api_logic_server_cli/prototypes/base/config/logging.yml +1 -0
- api_logic_server_cli/prototypes/base/config/server_setup.py +33 -1
- api_logic_server_cli/prototypes/base/database/test_data/readme.md +3 -1
- api_logic_server_cli/prototypes/base/devops/docker-standard-image/docker-compose-standard-image.yml +7 -2
- api_logic_server_cli/prototypes/base/docs/graphics/readme.md +12 -0
- api_logic_server_cli/prototypes/base/docs/training/logic_bank_api.prompt +314 -0
- api_logic_server_cli/prototypes/base/docs/training/logic_example.py +41 -0
- api_logic_server_cli/prototypes/base/integration/kafka/kafka_producer.py +7 -3
- api_logic_server_cli/prototypes/base/integration/system/FlaskKafka.py +5 -1
- api_logic_server_cli/prototypes/base/security/authentication_provider/keycloak/auth_provider.py +1 -1
- api_logic_server_cli/prototypes/base/security/declare_security.py +4 -0
- api_logic_server_cli/prototypes/base/ui/admin/admin_loader.py +3 -1
- api_logic_server_cli/prototypes/base/ui/templates/bar_chart.jinja +64 -0
- api_logic_server_cli/prototypes/genai_demo/ui/admin/admin.yaml +1 -1
- api_logic_server_cli/prototypes/manager/README.md +56 -5
- api_logic_server_cli/prototypes/manager/system/genai/.DS_Store +0 -0
- api_logic_server_cli/prototypes/manager/system/genai/examples/.DS_Store +0 -0
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/.DS_Store +0 -0
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo.prompt +0 -8
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo.response_example +90 -60
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_docs_logic/docs/002_create_db_models.prompt +4 -4
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_docs_logic/docs/003_create_db_models.response +77 -47
- api_logic_server_cli/prototypes/manager/system/genai/examples/genai_demo/genai_demo_informal.prompt +1 -1
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/dashboard_services.jinja +83 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_dashboard_WIP.py +34 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_services_api_xxx.py +32 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_services_db.jinja +46 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/graphics_services_db_each_method.jinja +36 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/html_template.jinja +76 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/index.html +19 -0
- api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/sales_by_region.jinja +63 -0
- api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/graphics.prompt +22 -0
- api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/graphics_request.prompt +5 -0
- api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/response_format.prompt +15 -0
- api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/sqlite_inserts.prompt +2 -0
- api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.ps1 +100 -0
- api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh +116 -0
- api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/readme.md +7 -0
- api_logic_server_cli/prototypes/manager/system/style-guide.yaml +2 -2
- api_logic_server_cli/prototypes/manager/webgenai/README.md +6 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/count_orders_by_category.prompt +1 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/order_count_by_month.prompt +1 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/request copy.json +892 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/request.json +6 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/response.json +17 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/response.yaml +59 -0
- api_logic_server_cli/prototypes/nw/docs/graphics/sales_by_category.prompt +1 -0
- api_logic_server_cli/prototypes/nw/ui/admin/home.js +5 -4
- api_logic_server_cli/prototypes/nw/ui/app_model_custom.yaml +851 -1082
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/count_orders_by_category.prompt +1 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/request copy.json +892 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/request.json +6 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/response.json +17 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/response.yaml +59 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/sales_by_category.prompt +1 -0
- api_logic_server_cli/prototypes/nw_no_cust/docs/graphics/sales_by_employee.prompt +1 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/1_langchain_loader.py +19 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/2_gpt_mcp_prompt.txt +19 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/3_executor_test_agent.py +38 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/README.md +17 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/resources/curl.txt +4 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/resources/nw_swagger_3.yaml +16660 -0
- api_logic_server_cli/prototypes/nw_no_cust/integration/mcp/run_executor.py +23 -0
- api_logic_server_cli/prototypes/ont_app/ontimize_seed/nginx/nginx.conf +2 -2
- api_logic_server_cli/prototypes/ont_app/ontimize_seed/package.json +6 -6
- api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/app/app.config.ts +2 -1
- api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/environments/environment.prod.ts +5 -5
- api_logic_server_cli/prototypes/ont_app/ontimize_seed/src/environments/environment.ts +5 -5
- api_logic_server_cli/prototypes/ont_app/templates/app_config.jinja +1 -1
- api_logic_server_cli/prototypes/ont_app/templates/detail_template.html +1 -1
- api_logic_server_cli/prototypes/ont_app/templates/new_template.html +16 -16
- apilogicserver-14.4.0.dist-info/METADATA +76 -0
- {apilogicserver-14.3.20.dist-info → apilogicserver-14.4.0.dist-info}/RECORD +102 -59
- {apilogicserver-14.3.20.dist-info → apilogicserver-14.4.0.dist-info}/WHEEL +1 -1
- api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/zsqlite_inserts_iterations.prompt +0 -29
- api_logic_server_cli/prototypes/manager/webgenai/docker-compose-webg.yml +0 -33
- api_logic_server_cli/prototypes/manager/webgenai/webg_config/license.json +0 -6
- api_logic_server_cli/prototypes/manager/webgenai/webg_config/web_genai.txt +0 -13
- apilogicserver-14.3.20.dist-info/METADATA +0 -167
- {apilogicserver-14.3.20.dist-info → apilogicserver-14.4.0.dist-info}/entry_points.txt +0 -0
- {apilogicserver-14.3.20.dist-info → apilogicserver-14.4.0.dist-info}/licenses/LICENSE +0 -0
- {apilogicserver-14.3.20.dist-info → apilogicserver-14.4.0.dist-info}/top_level.txt +0 -0
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: ApiLogicServer
|
|
3
|
-
Version: 14.3.20
|
|
4
|
-
Author-email: Val Huber <apilogicserver@gmail.com>
|
|
5
|
-
License: BSD-3-Clause
|
|
6
|
-
Project-URL: Homepage, https://apilogicserver.github.io/Docs/
|
|
7
|
-
Project-URL: Source, https://github.com/ApiLogicServer/ApiLogicServer-src
|
|
8
|
-
Project-URL: Issues, https://github.com/ApiLogicServer/ApiLogicServer-src/issues
|
|
9
|
-
Keywords: Flask,SQLAlchemy,Rules,WebApp,Microservice,ReactAdmin,Angular
|
|
10
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
-
Classifier: Environment :: Web Environment
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
20
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
-
Requires-Python: >=3.10
|
|
22
|
-
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE
|
|
24
|
-
Requires-Dist: PyJWT==2.6.0
|
|
25
|
-
Requires-Dist: python-dateutil==2.8.2
|
|
26
|
-
Requires-Dist: SQLAlchemy-Utils==0.38.2
|
|
27
|
-
Requires-Dist: logicbankutils==0.6.0
|
|
28
|
-
Requires-Dist: inflect==5.0.2
|
|
29
|
-
Requires-Dist: inflection==0.5.1
|
|
30
|
-
Requires-Dist: Flask==2.3.2
|
|
31
|
-
Requires-Dist: Flask-Cors==3.0.10
|
|
32
|
-
Requires-Dist: Flask-RESTful>=0.3.9
|
|
33
|
-
Requires-Dist: flask-restful-swagger-2>=0.35
|
|
34
|
-
Requires-Dist: Flask-SQLAlchemy==3.0.3
|
|
35
|
-
Requires-Dist: flask-swagger-ui>=4.11.1
|
|
36
|
-
Requires-Dist: flask_bcrypt==1.0.1
|
|
37
|
-
Requires-Dist: itsdangerous==2.1.2
|
|
38
|
-
Requires-Dist: Jinja2==3.1.5
|
|
39
|
-
Requires-Dist: MarkupSafe==2.1.3
|
|
40
|
-
Requires-Dist: six==1.16.0
|
|
41
|
-
Requires-Dist: SQLAlchemy==2.0.15
|
|
42
|
-
Requires-Dist: Werkzeug==2.3.3
|
|
43
|
-
Requires-Dist: safrs>=3.1.6
|
|
44
|
-
Requires-Dist: Flask-Admin==1.5.7
|
|
45
|
-
Requires-Dist: Flask-JWT-Extended==4.4.4
|
|
46
|
-
Requires-Dist: Flask-Login==0.6.2
|
|
47
|
-
Requires-Dist: Flask-OpenID==1.3.0
|
|
48
|
-
Requires-Dist: python-dotenv==0.15.0
|
|
49
|
-
Requires-Dist: email-validator==1.1.1
|
|
50
|
-
Requires-Dist: LogicBank>=1.20.26
|
|
51
|
-
Requires-Dist: cryptography==36.0.1
|
|
52
|
-
Requires-Dist: rsa
|
|
53
|
-
Requires-Dist: PyMySQL==1.0.3
|
|
54
|
-
Requires-Dist: oracledb==2.1.2
|
|
55
|
-
Requires-Dist: requests==2.31.0
|
|
56
|
-
Requires-Dist: gunicorn==20.1.0
|
|
57
|
-
Requires-Dist: psycopg2-binary==2.9.9
|
|
58
|
-
Requires-Dist: dotmap==1.3.25
|
|
59
|
-
Requires-Dist: WTForms==2.3.3
|
|
60
|
-
Requires-Dist: behave==1.2.6
|
|
61
|
-
Requires-Dist: alembic==1.7.7
|
|
62
|
-
Requires-Dist: python-ulid==2.7.0
|
|
63
|
-
Requires-Dist: psutil==6.0.0
|
|
64
|
-
Requires-Dist: pandas==2.2.2
|
|
65
|
-
Requires-Dist: openpyxl==3.1.5
|
|
66
|
-
Requires-Dist: GeoAlchemy2==0.12.5
|
|
67
|
-
Requires-Dist: confluent-kafka==2.3.0
|
|
68
|
-
Requires-Dist: translate==3.6.1
|
|
69
|
-
Requires-Dist: libretranslatepy==2.1.1
|
|
70
|
-
Requires-Dist: reportlab==4.2.0
|
|
71
|
-
Requires-Dist: xlsxwriter==3.2.0
|
|
72
|
-
Requires-Dist: natsort==8.4.0
|
|
73
|
-
Requires-Dist: astor==0.8.1
|
|
74
|
-
Requires-Dist: colorama==0.4.6
|
|
75
|
-
Requires-Dist: openai==1.55.3
|
|
76
|
-
Dynamic: license-file
|
|
77
|
-
|
|
78
|
-
[](https://pepy.tech/project/apilogicserver)
|
|
79
|
-
[](https://pypi.python.org/pypi/apilogicserver/)
|
|
80
|
-
[](https://pypi.python.org/pypi/apilogicserver/)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
# TL;DR
|
|
85
|
-
|
|
86
|
-
Create an executable project (API and Admin App) from a database or natural language prompt with 1 command, customize with declarative rules and Python in your IDE, containerize and deploy.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<details markdown>
|
|
91
|
-
|
|
92
|
-
<summary>Video Overview (4 min)</summary>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
See how **Microservice Automation** creates and runs a microservice - a multi-page app, and an API.
|
|
97
|
-
|
|
98
|
-
* Here is a microservice -- api and admin app -- **created / running in 5 seconds**
|
|
99
|
-
|
|
100
|
-
* It would be similar for your databases
|
|
101
|
-
|
|
102
|
-
* Then, customize in your IDE with Python and **Logic Automation:** spreadsheet-like rules
|
|
103
|
-
|
|
104
|
-
[](https://www.youtube.com/watch?v=7I33Fa9Ulos "Microservice Automation")
|
|
105
|
-
|
|
106
|
-
</details>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
# Quickstart
|
|
111
|
-
|
|
112
|
-
If you have a supported Python (version 3.10 - 3.12), install is standard, typically:
|
|
113
|
-
|
|
114
|
-
```bash title="Install API Logic Server in a Virtual Environment"
|
|
115
|
-
python3 -m venv venv # windows: python -m venv venv
|
|
116
|
-
source venv/bin/activate # windows: venv\Scripts\activate
|
|
117
|
-
python -m pip install ApiLogicServer
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
<br>Now, verify it's working - open the Project Manager for instructions (readme), and run the demo:
|
|
121
|
-
|
|
122
|
-
```bash title="Start Manager"
|
|
123
|
-
ApiLogicServer start
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
Find the [user documentation here](https://apilogicserver.github.io/Docs/). Use this for normal installation, to create and customize API Logic Projects.
|
|
127
|
-
|
|
128
|
-
To install the ***dev*** version, [see here](https://apilogicserver.github.io/Docs/Architecture-Internals). This installs the source of API Logic Server, so you can explore or extend it.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
# Welcome to API Logic Server
|
|
133
|
-
|
|
134
|
-
For Developers and their organizations seeking to **increase business agility,**
|
|
135
|
-
|
|
136
|
-
API Logic Server provides ***Microservice Automation:*** create executable projects with 1 command:
|
|
137
|
-
|
|
138
|
-
1. ***API Automation:*** crud for each table, with pagination, optimistic locking, filtering and sorting, and
|
|
139
|
-
|
|
140
|
-
2. ***App Automation:*** a multi-page, multi-table Admin App. <br>
|
|
141
|
-
|
|
142
|
-
**Customize in your IDE:** use standard tools (Python, Flask, SQLAlchemy, GitHub and Docker), plus<br>
|
|
143
|
-
|
|
144
|
-
3. ***Logic Automation:*** unique **rules - 40X** more concise multi-table derivations and constraints.
|
|
145
|
-
|
|
146
|
-
Unlike frameworks, weeks-to-months of complex development is no longer necessary. <br>
|
|
147
|
-
API Logic Server provides unique automation **for instant integrations and app backends**.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
For more information, including install procedures, [please see the docs](https://apilogicserver.github.io/Docs/).
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Making Contributions
|
|
157
|
-
|
|
158
|
-
This is an open source project. We are open to suggestions. Some of our ideas include:
|
|
159
|
-
|
|
160
|
-
| Component | Provides | Consider Adding |
|
|
161
|
-
|:---------------------------|:-----------------|:-------------------------------------------------------------------------------|
|
|
162
|
-
| 1. JSON:**API** and Swagger | API Execution | Serverless, Kubernetes |
|
|
163
|
-
| 2. Transactional **Logic** | Rule Enforcement | Recompute Derivations |
|
|
164
|
-
| 3. This project | API Logic Project Creation | General support - see issues |
|
|
165
|
-
| 3. GenAI | Web version | Create projects with logic |
|
|
166
|
-
|
|
167
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|