masonite-framework-orm 3.0.1__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.
- masonite_framework_orm-3.0.1/LICENSE +21 -0
- masonite_framework_orm-3.0.1/MANIFEST.in +2 -0
- masonite_framework_orm-3.0.1/PKG-INFO +87 -0
- masonite_framework_orm-3.0.1/README.md +35 -0
- masonite_framework_orm-3.0.1/pyproject.toml +21 -0
- masonite_framework_orm-3.0.1/setup.cfg +4 -0
- masonite_framework_orm-3.0.1/setup.py +119 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/PKG-INFO +87 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/SOURCES.txt +121 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/dependency_links.txt +1 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/entry_points.txt +3 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/requires.txt +11 -0
- masonite_framework_orm-3.0.1/src/masonite_framework_orm.egg-info/top_level.txt +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/collection/Collection.py +605 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/collection/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/CanOverrideConfig.py +16 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/CanOverrideOptionsDefault.py +22 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/Command.py +6 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/Entry.py +43 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MakeMigrationCommand.py +57 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MakeModelCommand.py +78 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MakeModelDocstringCommand.py +37 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MakeObserverCommand.py +54 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MakeSeedCommand.py +54 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateCommand.py +46 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateFreshCommand.py +41 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateRefreshCommand.py +41 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateResetCommand.py +25 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateRollbackCommand.py +26 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/MigrateStatusCommand.py +51 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/SeedRunCommand.py +35 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/ShellCommand.py +205 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/__init__.py +18 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/stubs/create_migration.stub +20 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/stubs/create_seed.stub +9 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/stubs/model.stub +9 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/stubs/observer.stub +101 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/commands/stubs/table_migration.stub +19 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/config.py +123 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/BaseConnection.py +101 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/ConnectionFactory.py +59 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/ConnectionResolver.py +132 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/MSSQLConnection.py +176 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/MySQLConnection.py +232 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/PostgresConnection.py +225 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/SQLiteConnection.py +179 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/connections/__init__.py +6 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/exceptions.py +38 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/expressions/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/expressions/expressions.py +288 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/factories/Factory.py +112 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/factories/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/helpers/__init__.py +0 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/helpers/misc.py +22 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/migrations/Migration.py +330 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/migrations/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/models/MigrationModel.py +9 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/models/Model.py +1209 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/models/Model.pyi +1366 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/models/Pivot.py +5 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/models/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/observers/ObservesEvents.py +27 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/observers/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/pagination/BasePaginator.py +10 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/pagination/LengthAwarePaginator.py +34 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/pagination/SimplePaginator.py +28 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/pagination/__init__.py +2 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/providers/ORMProvider.py +39 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/providers/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/EagerRelation.py +42 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/QueryBuilder.py +2486 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/__init__.py +1 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/BaseGrammar.py +1027 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/MSSQLGrammar.py +194 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/MySQLGrammar.py +238 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/PostgresGrammar.py +213 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/SQLiteGrammar.py +228 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/grammars/__init__.py +4 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/processors/MSSQLPostProcessor.py +58 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/processors/MySQLPostProcessor.py +48 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/processors/PostgresPostProcessor.py +49 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/processors/SQLitePostProcessor.py +49 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/query/processors/__init__.py +4 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/BaseRelationship.py +161 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/BelongsTo.py +124 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/BelongsToMany.py +604 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/HasMany.py +66 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/HasManyThrough.py +269 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/HasOne.py +111 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/HasOneThrough.py +275 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/MorphMany.py +152 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/MorphOne.py +156 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/MorphTo.py +111 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/MorphToMany.py +108 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/relationships/__init__.py +10 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Blueprint.py +1161 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Column.py +144 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/ColumnDiff.py +0 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Constraint.py +5 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/ForeignKeyConstraint.py +28 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Index.py +5 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Schema.py +359 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/Table.py +94 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/TableDiff.py +86 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/__init__.py +3 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/MSSQLPlatform.py +367 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/MySQLPlatform.py +513 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/Platform.py +97 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/PostgresPlatform.py +551 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/SQLitePlatform.py +481 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/schema/platforms/__init__.py +4 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/BaseScope.py +6 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/SoftDeleteScope.py +56 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/SoftDeletesMixin.py +13 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/TimeStampsMixin.py +12 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/TimeStampsScope.py +47 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/UUIDPrimaryKeyMixin.py +8 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/UUIDPrimaryKeyScope.py +51 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/__init__.py +8 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/scopes/scope.py +15 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/seeds/Seeder.py +42 -0
- masonite_framework_orm-3.0.1/src/masoniteorm/seeds/__init__.py +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Joseph Mancuso
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: masonite-framework-orm
|
|
3
|
+
Version: 3.0.1
|
|
4
|
+
Summary: The Official Masonite ORM
|
|
5
|
+
Home-page: https://github.com/masonitedev/orm
|
|
6
|
+
Author: Joe Mancuso
|
|
7
|
+
Author-email: contact@masonite.dev
|
|
8
|
+
Maintainer: Eduardo Aguad
|
|
9
|
+
Maintainer-email: contact@masonite.dev
|
|
10
|
+
License: MIT
|
|
11
|
+
Keywords: Masonite,masoniteorm,Python,ORM
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Framework :: Masonite
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
+
Classifier: Framework :: Masonite
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE
|
|
29
|
+
Requires-Dist: inflection<0.6,>=0.3
|
|
30
|
+
Requires-Dist: pendulum<4.0,>=3.0
|
|
31
|
+
Requires-Dist: cleo<2.0,>=0.8.0
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: coverage; extra == "test"
|
|
34
|
+
Requires-Dist: pytest; extra == "test"
|
|
35
|
+
Requires-Dist: faker; extra == "test"
|
|
36
|
+
Provides-Extra: seeder
|
|
37
|
+
Requires-Dist: faker; extra == "seeder"
|
|
38
|
+
Dynamic: author
|
|
39
|
+
Dynamic: author-email
|
|
40
|
+
Dynamic: classifier
|
|
41
|
+
Dynamic: description
|
|
42
|
+
Dynamic: description-content-type
|
|
43
|
+
Dynamic: home-page
|
|
44
|
+
Dynamic: keywords
|
|
45
|
+
Dynamic: license
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
Dynamic: maintainer
|
|
48
|
+
Dynamic: maintainer-email
|
|
49
|
+
Dynamic: provides-extra
|
|
50
|
+
Dynamic: requires-dist
|
|
51
|
+
Dynamic: summary
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4trhpkkdbbzutc5ufxi9.png" width="160px">
|
|
55
|
+
<h1 align="center">Masonite ORM</h1>
|
|
56
|
+
</p>
|
|
57
|
+
|
|
58
|
+
<p align="center">
|
|
59
|
+
<a href="https://docs.masoniteproject.com">
|
|
60
|
+
<img alt="Masonite Package" src="https://img.shields.io/static/v1?label=Masonite&message=package&labelColor=grey&color=blue&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAA6gAwAEAAAAAQAAAA4AAAAATspU+QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAAnxJREFUKBVNUl1IVEEUPjPObdd1VdxWM0rMIl3bzbVWLSofVm3th0AhMakHHyqRiNSHEAq5b2HSVvoQRUiEECQUQkkPbRslRGigG8auoon2oPSjpev+3PWeZq7eaC5nDt93vplz5txDQJYpNxX4st4JFiwj9aCqmswUFQNS/A2YskrZJPYefkECC2GhQwAqvLYybwXrwBvq8HSNOXRO92+aH7nW8vc/wS2Z9TqneYt2KHjlf9Iv+43wFJMExzO0YE5OKe60N+AOW6OmE+WJTBrg23jjzWxMBauOlfyycsV24F+cH+zAXYUOGl+DaiDxfl245/W9OnVrSY+O2eqPkyz4sVvHoKp9gOihf5KoAVv3hkQgbj/ihG9fI3RixKcUVx7lJVaEc0vnyf2FFll+ny80ZHZiGhIKowWJBCEAKr+FSuNDLt+lxybSF51lo74arqs113dOZqwsptxNs5bwi7Q3q8npSC2AWmvjTncZf1l61e5DEizNn5mtufpsqk5+CZTuq00sP1wkNPv8jeEikVVlJso+GEwRtNs3QeBt2YP2V2ZI3Tx0e+7T89zK5tNASOLEytJAryGtkLc2PcBM5byyUWYkMQpMioYcDcchC6xN220Iv36Ot8pV0454RHLEwmmD7UWfIdX0zq3GjMPG5NKBtv5qiPEPekK2U51j1451BZoc3i+1ohSQ/UzzG5uYFFn2mwVUnO4O3JblXA91T51l3pB3QweDl7sNXMyEjbguSjrPcQNmwDkNc8CbCvDd0+xCC7RFi9wFulD3mJeXqxQevB4prrqgc0TmQ85NG/K43e2UwnMVAJIEBNfWRYR3HfnvivrIzMyo4Hgy+hfscvLo53jItAAAAABJRU5ErkJggg==">
|
|
61
|
+
</a>
|
|
62
|
+
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python Version">
|
|
63
|
+
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/masonitedev/orm">
|
|
64
|
+
<img alt="License" src="https://img.shields.io/github/license/masonitedev/orm">
|
|
65
|
+
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
> [!IMPORTANT]
|
|
69
|
+
> Masonite ORM has moved to the [masonitedev](https://github.com/masonitedev) organization and the PyPI package has been renamed from `masonite-orm` to **`masonite-framework-orm`**. The legacy `masonite-orm` package will no longer receive updates.
|
|
70
|
+
|
|
71
|
+
## Installation & Usage
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install masonite-framework-orm
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Imports are unchanged — you still `from masoniteorm.models import Model`.
|
|
78
|
+
|
|
79
|
+
All documentation can be found at [https://github.com/masonitedev/docs](https://github.com/masonitedev/docs).
|
|
80
|
+
|
|
81
|
+
## Contributing
|
|
82
|
+
|
|
83
|
+
If you would like to contribute please read the [Contributing Documentation](CONTRIBUTING.md) here.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
Masonite ORM is open-sourced software licensed under the [MIT License](LICENSE).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4trhpkkdbbzutc5ufxi9.png" width="160px">
|
|
3
|
+
<h1 align="center">Masonite ORM</h1>
|
|
4
|
+
</p>
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://docs.masoniteproject.com">
|
|
8
|
+
<img alt="Masonite Package" src="https://img.shields.io/static/v1?label=Masonite&message=package&labelColor=grey&color=blue&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAA6gAwAEAAAAAQAAAA4AAAAATspU+QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAAnxJREFUKBVNUl1IVEEUPjPObdd1VdxWM0rMIl3bzbVWLSofVm3th0AhMakHHyqRiNSHEAq5b2HSVvoQRUiEECQUQkkPbRslRGigG8auoon2oPSjpev+3PWeZq7eaC5nDt93vplz5txDQJYpNxX4st4JFiwj9aCqmswUFQNS/A2YskrZJPYefkECC2GhQwAqvLYybwXrwBvq8HSNOXRO92+aH7nW8vc/wS2Z9TqneYt2KHjlf9Iv+43wFJMExzO0YE5OKe60N+AOW6OmE+WJTBrg23jjzWxMBauOlfyycsV24F+cH+zAXYUOGl+DaiDxfl245/W9OnVrSY+O2eqPkyz4sVvHoKp9gOihf5KoAVv3hkQgbj/ihG9fI3RixKcUVx7lJVaEc0vnyf2FFll+ny80ZHZiGhIKowWJBCEAKr+FSuNDLt+lxybSF51lo74arqs113dOZqwsptxNs5bwi7Q3q8npSC2AWmvjTncZf1l61e5DEizNn5mtufpsqk5+CZTuq00sP1wkNPv8jeEikVVlJso+GEwRtNs3QeBt2YP2V2ZI3Tx0e+7T89zK5tNASOLEytJAryGtkLc2PcBM5byyUWYkMQpMioYcDcchC6xN220Iv36Ot8pV0454RHLEwmmD7UWfIdX0zq3GjMPG5NKBtv5qiPEPekK2U51j1451BZoc3i+1ohSQ/UzzG5uYFFn2mwVUnO4O3JblXA91T51l3pB3QweDl7sNXMyEjbguSjrPcQNmwDkNc8CbCvDd0+xCC7RFi9wFulD3mJeXqxQevB4prrqgc0TmQ85NG/K43e2UwnMVAJIEBNfWRYR3HfnvivrIzMyo4Hgy+hfscvLo53jItAAAAABJRU5ErkJggg==">
|
|
9
|
+
</a>
|
|
10
|
+
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python Version">
|
|
11
|
+
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/masonitedev/orm">
|
|
12
|
+
<img alt="License" src="https://img.shields.io/github/license/masonitedev/orm">
|
|
13
|
+
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
> [!IMPORTANT]
|
|
17
|
+
> Masonite ORM has moved to the [masonitedev](https://github.com/masonitedev) organization and the PyPI package has been renamed from `masonite-orm` to **`masonite-framework-orm`**. The legacy `masonite-orm` package will no longer receive updates.
|
|
18
|
+
|
|
19
|
+
## Installation & Usage
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install masonite-framework-orm
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Imports are unchanged — you still `from masoniteorm.models import Model`.
|
|
26
|
+
|
|
27
|
+
All documentation can be found at [https://github.com/masonitedev/docs](https://github.com/masonitedev/docs).
|
|
28
|
+
|
|
29
|
+
## Contributing
|
|
30
|
+
|
|
31
|
+
If you would like to contribute please read the [Contributing Documentation](CONTRIBUTING.md) here.
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
Masonite ORM is open-sourced software licensed under the [MIT License](LICENSE).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[tool.black]
|
|
2
|
+
target-version = ['py38']
|
|
3
|
+
include = '\.pyi?$'
|
|
4
|
+
line-length = 79
|
|
5
|
+
|
|
6
|
+
[tool.isort]
|
|
7
|
+
profile = "black"
|
|
8
|
+
multi_line_output = 3
|
|
9
|
+
include_trailing_comma = true
|
|
10
|
+
force_grid_wrap = 0
|
|
11
|
+
use_parentheses = true
|
|
12
|
+
ensure_newline_before_comments = true
|
|
13
|
+
|
|
14
|
+
[tool.flake8]
|
|
15
|
+
ignore = ['E501', 'E203', 'E128', 'E402', 'E731', 'F821', 'E712', 'W503', 'F811']
|
|
16
|
+
#max-line-length = 79
|
|
17
|
+
#max-complexity = 18
|
|
18
|
+
per-file-ignores = [
|
|
19
|
+
'__init__.py:F401',
|
|
20
|
+
'setup.py:E266',
|
|
21
|
+
]
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
with open("README.md", "r") as fh:
|
|
4
|
+
long_description = fh.read()
|
|
5
|
+
|
|
6
|
+
setup(
|
|
7
|
+
name="masonite-framework-orm",
|
|
8
|
+
# Versions should comply with PEP440. For a discussion on single-sourcing
|
|
9
|
+
# the version across setup.py and the project code, see
|
|
10
|
+
# https://packaging.python.org/en/latest/single_source_version.html
|
|
11
|
+
version="3.0.1",
|
|
12
|
+
package_dir={"": "src"},
|
|
13
|
+
description="The Official Masonite ORM",
|
|
14
|
+
long_description=long_description,
|
|
15
|
+
long_description_content_type="text/markdown",
|
|
16
|
+
# The project's main homepage.
|
|
17
|
+
url="https://github.com/masonitedev/orm",
|
|
18
|
+
# Author details
|
|
19
|
+
author="Joe Mancuso",
|
|
20
|
+
author_email="contact@masonite.dev",
|
|
21
|
+
maintainer="Eduardo Aguad",
|
|
22
|
+
maintainer_email="contact@masonite.dev",
|
|
23
|
+
# Choose your license
|
|
24
|
+
license="MIT",
|
|
25
|
+
# If your package should include things you specify in your MANIFEST.in file
|
|
26
|
+
# Use this option if your package needs to include files that are not python files
|
|
27
|
+
# like html templates or css files
|
|
28
|
+
include_package_data=True,
|
|
29
|
+
# List run-time dependencies here. These will be installed by pip when
|
|
30
|
+
# your project is installed. For an analysis of "install_requires" vs pip's
|
|
31
|
+
# requirements files see:
|
|
32
|
+
# https://packaging.python.org/en/latest/requirements.html
|
|
33
|
+
install_requires=[
|
|
34
|
+
"inflection>=0.3,<0.6",
|
|
35
|
+
"pendulum>=3.0,<4.0",
|
|
36
|
+
"cleo>=0.8.0,<2.0",
|
|
37
|
+
],
|
|
38
|
+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
39
|
+
classifiers=[
|
|
40
|
+
# How mature is this project? Common values are
|
|
41
|
+
# 3 - Alpha
|
|
42
|
+
# 4 - Beta
|
|
43
|
+
# 5 - Production/Stable
|
|
44
|
+
"Development Status :: 5 - Production/Stable",
|
|
45
|
+
# Indicate who your project is intended for
|
|
46
|
+
"Intended Audience :: Developers",
|
|
47
|
+
"Topic :: Software Development :: Build Tools",
|
|
48
|
+
"Environment :: Web Environment",
|
|
49
|
+
# Pick your license as you wish (should match "license" above)
|
|
50
|
+
"License :: OSI Approved :: MIT License",
|
|
51
|
+
"Operating System :: OS Independent",
|
|
52
|
+
# Specify the Python versions you support here. In particular, ensure
|
|
53
|
+
# that you indicate whether you support Python 2, Python 3 or both.
|
|
54
|
+
"Programming Language :: Python :: 3.8",
|
|
55
|
+
"Programming Language :: Python :: 3.9",
|
|
56
|
+
"Programming Language :: Python :: 3.10",
|
|
57
|
+
"Programming Language :: Python :: 3.11",
|
|
58
|
+
"Programming Language :: Python :: 3.12",
|
|
59
|
+
"Programming Language :: Python :: 3.13",
|
|
60
|
+
"Framework :: Masonite",
|
|
61
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
62
|
+
"Framework :: Masonite",
|
|
63
|
+
],
|
|
64
|
+
# What does your project relate to?
|
|
65
|
+
keywords="Masonite, masoniteorm, Python, ORM",
|
|
66
|
+
# You can just specify the packages manually here if your project is
|
|
67
|
+
# simple. Or you can use find_packages().
|
|
68
|
+
packages=[
|
|
69
|
+
"masoniteorm",
|
|
70
|
+
"masoniteorm.collection",
|
|
71
|
+
"masoniteorm.commands",
|
|
72
|
+
"masoniteorm.connections",
|
|
73
|
+
"masoniteorm.expressions",
|
|
74
|
+
"masoniteorm.factories",
|
|
75
|
+
"masoniteorm.helpers",
|
|
76
|
+
"masoniteorm.migrations",
|
|
77
|
+
"masoniteorm.models",
|
|
78
|
+
"masoniteorm.observers",
|
|
79
|
+
"masoniteorm.pagination",
|
|
80
|
+
"masoniteorm.providers",
|
|
81
|
+
"masoniteorm.query",
|
|
82
|
+
"masoniteorm.query.grammars",
|
|
83
|
+
"masoniteorm.query.processors",
|
|
84
|
+
"masoniteorm.relationships",
|
|
85
|
+
"masoniteorm.schema",
|
|
86
|
+
"masoniteorm.schema.platforms",
|
|
87
|
+
"masoniteorm.scopes",
|
|
88
|
+
"masoniteorm.seeds",
|
|
89
|
+
],
|
|
90
|
+
# List additional groups of dependencies here (e.g. development
|
|
91
|
+
# dependencies). You can install these using the following syntax,
|
|
92
|
+
# for example:
|
|
93
|
+
# $ pip install -e .[dev,test]
|
|
94
|
+
# $ pip install your-package[dev,test]
|
|
95
|
+
extras_require={
|
|
96
|
+
"test": ["coverage", "pytest", "faker"],
|
|
97
|
+
"seeder": ["faker"],
|
|
98
|
+
},
|
|
99
|
+
# If there are data files included in your packages that need to be
|
|
100
|
+
# installed, specify them here. If using Python 2.6 or less, then these
|
|
101
|
+
# have to be included in MANIFEST.in as well.
|
|
102
|
+
## package_data={
|
|
103
|
+
## 'sample': [],
|
|
104
|
+
## },
|
|
105
|
+
# Although 'package_data' is the preferred approach, in some case you may
|
|
106
|
+
# need to place data files outside of your packages. See:
|
|
107
|
+
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
|
|
108
|
+
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
|
|
109
|
+
## data_files=[('my_data', ['data/data_file.txt'])],
|
|
110
|
+
# To provide executable scripts, use entry points in preference to the
|
|
111
|
+
# "scripts" keyword. Entry points provide cross-platform support and allow
|
|
112
|
+
# pip to create the appropriate form of executable for the target platform.
|
|
113
|
+
entry_points={
|
|
114
|
+
"console_scripts": [
|
|
115
|
+
"masonite-orm = masoniteorm.commands.Entry:application.run",
|
|
116
|
+
"masoniteorm = masoniteorm.commands.Entry:application.run",
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: masonite-framework-orm
|
|
3
|
+
Version: 3.0.1
|
|
4
|
+
Summary: The Official Masonite ORM
|
|
5
|
+
Home-page: https://github.com/masonitedev/orm
|
|
6
|
+
Author: Joe Mancuso
|
|
7
|
+
Author-email: contact@masonite.dev
|
|
8
|
+
Maintainer: Eduardo Aguad
|
|
9
|
+
Maintainer-email: contact@masonite.dev
|
|
10
|
+
License: MIT
|
|
11
|
+
Keywords: Masonite,masoniteorm,Python,ORM
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Framework :: Masonite
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
+
Classifier: Framework :: Masonite
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE
|
|
29
|
+
Requires-Dist: inflection<0.6,>=0.3
|
|
30
|
+
Requires-Dist: pendulum<4.0,>=3.0
|
|
31
|
+
Requires-Dist: cleo<2.0,>=0.8.0
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: coverage; extra == "test"
|
|
34
|
+
Requires-Dist: pytest; extra == "test"
|
|
35
|
+
Requires-Dist: faker; extra == "test"
|
|
36
|
+
Provides-Extra: seeder
|
|
37
|
+
Requires-Dist: faker; extra == "seeder"
|
|
38
|
+
Dynamic: author
|
|
39
|
+
Dynamic: author-email
|
|
40
|
+
Dynamic: classifier
|
|
41
|
+
Dynamic: description
|
|
42
|
+
Dynamic: description-content-type
|
|
43
|
+
Dynamic: home-page
|
|
44
|
+
Dynamic: keywords
|
|
45
|
+
Dynamic: license
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
Dynamic: maintainer
|
|
48
|
+
Dynamic: maintainer-email
|
|
49
|
+
Dynamic: provides-extra
|
|
50
|
+
Dynamic: requires-dist
|
|
51
|
+
Dynamic: summary
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4trhpkkdbbzutc5ufxi9.png" width="160px">
|
|
55
|
+
<h1 align="center">Masonite ORM</h1>
|
|
56
|
+
</p>
|
|
57
|
+
|
|
58
|
+
<p align="center">
|
|
59
|
+
<a href="https://docs.masoniteproject.com">
|
|
60
|
+
<img alt="Masonite Package" src="https://img.shields.io/static/v1?label=Masonite&message=package&labelColor=grey&color=blue&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAA6gAwAEAAAAAQAAAA4AAAAATspU+QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAAnxJREFUKBVNUl1IVEEUPjPObdd1VdxWM0rMIl3bzbVWLSofVm3th0AhMakHHyqRiNSHEAq5b2HSVvoQRUiEECQUQkkPbRslRGigG8auoon2oPSjpev+3PWeZq7eaC5nDt93vplz5txDQJYpNxX4st4JFiwj9aCqmswUFQNS/A2YskrZJPYefkECC2GhQwAqvLYybwXrwBvq8HSNOXRO92+aH7nW8vc/wS2Z9TqneYt2KHjlf9Iv+43wFJMExzO0YE5OKe60N+AOW6OmE+WJTBrg23jjzWxMBauOlfyycsV24F+cH+zAXYUOGl+DaiDxfl245/W9OnVrSY+O2eqPkyz4sVvHoKp9gOihf5KoAVv3hkQgbj/ihG9fI3RixKcUVx7lJVaEc0vnyf2FFll+ny80ZHZiGhIKowWJBCEAKr+FSuNDLt+lxybSF51lo74arqs113dOZqwsptxNs5bwi7Q3q8npSC2AWmvjTncZf1l61e5DEizNn5mtufpsqk5+CZTuq00sP1wkNPv8jeEikVVlJso+GEwRtNs3QeBt2YP2V2ZI3Tx0e+7T89zK5tNASOLEytJAryGtkLc2PcBM5byyUWYkMQpMioYcDcchC6xN220Iv36Ot8pV0454RHLEwmmD7UWfIdX0zq3GjMPG5NKBtv5qiPEPekK2U51j1451BZoc3i+1ohSQ/UzzG5uYFFn2mwVUnO4O3JblXA91T51l3pB3QweDl7sNXMyEjbguSjrPcQNmwDkNc8CbCvDd0+xCC7RFi9wFulD3mJeXqxQevB4prrqgc0TmQ85NG/K43e2UwnMVAJIEBNfWRYR3HfnvivrIzMyo4Hgy+hfscvLo53jItAAAAABJRU5ErkJggg==">
|
|
61
|
+
</a>
|
|
62
|
+
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python Version">
|
|
63
|
+
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/masonitedev/orm">
|
|
64
|
+
<img alt="License" src="https://img.shields.io/github/license/masonitedev/orm">
|
|
65
|
+
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
> [!IMPORTANT]
|
|
69
|
+
> Masonite ORM has moved to the [masonitedev](https://github.com/masonitedev) organization and the PyPI package has been renamed from `masonite-orm` to **`masonite-framework-orm`**. The legacy `masonite-orm` package will no longer receive updates.
|
|
70
|
+
|
|
71
|
+
## Installation & Usage
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install masonite-framework-orm
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Imports are unchanged — you still `from masoniteorm.models import Model`.
|
|
78
|
+
|
|
79
|
+
All documentation can be found at [https://github.com/masonitedev/docs](https://github.com/masonitedev/docs).
|
|
80
|
+
|
|
81
|
+
## Contributing
|
|
82
|
+
|
|
83
|
+
If you would like to contribute please read the [Contributing Documentation](CONTRIBUTING.md) here.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
Masonite ORM is open-sourced software licensed under the [MIT License](LICENSE).
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
setup.py
|
|
6
|
+
src/masonite_framework_orm.egg-info/PKG-INFO
|
|
7
|
+
src/masonite_framework_orm.egg-info/SOURCES.txt
|
|
8
|
+
src/masonite_framework_orm.egg-info/dependency_links.txt
|
|
9
|
+
src/masonite_framework_orm.egg-info/entry_points.txt
|
|
10
|
+
src/masonite_framework_orm.egg-info/requires.txt
|
|
11
|
+
src/masonite_framework_orm.egg-info/top_level.txt
|
|
12
|
+
src/masoniteorm/__init__.py
|
|
13
|
+
src/masoniteorm/config.py
|
|
14
|
+
src/masoniteorm/exceptions.py
|
|
15
|
+
src/masoniteorm/collection/Collection.py
|
|
16
|
+
src/masoniteorm/collection/__init__.py
|
|
17
|
+
src/masoniteorm/commands/CanOverrideConfig.py
|
|
18
|
+
src/masoniteorm/commands/CanOverrideOptionsDefault.py
|
|
19
|
+
src/masoniteorm/commands/Command.py
|
|
20
|
+
src/masoniteorm/commands/Entry.py
|
|
21
|
+
src/masoniteorm/commands/MakeMigrationCommand.py
|
|
22
|
+
src/masoniteorm/commands/MakeModelCommand.py
|
|
23
|
+
src/masoniteorm/commands/MakeModelDocstringCommand.py
|
|
24
|
+
src/masoniteorm/commands/MakeObserverCommand.py
|
|
25
|
+
src/masoniteorm/commands/MakeSeedCommand.py
|
|
26
|
+
src/masoniteorm/commands/MigrateCommand.py
|
|
27
|
+
src/masoniteorm/commands/MigrateFreshCommand.py
|
|
28
|
+
src/masoniteorm/commands/MigrateRefreshCommand.py
|
|
29
|
+
src/masoniteorm/commands/MigrateResetCommand.py
|
|
30
|
+
src/masoniteorm/commands/MigrateRollbackCommand.py
|
|
31
|
+
src/masoniteorm/commands/MigrateStatusCommand.py
|
|
32
|
+
src/masoniteorm/commands/SeedRunCommand.py
|
|
33
|
+
src/masoniteorm/commands/ShellCommand.py
|
|
34
|
+
src/masoniteorm/commands/__init__.py
|
|
35
|
+
src/masoniteorm/commands/stubs/create_migration.stub
|
|
36
|
+
src/masoniteorm/commands/stubs/create_seed.stub
|
|
37
|
+
src/masoniteorm/commands/stubs/model.stub
|
|
38
|
+
src/masoniteorm/commands/stubs/observer.stub
|
|
39
|
+
src/masoniteorm/commands/stubs/table_migration.stub
|
|
40
|
+
src/masoniteorm/connections/BaseConnection.py
|
|
41
|
+
src/masoniteorm/connections/ConnectionFactory.py
|
|
42
|
+
src/masoniteorm/connections/ConnectionResolver.py
|
|
43
|
+
src/masoniteorm/connections/MSSQLConnection.py
|
|
44
|
+
src/masoniteorm/connections/MySQLConnection.py
|
|
45
|
+
src/masoniteorm/connections/PostgresConnection.py
|
|
46
|
+
src/masoniteorm/connections/SQLiteConnection.py
|
|
47
|
+
src/masoniteorm/connections/__init__.py
|
|
48
|
+
src/masoniteorm/expressions/__init__.py
|
|
49
|
+
src/masoniteorm/expressions/expressions.py
|
|
50
|
+
src/masoniteorm/factories/Factory.py
|
|
51
|
+
src/masoniteorm/factories/__init__.py
|
|
52
|
+
src/masoniteorm/helpers/__init__.py
|
|
53
|
+
src/masoniteorm/helpers/misc.py
|
|
54
|
+
src/masoniteorm/migrations/Migration.py
|
|
55
|
+
src/masoniteorm/migrations/__init__.py
|
|
56
|
+
src/masoniteorm/models/MigrationModel.py
|
|
57
|
+
src/masoniteorm/models/Model.py
|
|
58
|
+
src/masoniteorm/models/Model.pyi
|
|
59
|
+
src/masoniteorm/models/Pivot.py
|
|
60
|
+
src/masoniteorm/models/__init__.py
|
|
61
|
+
src/masoniteorm/observers/ObservesEvents.py
|
|
62
|
+
src/masoniteorm/observers/__init__.py
|
|
63
|
+
src/masoniteorm/pagination/BasePaginator.py
|
|
64
|
+
src/masoniteorm/pagination/LengthAwarePaginator.py
|
|
65
|
+
src/masoniteorm/pagination/SimplePaginator.py
|
|
66
|
+
src/masoniteorm/pagination/__init__.py
|
|
67
|
+
src/masoniteorm/providers/ORMProvider.py
|
|
68
|
+
src/masoniteorm/providers/__init__.py
|
|
69
|
+
src/masoniteorm/query/EagerRelation.py
|
|
70
|
+
src/masoniteorm/query/QueryBuilder.py
|
|
71
|
+
src/masoniteorm/query/__init__.py
|
|
72
|
+
src/masoniteorm/query/grammars/BaseGrammar.py
|
|
73
|
+
src/masoniteorm/query/grammars/MSSQLGrammar.py
|
|
74
|
+
src/masoniteorm/query/grammars/MySQLGrammar.py
|
|
75
|
+
src/masoniteorm/query/grammars/PostgresGrammar.py
|
|
76
|
+
src/masoniteorm/query/grammars/SQLiteGrammar.py
|
|
77
|
+
src/masoniteorm/query/grammars/__init__.py
|
|
78
|
+
src/masoniteorm/query/processors/MSSQLPostProcessor.py
|
|
79
|
+
src/masoniteorm/query/processors/MySQLPostProcessor.py
|
|
80
|
+
src/masoniteorm/query/processors/PostgresPostProcessor.py
|
|
81
|
+
src/masoniteorm/query/processors/SQLitePostProcessor.py
|
|
82
|
+
src/masoniteorm/query/processors/__init__.py
|
|
83
|
+
src/masoniteorm/relationships/BaseRelationship.py
|
|
84
|
+
src/masoniteorm/relationships/BelongsTo.py
|
|
85
|
+
src/masoniteorm/relationships/BelongsToMany.py
|
|
86
|
+
src/masoniteorm/relationships/HasMany.py
|
|
87
|
+
src/masoniteorm/relationships/HasManyThrough.py
|
|
88
|
+
src/masoniteorm/relationships/HasOne.py
|
|
89
|
+
src/masoniteorm/relationships/HasOneThrough.py
|
|
90
|
+
src/masoniteorm/relationships/MorphMany.py
|
|
91
|
+
src/masoniteorm/relationships/MorphOne.py
|
|
92
|
+
src/masoniteorm/relationships/MorphTo.py
|
|
93
|
+
src/masoniteorm/relationships/MorphToMany.py
|
|
94
|
+
src/masoniteorm/relationships/__init__.py
|
|
95
|
+
src/masoniteorm/schema/Blueprint.py
|
|
96
|
+
src/masoniteorm/schema/Column.py
|
|
97
|
+
src/masoniteorm/schema/ColumnDiff.py
|
|
98
|
+
src/masoniteorm/schema/Constraint.py
|
|
99
|
+
src/masoniteorm/schema/ForeignKeyConstraint.py
|
|
100
|
+
src/masoniteorm/schema/Index.py
|
|
101
|
+
src/masoniteorm/schema/Schema.py
|
|
102
|
+
src/masoniteorm/schema/Table.py
|
|
103
|
+
src/masoniteorm/schema/TableDiff.py
|
|
104
|
+
src/masoniteorm/schema/__init__.py
|
|
105
|
+
src/masoniteorm/schema/platforms/MSSQLPlatform.py
|
|
106
|
+
src/masoniteorm/schema/platforms/MySQLPlatform.py
|
|
107
|
+
src/masoniteorm/schema/platforms/Platform.py
|
|
108
|
+
src/masoniteorm/schema/platforms/PostgresPlatform.py
|
|
109
|
+
src/masoniteorm/schema/platforms/SQLitePlatform.py
|
|
110
|
+
src/masoniteorm/schema/platforms/__init__.py
|
|
111
|
+
src/masoniteorm/scopes/BaseScope.py
|
|
112
|
+
src/masoniteorm/scopes/SoftDeleteScope.py
|
|
113
|
+
src/masoniteorm/scopes/SoftDeletesMixin.py
|
|
114
|
+
src/masoniteorm/scopes/TimeStampsMixin.py
|
|
115
|
+
src/masoniteorm/scopes/TimeStampsScope.py
|
|
116
|
+
src/masoniteorm/scopes/UUIDPrimaryKeyMixin.py
|
|
117
|
+
src/masoniteorm/scopes/UUIDPrimaryKeyScope.py
|
|
118
|
+
src/masoniteorm/scopes/__init__.py
|
|
119
|
+
src/masoniteorm/scopes/scope.py
|
|
120
|
+
src/masoniteorm/seeds/Seeder.py
|
|
121
|
+
src/masoniteorm/seeds/__init__.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
masoniteorm
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .models import Model
|