flashorm 2.4.3__tar.gz → 2.4.6__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: flashorm
3
- Version: 2.4.3
3
+ Version: 2.4.6
4
4
  Summary: A powerful, database-agnostic ORM with multi-database support and type-safe code generation
5
5
  Home-page: https://github.com/Lumos-Labs-HQ/flash
6
6
  Author: Rana718
@@ -31,13 +31,14 @@ A powerful, database-agnostic migration CLI tool built in Go with multi-database
31
31
 
32
32
  ## ✨ Features
33
33
 
34
- - 🎨 **FlashORM Studio**: Visual database editor with React-based schema visualization
35
- - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite
36
- - 🔄 **Migration Management**: Create, apply, and track migrations
34
+ - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite, ScyllaDB / Cassandra, ClickHouse
35
+ - 🔄 **Migration Management**: Create, apply, rollback, and track migrations
36
+ - 🌿 **Schema Branching**: Git-like branching for database schemas
37
+ - 🌱 **Database Seeding**: Generate realistic fake data for development
37
38
  - 🔒 **Safe Migration System**: Transaction-based execution with automatic rollback
38
39
  - 📤 **Smart Export System**: Multiple formats (JSON, CSV, SQLite)
39
- - 🔧 **Type-Safe Code Generation**: Generate fully typed JavaScript/TypeScript code
40
- - ⚡ **Blazing Fast**: 2.5x faster than Drizzle, 10x faster than Prisma
40
+ - 🔧 **Type-Safe Code Generation**: Generate fully typed Python code with async/sync support
41
+ - ⚡ **Blazing Fast**: 2.8x faster than Drizzle, 11.9x faster than Prisma
41
42
  - 💻 **Raw SQL Execution**: Execute SQL files or inline queries
42
43
  - 🎯 **Prisma-like Commands**: Familiar CLI interface
43
44
 
@@ -67,7 +68,7 @@ pip install flashorm
67
68
  ### 1. Initialize Project
68
69
 
69
70
  ```bash
70
- flash init --postgresql # or --mysql, --sqlite
71
+ flash init --postgresql # or --mysql, --sqlite, --scylla, --clickhouse
71
72
  ```
72
73
 
73
74
  This creates:
@@ -226,7 +227,8 @@ if __name__ == '__main__':
226
227
  ### Visual Database Editor
227
228
 
228
229
  ```bash
229
- # Launch FlashORM Studio (web-based database editor)
230
+ # Launch FlashORM Studio (web-based database editor for PostgreSQL, MySQL, SQLite,
231
+ # ScyllaDB, ClickHouse, MongoDB, and Redis)
230
232
  flash studio
231
233
 
232
234
  # Launch on custom port
@@ -254,6 +256,8 @@ flash studio --browser=false
254
256
  flash init --postgresql
255
257
  flash init --mysql
256
258
  flash init --sqlite
259
+ flash init --scylla
260
+ flash init --clickhouse
257
261
  ```
258
262
 
259
263
  ### Migrations
@@ -309,6 +313,39 @@ flash export --csv
309
313
  flash export --sqlite
310
314
  ```
311
315
 
316
+ ### Database Seeding
317
+
318
+ ```bash
319
+ # Seed all tables with default count
320
+ flash seed
321
+
322
+ # Seed with custom count
323
+ flash seed --count 100
324
+
325
+ # Seed specific tables with different counts
326
+ flash seed users:100 posts:500
327
+
328
+ # Truncate before seeding
329
+ flash seed --truncate --force
330
+ ```
331
+
332
+ ### Schema Branching
333
+
334
+ ```bash
335
+ # Create a feature branch
336
+ flash branch create feature/new-schema
337
+
338
+ # Switch between branches
339
+ flash checkout feature/new-schema
340
+ flash checkout main
341
+
342
+ # List branches
343
+ flash branch list
344
+
345
+ # Merge branches
346
+ flash branch merge feature/new-schema
347
+ ```
348
+
312
349
  ### Database Operations
313
350
 
314
351
  ```bash
@@ -539,15 +576,13 @@ $ flash raw -q "SELECT id, name, email FROM users LIMIT 3"
539
576
  └────┴────────────┴─────────────────────┘
