Skip to content

Commit

Permalink
rename class to core
Browse files Browse the repository at this point in the history
  • Loading branch information
guangrei committed Oct 14, 2024
1 parent 9a50a81 commit 4e34363
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Tests/test_async_db.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from unittest import IsolatedAsyncioTestCase
from zcache.Class.AsyncDatabase import AsyncDatabase
from zcache.Core.AsyncDatabase import AsyncDatabase
import asyncio


Expand Down
2 changes: 1 addition & 1 deletion Tests/test_async_dicstorage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from unittest import IsolatedAsyncioTestCase
from zcache.Class.AsyncDatabase import AsyncDatabase
from zcache.Core.AsyncDatabase import AsyncDatabase
from zcache.Storage.AsyncDictStorage import AsyncDictStorage


Expand Down
2 changes: 1 addition & 1 deletion Tests/test_db.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import unittest
from zcache.Class.Database import Database
from zcache.Core.Database import Database
import time


Expand Down
2 changes: 1 addition & 1 deletion Tests/test_dictstorage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import unittest
from zcache.Class.Database import Database
from zcache.Core.Database import Database
from zcache.Storage.DictStorage import DictStorage


Expand Down
2 changes: 1 addition & 1 deletion Tests/test_fcntlstorage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import unittest
from zcache.Class.Database import Database
from zcache.Core.Database import Database
from zcache.Storage.FcntlStorage import FcntlStorage


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="zcache",
version="v3.0.0",
version="v3.0.1",
packages=[
"zcache",
],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion zcache/Extras/AsyncQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
from zcache.Class.AsyncDatabase import AsyncDatabase
from zcache.Core.AsyncDatabase import AsyncDatabase
import uuid
from zcache.Interface import AsyncStorageInterface
from typing import Any, Optional, Union, List
Expand Down
4 changes: 2 additions & 2 deletions zcache/Extras/AsyncSmartRequest.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from zcache.Class.AsyncDatabase import AsyncDatabase
from zcache.Core.AsyncDatabase import AsyncDatabase
from zcache.Plugins.AsyncBytesCachePlugins import AsyncBytesCachePlugins
import aiohttp
from typing import Any, Optional, Union, Dict


class AsyncSmartRequest:
"""
A class for making Smart HTTP requests with caching capabilities using zcache.
A class for making Smart HTTP requests with caching capabilities using zcache
"""

def __init__(self, *args: Any, **kwargs: Any) -> None:
Expand Down
2 changes: 1 addition & 1 deletion zcache/Extras/Queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
from zcache.Class.Database import Database
from zcache.Core.Database import Database
import uuid
from zcache.Interface import StorageInterface
from typing import Any, Optional, Union, List
Expand Down
2 changes: 1 addition & 1 deletion zcache/Extras/SmartRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
from zcache.Class.Database import Database
from zcache.Core.Database import Database
from zcache.Plugins.BytesCachePlugins import BytesCachePlugins
from urllib import request
from typing import Any, Optional, Union, Dict
Expand Down
6 changes: 3 additions & 3 deletions zcache/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*-coding:utf8;-*-
from zcache.Class.Database import Database
from zcache.Class.AsyncDatabase import AsyncDatabase
from zcache.Core.Database import Database
from zcache.Core.AsyncDatabase import AsyncDatabase


Cache = Database
AsyncCache = AsyncDatabase
__version__ = "2.0.0"
__version__ = "3.0.1"
__author__ = "Guangrei <[email protected]>"
__license__ = "MIT"
2 changes: 1 addition & 1 deletion zcache/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*-coding:utf8;-*-

__version__ = "2.0.0"
__version__ = "3.0.1"

0 comments on commit 4e34363

Please sign in to comment.