-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from waketzheng/rename-to-pypika_tortoise
Rename package name from `pypika` to `pypika_tortoise`
- Loading branch information
Showing
47 changed files
with
137 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# ChangeLog | ||
|
||
## 0.4 | ||
|
||
### 0.4.0 | ||
- Rename package name from `pypika` to `pypika_tortoise` | ||
|
||
## 0.3 | ||
|
||
### 0.3.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
pypika/dialects/oracle.py → pypika_tortoise/dialects/oracle.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pypika-tortoise" | ||
version = "0.3.2" | ||
version = "0.4.0" | ||
description = "Forked from pypika and streamline just for tortoise-orm" | ||
authors = ["long2ice <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -10,7 +10,7 @@ repository = "https://github.com/tortoise/pypika-tortoise.git" | |
documentation = "https://github.com/tortoise/pypika-tortoise" | ||
keywords = ["postgresql", "Tortoise-ORM", "mysql", "sqlite", "sql"] | ||
packages = [ | ||
{ include = "pypika" } | ||
{ include = "pypika_tortoise" } | ||
] | ||
include = ["CHANGELOG.md", "LICENSE", "README.md"] | ||
|
||
|
@@ -46,8 +46,8 @@ ignore_missing_imports = true | |
line-length = 100 | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
'pypika/__init__.py' = ['F401'] | ||
'pypika/dialects/__init__.py' = ['F401'] | ||
'pypika_tortoise/__init__.py' = ['F401'] | ||
'pypika_tortoise/dialects/__init__.py' = ['F401'] | ||
|
||
[tool.bandit] | ||
exclude_dirs = ["tests", "conftest.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import unittest | ||
|
||
from pypika import Criterion, JoinType, Order, Query, Tables | ||
from pypika import analytics as an | ||
from pypika.analytics import Lag, Lead | ||
from pypika_tortoise import Criterion, JoinType, Order, Query, Tables | ||
from pypika_tortoise import analytics as an | ||
from pypika_tortoise.analytics import Lag, Lead | ||
|
||
__author__ = "Timothy Heys" | ||
__email__ = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import unittest | ||
from datetime import date, datetime | ||
|
||
from pypika import Criterion, EmptyCriterion, Field, Table | ||
from pypika import functions as fn | ||
from pypika.queries import QueryBuilder | ||
from pypika.terms import Mod | ||
from pypika_tortoise import Criterion, EmptyCriterion, Field, Table | ||
from pypika_tortoise import functions as fn | ||
from pypika_tortoise.queries import QueryBuilder | ||
from pypika_tortoise.terms import Mod | ||
|
||
__author__ = "Timothy Heys" | ||
__email__ = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import unittest | ||
|
||
from pypika import CustomFunction, FunctionException, Query, Table | ||
from pypika_tortoise import CustomFunction, FunctionException, Query, Table | ||
|
||
__author__ = "Airton Zanon" | ||
__email__ = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import unittest | ||
|
||
from pypika import SYSTEM_TIME, MySQLQuery, PostgreSQLQuery, Query, SQLLiteQuery, Table | ||
from pypika_tortoise import SYSTEM_TIME, MySQLQuery, PostgreSQLQuery, Query, SQLLiteQuery, Table | ||
|
||
__author__ = "Timothy Heys" | ||
__email__ = "[email protected]" | ||
|
||
from pypika.terms import Star | ||
from pypika_tortoise.terms import Star | ||
|
||
|
||
class DeleteTests(unittest.TestCase): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import unittest | ||
|
||
from pypika import Query, Rollup, RollupException, Table | ||
from pypika import functions as fn | ||
from pypika_tortoise import Query, Rollup, RollupException, Table | ||
from pypika_tortoise import functions as fn | ||
|
||
__author__ = "Timothy Heys" | ||
__email__ = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.