540
577
  ```
541
578
 
542
- d
543
-
544
579
  ## 📚 Examples
545
580
 
546
581
  Check out complete examples:
547
582
 
548
583
  - [Python Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/python)
549
- - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
550
584
  - [Go Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/go)
585
+ - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
551
586
 
552
587
  ## 🐛 Troubleshooting
553
588
 
@@ -586,9 +621,9 @@ flash studio --port 3000
586
621
 
587
622
  - **Visual Database Editor**: Manage your database visually with FlashORM Studio
588
623
  - **Raw SQL Support**: Execute SQL files or queries directly from CLI
589
- - **Type-Safe**: Full TypeScript support with generated types
590
- - **Fast**: 2.5x-10x faster than popular ORMs
591
- - **Multi-DB**: PostgreSQL, MySQL, and SQLite support
624
+ - **Type-Safe**: Full Python type hints with generated types (async + sync)
625
+ - **Fast**: 2.8x-11.9x faster than popular ORMs
626
+ - **Multi-DB**: PostgreSQL, MySQL, SQLite, ScyllaDB, Cassandra, ClickHouse
592
627
  - **Zero Config**: Works out of the box with sensible defaults
593
628
 
594
629
  ## 📄 License
@@ -4,13 +4,14 @@ A powerful, database-agnostic migration CLI tool built in Go with multi-database
4
4
 
5
5
  ## ✨ Features
6
6
 
7
- - 🎨 **FlashORM Studio**: Visual database editor with React-based schema visualization
8
- - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite
9
- - 🔄 **Migration Management**: Create, apply, and track migrations
7
+ - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite, ScyllaDB / Cassandra, ClickHouse
8
+ - 🔄 **Migration Management**: Create, apply, rollback, and track migrations
9
+ - 🌿 **Schema Branching**: Git-like branching for database schemas
10
+ - 🌱 **Database Seeding**: Generate realistic fake data for development
10
11
  - 🔒 **Safe Migration System**: Transaction-based execution with automatic rollback
11
12
  - 📤 **Smart Export System**: Multiple formats (JSON, CSV, SQLite)
12
- - 🔧 **Type-Safe Code Generation**: Generate fully typed JavaScript/TypeScript code
13
- - ⚡ **Blazing Fast**: 2.5x faster than Drizzle, 10x faster than Prisma
13
+ - 🔧 **Type-Safe Code Generation**: Generate fully typed Python code with async/sync support
14
+ - ⚡ **Blazing Fast**: 2.8x faster than Drizzle, 11.9x faster than Prisma
14
15
  - 💻 **Raw SQL Execution**: Execute SQL files or inline queries
15
16
  - 🎯 **Prisma-like Commands**: Familiar CLI interface
16
17
 
@@ -40,7 +41,7 @@ pip install flashorm
40
41
  ### 1. Initialize Project
41
42
 
42
43
  ```bash
43
- flash init --postgresql # or --mysql, --sqlite
44
+ flash init --postgresql # or --mysql, --sqlite, --scylla, --clickhouse
44
45
  ```
45
46
 
46
47
  This creates:
@@ -199,7 +200,8 @@ if __name__ == '__main__':
199
200
  ### Visual Database Editor
200
201
 
201
202
  ```bash
202
- # Launch FlashORM Studio (web-based database editor)
203
+ # Launch FlashORM Studio (web-based database editor for PostgreSQL, MySQL, SQLite,
204
+ # ScyllaDB, ClickHouse, MongoDB, and Redis)
203
205
  flash studio
204
206
 
205
207
  # Launch on custom port
@@ -227,6 +229,8 @@ flash studio --browser=false
227
229
  flash init --postgresql
228
230
  flash init --mysql
229
231
  flash init --sqlite
232
+ flash init --scylla
233
+ flash init --clickhouse
230
234
  ```
231
235
 
232
236
  ### Migrations
@@ -282,6 +286,39 @@ flash export --csv
282
286
  flash export --sqlite
283
287
  ```
284
288
 
