an5-orm 1.1.0__tar.gz → 1.3.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: an5-orm
3
- Version: 1.1.0
3
+ Version: 1.3.0
4
4
  Summary: Lightweight ORM for SQL Server with Python support.
5
5
  Author: an5ORM
6
6
  License: MIT
@@ -24,7 +24,7 @@ Runtime database connections, query building, transactions, and multi-database d
24
24
  ## Features
25
25
 
26
26
  - **Schema Definition:** Define models and relationships using concise `.an5` syntax with native database types.
27
- - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, and Rust.
27
+ - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, Rust, Java, Kotlin, and Swift.
28
28
  - **Database Introspection (`db:pull`):** Inspect an existing database schema and generate matching `.an5` models.
29
29
  - **Direct Schema Push (`db:push`):** Synchronize `.an5` schema definitions directly to the database.
30
30
  - **Automated Migrations (`db:migrate`):** Diff schema against database, generate up/down migration SQL scripts, apply, rollback, and check migration status.
@@ -185,3 +185,7 @@ model Order {
185
185
  ## License
186
186
 
187
187
  MIT
188
+
189
+ ## Schema-grounded code requests
190
+
191
+ The `@an5/orm/generator` export `prepareCodeRequest({ request, projectRoot, schemaPath, language: 'auto' })` returns `context_ready` with schema models and real generated API references for the caller's AI model. It generates reference files in temporary storage and cleans them afterward. `detectCodeLanguage` reads language manifests in the selected project directory and rejects ambiguous or missing markers. This API does not call an LLM, execute queries, or write application code.
@@ -11,7 +11,7 @@ Runtime database connections, query building, transactions, and multi-database d
11
11
  ## Features
12
12
 
13
13
  - **Schema Definition:** Define models and relationships using concise `.an5` syntax with native database types.
14
- - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, and Rust.
14
+ - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, Rust, Java, Kotlin, and Swift.
15
15
  - **Database Introspection (`db:pull`):** Inspect an existing database schema and generate matching `.an5` models.
16
16
  - **Direct Schema Push (`db:push`):** Synchronize `.an5` schema definitions directly to the database.
17
17
  - **Automated Migrations (`db:migrate`):** Diff schema against database, generate up/down migration SQL scripts, apply, rollback, and check migration status.
@@ -172,3 +172,7 @@ model Order {
172
172
  ## License
173
173
 
174
174
  MIT
175
+
176
+ ## Schema-grounded code requests
177
+
178
+ The `@an5/orm/generator` export `prepareCodeRequest({ request, projectRoot, schemaPath, language: 'auto' })` returns `context_ready` with schema models and real generated API references for the caller's AI model. It generates reference files in temporary storage and cleans them afterward. `detectCodeLanguage` reads language manifests in the selected project directory and rejects ambiguous or missing markers. This API does not call an LLM, execute queries, or write application code.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "an5-orm"
7
- version = "1.1.0"
7
+ version = "1.3.0"
8
8
  description = "Lightweight ORM for SQL Server with Python support."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: an5-orm
3
- Version: 1.1.0
3
+ Version: 1.3.0
4
4
  Summary: Lightweight ORM for SQL Server with Python support.
5
5
  Author: an5ORM
6
6
  License: MIT
@@ -24,7 +24,7 @@ Runtime database connections, query building, transactions, and multi-database d
24
24
  ## Features
25
25
 
26
26
  - **Schema Definition:** Define models and relationships using concise `.an5` syntax with native database types.
27
- - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, and Rust.
27
+ - **Multi-Language Generator:** Generate typed clients and entity models for TypeScript, Python, .NET (C#), Golang, Rust, Java, Kotlin, and Swift.
28
28
  - **Database Introspection (`db:pull`):** Inspect an existing database schema and generate matching `.an5` models.
29
29
  - **Direct Schema Push (`db:push`):** Synchronize `.an5` schema definitions directly to the database.
30
30
  - **Automated Migrations (`db:migrate`):** Diff schema against database, generate up/down migration SQL scripts, apply, rollback, and check migration status.
@@ -185,3 +185,7 @@ model Order {
185
185
  ## License
186
186
 
187
187
  MIT
188
+
189
+ ## Schema-grounded code requests
190
+
191
+ The `@an5/orm/generator` export `prepareCodeRequest({ request, projectRoot, schemaPath, language: 'auto' })` returns `context_ready` with schema models and real generated API references for the caller's AI model. It generates reference files in temporary storage and cleans them afterward. `detectCodeLanguage` reads language manifests in the selected project directory and rejects ambiguous or missing markers. This API does not call an LLM, execute queries, or write application code.
File without changes
File without changes