Skip to content

Commit fb57c19

Browse files
authored
Revert "Rename to gcache (#46)"
This reverts commit 06bec7e.
1 parent 06bec7e commit fb57c19

10 files changed

Lines changed: 9 additions & 9 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ GCache supports multiple caching layers:
4848
`GCache` is designed to be instantiated once as a singleton:
4949

5050
```python
51-
from gcache.base import GCache, GCacheConfig, GCacheKeyConfig
51+
from cachegalileo.base import GCache, GCacheConfig, GCacheKeyConfig
5252

5353
# Create GCache instance
5454
gcache = GCache(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "gcache"
2+
name = "cachegalileo"
33
version = "0.11.6"
44
description = "Fine grained caching."
55
authors = [{ name = "Galileo Technologies Inc.", email = "team@rungalileo.io" }]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from pydantic import BaseModel, ConfigDict, validator
2323
from redis.asyncio import Redis, RedisCluster
2424

25-
from gcache.event_loop_thread import EventLoopThreadPool
25+
from cachegalileo.event_loop_thread import EventLoopThreadPool
2626

2727

2828
# Global state is needed to allow reconfiguration when GCache is instantiated.

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def type_check(ctx: Context) -> None:
3939
ctx : Context
4040
Invoke context.
4141
"""
42-
ctx.run("poetry run mypy --package gcache --namespace-packages", **COMMON_PARAMS)
42+
ctx.run("poetry run mypy --package cachegalileo --namespace-packages", **COMMON_PARAMS)
4343
ctx.run("poetry run mypy --package tests --namespace-packages", **COMMON_PARAMS)
4444

4545

@@ -58,4 +58,4 @@ def setup_pre_commit(ctx: Context) -> None:
5858

5959
@task
6060
def test(ctx: Context) -> None:
61-
ctx.run("poetry run pytest -vvv --cov=gcache --cov-report=xml", **COMMON_PARAMS)
61+
ctx.run("poetry run pytest -vvv --cov=cachegalileo --cov-report=xml", **COMMON_PARAMS)

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import redislite
66
from prometheus_client import REGISTRY
77

8-
from gcache import GCache, GCacheConfig, GCacheKeyConfig, RedisConfig
8+
from cachegalileo import GCache, GCacheConfig, GCacheKeyConfig, RedisConfig
99

1010
from . import find_free_port
1111

tests/test_event_loop_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
from random import random
55

6-
from gcache.event_loop_thread import EventLoopThread, EventLoopThreadPool
6+
from cachegalileo.event_loop_thread import EventLoopThread, EventLoopThreadPool
77

88

99
def test_concurrent() -> None:

tests/test_gcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import redislite
1010
from prometheus_client import generate_latest
1111

12-
from gcache.base import (
12+
from cachegalileo.base import (
1313
CacheController,
1414
CacheLayer,
1515
Fallback,

tests/test_redis_event_loop_conflict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pytest
77
import redislite
88

9-
from gcache import GCache, GCacheConfig, GCacheKeyConfig, RedisConfig
9+
from cachegalileo import GCache, GCacheConfig, GCacheKeyConfig, RedisConfig
1010

1111
from .conftest import REDIS_PORT, FakeCacheConfigProvider
1212

0 commit comments

Comments
 (0)