289
+ ### Database Seeding
290
+
291
+ ```bash
292
+ # Seed all tables with default count
293
+ flash seed
294
+
295
+ # Seed with custom count
296
+ flash seed --count 100
297
+
298
+ # Seed specific tables with different counts
299
+ flash seed users:100 posts:500
300
+
301
+ # Truncate before seeding
302
+ flash seed --truncate --force
303
+ ```
304
+
305
+ ### Schema Branching
306
+
307
+ ```bash
308
+ # Create a feature branch
309
+ flash branch create feature/new-schema
310
+
311
+ # Switch between branches
312
+ flash checkout feature/new-schema
313
+ flash checkout main
314
+
315
+ # List branches
316
+ flash branch list
317
+
318
+ # Merge branches
319
+ flash branch merge feature/new-schema
320
+ ```
321
+
285
322
  ### Database Operations
286
323
 
287
324
  ```bash
@@ -512,15 +549,13 @@ $ flash raw -q "SELECT id, name, email FROM users LIMIT 3"
512
549
  └────┴────────────┴─────────────────────┘
513
550
  ```
514
551
 
515
- d
516
-
517
552
  ## 📚 Examples
518
553
 
519
554
  Check out complete examples:
520
555
 
521
556
  - [Python Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/python)
522
- - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
523
557
  - [Go Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/go)
558
+ - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
524
559
 
525
560
  ## 🐛 Troubleshooting
526
561
 
@@ -559,9 +594,9 @@ flash studio --port 3000
559
594
 
560
595
  - **Visual Database Editor**: Manage your database visually with FlashORM Studio
561
596
  - **Raw SQL Support**: Execute SQL files or queries directly from CLI
562
- - **Type-Safe**: Full TypeScript support with generated types
563
- - **Fast**: 2.5x-10x faster than popular ORMs
564
- - **Multi-DB**: PostgreSQL, MySQL, and SQLite support
597
+ - **Type-Safe**: Full Python type hints with generated types (async + sync)
598
+ - **Fast**: 2.8x-11.9x faster than popular ORMs
599
+ - **Multi-DB**: PostgreSQL, MySQL, SQLite, ScyllaDB, Cassandra, ClickHouse
565
600
  - **Zero Config**: Works out of the box with sensible defaults
566
601
 
567
602
  ## 📄 License
@@ -1,3 +1,3 @@
1
1
  """Flash ORM - A powerful, database-agnostic ORM"""
2
2
 
3
- __version__ = "2.4.3"
3
+ __version__ = "2.4.6"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flashorm
3
- Version: 2.4.3
3
+ Version: 2.4.6
4
4
  Summary: A powerful, database-agnostic ORM with multi-database support and type-safe code generation
5
5
  Home-page: https://github.com/Lumos-Labs-HQ/flash
6
6
  Author: Rana718
@@ -31,13 +31,14 @@ A powerful, database-agnostic migration CLI tool built in Go with multi-database
31
31
 
32
32
  ## ✨ Features
33
33
 
34
- - 🎨 **FlashORM Studio**: Visual database editor with React-based schema visualization
35
- - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite
36
- - 🔄 **Migration Management**: Create, apply, and track migrations
34
+ - 🗃️ **Multi-Database Support**: PostgreSQL, MySQL, SQLite, ScyllaDB / Cassandra, ClickHouse
35
+ - 🔄 **Migration Management**: Create, apply, rollback, and track migrations
36
+ - 🌿 **Schema Branching**: Git-like branching for database schemas
37
+ - 🌱 **Database Seeding**: Generate realistic fake data for development
37
38
  - 🔒 **Safe Migration System**: Transaction-based execution with automatic rollback
38
39
  - 📤 **Smart Export System**: Multiple formats (JSON, CSV, SQLite)
39
- - 🔧 **Type-Safe Code Generation**: Generate fully typed JavaScript/TypeScript code
40
- - ⚡ **Blazing Fast**: 2.5x faster than Drizzle, 10x faster than Prisma
40
+ - 🔧 **Type-Safe Code Generation**: Generate fully typed Python code with async/sync support
41
+ - ⚡ **Blazing Fast**: 2.8x faster than Drizzle, 11.9x faster than Prisma
41
42
  - 💻 **Raw SQL Execution**: Execute SQL files or inline queries
42
43
  - 🎯 **Prisma-like Commands**: Familiar CLI interface
43
44
 
