Rename to aiodatalite
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
.idea/*
|
.idea/*
|
||||||
datalite/__pycache__/*
|
aiodatalite/__pycache__/*
|
||||||
*.pyc
|
*.pyc
|
||||||
datalite/*.db
|
datalite/*.db
|
||||||
*.db
|
*.db
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ Use poetry to develop.
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from datalite import datalite
|
from aiodatalite import datalite
|
||||||
|
|
||||||
|
|
||||||
@datalite(db_path="db.db")
|
@datalite(db_path="db.db")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
datalite.constraints module introduces constraint
|
aiodatalite.constraints module introduces constraint
|
||||||
types that can be used to hint field variables,
|
types that can be used to hint field variables,
|
||||||
that can be used to signal datalite decorator
|
that can be used to signal datalite decorator
|
||||||
constraints in the database.
|
constraints in the database.
|
||||||
@@ -3,9 +3,9 @@ from dataclasses import asdict, dataclass
|
|||||||
from math import floor
|
from math import floor
|
||||||
from sqlite3 import connect
|
from sqlite3 import connect
|
||||||
|
|
||||||
from datalite import datalite
|
from aiodatalite import datalite
|
||||||
from datalite.constraints import ConstraintFailedError, Unique
|
from aiodatalite.constraints import ConstraintFailedError, Unique
|
||||||
from datalite.fetch import (
|
from aiodatalite.fetch import (
|
||||||
fetch_all,
|
fetch_all,
|
||||||
fetch_equals,
|
fetch_equals,
|
||||||
fetch_from,
|
fetch_from,
|
||||||
@@ -13,9 +13,9 @@ from datalite.fetch import (
|
|||||||
fetch_range,
|
fetch_range,
|
||||||
fetch_where,
|
fetch_where,
|
||||||
)
|
)
|
||||||
from datalite.mass_actions import copy_many, create_many
|
from aiodatalite.mass_actions import copy_many, create_many
|
||||||
from datalite.migrations import _drop_table, migrate
|
from aiodatalite.migrations import _drop_table, migrate
|
||||||
from datalite.typed import DataliteHinted
|
from aiodatalite.typed import DataliteHinted
|
||||||
|
|
||||||
|
|
||||||
@datalite(db_path="test.db")
|
@datalite(db_path="test.db")
|
||||||
|
|||||||
Reference in New Issue
Block a user