@@ -67,7 +68,7 @@ pip install flashorm
67
68
  ### 1. Initialize Project
68
69
 
69
70
  ```bash
70
- flash init --postgresql # or --mysql, --sqlite
71
+ flash init --postgresql # or --mysql, --sqlite, --scylla, --clickhouse
71
72
  ```
72
73
 
73
74
  This creates:
@@ -226,7 +227,8 @@ if __name__ == '__main__':
226
227
  ### Visual Database Editor
227
228
 
228
229
  ```bash
229
- # Launch FlashORM Studio (web-based database editor)
230
+ # Launch FlashORM Studio (web-based database editor for PostgreSQL, MySQL, SQLite,
231
+ # ScyllaDB, ClickHouse, MongoDB, and Redis)
230
232
  flash studio
231
233
 
232
234
  # Launch on custom port
@@ -254,6 +256,8 @@ flash studio --browser=false
254
256
  flash init --postgresql
255
257
  flash init --mysql
256
258
  flash init --sqlite
259
+ flash init --scylla
260
+ flash init --clickhouse
257
261
  ```
258
262
 
259
263
  ### Migrations
@@ -309,6 +313,39 @@ flash export --csv
309
313
  flash export --sqlite
310
314
  ```
311
315
 
316
+ ### Database Seeding
317
+
318
+ ```bash
319
+ # Seed all tables with default count
320
+ flash seed
321
+
322
+ # Seed with custom count
323
+ flash seed --count 100
324
+
325
+ # Seed specific tables with different counts
326
+ flash seed users:100 posts:500
327
+
328
+ # Truncate before seeding
329
+ flash seed --truncate --force
330
+ ```
331
+
332
+ ### Schema Branching
333
+
334
+ ```bash
335
+ # Create a feature branch
336
+ flash branch create feature/new-schema
337
+
338
+ # Switch between branches
339
+ flash checkout feature/new-schema
340
+ flash checkout main
341
+
342
+ # List branches
343
+ flash branch list
344
+
345
+ # Merge branches
346
+ flash branch merge feature/new-schema
347
+ ```
348
+
312
349
  ### Database Operations
313
350
 
314
351
  ```bash
@@ -539,15 +576,13 @@ $ flash raw -q "SELECT id, name, email FROM users LIMIT 3"
539
576
  └────┴────────────┴─────────────────────┘
540
577
  ```
541
578
 
542
- d
543
-
544
579
  ## 📚 Examples
545
580
 
546
581
  Check out complete examples:
547
582
 
548
583
  - [Python Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/python)
549
- - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
550
584
  - [Go Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/go)
585
+ - [TypeScript Example](https://github.com/Lumos-Labs-HQ/flash/tree/main/example/ts)
551
586
 
552
587
  ## 🐛 Troubleshooting
553
588
 
@@ -586,9 +621,9 @@ flash studio --port 3000
586
621
 
587
622
  - **Visual Database Editor**: Manage your database visually with FlashORM Studio
588
623
  - **Raw SQL Support**: Execute SQL files or queries directly from CLI
589
- - **Type-Safe**: Full TypeScript support with generated types
590
- - **Fast**: 2.5x-10x faster than popular ORMs
591
- - **Multi-DB**: PostgreSQL, MySQL, and SQLite support
624
+ - **Type-Safe**: Full Python type hints with generated types (async + sync)
625
+ - **Fast**: 2.8x-11.9x faster than popular ORMs
626
+ - **Multi-DB**: PostgreSQL, MySQL, SQLite, ScyllaDB, Cassandra, ClickHouse
592
627
  - **Zero Config**: Works out of the box with sensible defaults
593
628
 
594
629
  ## 📄 License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "flashorm"
7
- version = "2.4.3"
7
+ version = "2.4.6"
8
8
  description = "A powerful, database-agnostic ORM with multi-database support and type-safe code generation"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
@@ -4,7 +4,7 @@ import subprocess
4
4
  import sys
5
5
  import os
6
6
 
7
- VERSION = '2.4.3'
7
+ VERSION = '2.4.6'
8
8
 
9
9
  class PostInstallCommand(install):
10
10
  def run(self):
File without changes
File without changes
File without changes
File without changes
File without changes