Skip to content

Commit

Permalink
Fixing a few naming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
robvoe committed Dec 21, 2022
1 parent 81b9db1 commit ef31d0a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Cache instances are organized as sub-folders inside a **cache root folder**. The
```python
import time
from dataclasses import dataclass
from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class Config(DiskCacheConfig):
Expand Down Expand Up @@ -64,7 +64,7 @@ The following example demonstrates the coexistence of multiple cache instances a
```python
import time
from dataclasses import dataclass
from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class CarConfig(DiskCacheConfig):
Expand Down Expand Up @@ -114,7 +114,7 @@ The following example shows how *ez-disk-cache* can be used to cache generator f
from dataclasses import dataclass
from typing import List

from disk_cache import DiskCacheConfig, disk_cache, LazyList
from ez_disk_cache import DiskCacheConfig, disk_cache, LazyList

@dataclass
class Config(DiskCacheConfig):
Expand All @@ -140,7 +140,7 @@ As mentioned above, decorated functions are strongly recommended to expect exact
```python
import time
from dataclasses import dataclass
from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class Config(DiskCacheConfig):
Expand Down Expand Up @@ -174,7 +174,7 @@ As soon as a given cache root folder exceeds one of these limits, old cache inst

```python
from dataclasses import dataclass
from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class Config(DiskCacheConfig):
Expand All @@ -200,7 +200,7 @@ A decorated function itself offers a few methods that may be used to manage the

```python
from dataclasses import dataclass
from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class Config(DiskCacheConfig):
Expand Down Expand Up @@ -234,7 +234,7 @@ The following example shows how to alter the cache-compatibility behaviour of *e
import time
from dataclasses import dataclass

from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

@dataclass
class CarConfig(DiskCacheConfig):
Expand Down Expand Up @@ -269,7 +269,7 @@ import time
from dataclasses import dataclass
from typing import Dict, Any

from disk_cache import DiskCacheConfig, disk_cache
from ez_disk_cache import DiskCacheConfig, disk_cache

class CustomSubType:
def __init__(self, a, b):
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "ez-disk-cache"
version = "0.0.1"
version = "0.0.2"
authors = [
{ name="Robert Voelckner" },
]
Expand All @@ -19,5 +19,5 @@ classifiers = [
dependencies = ["pyyaml>=6.0"]

[project.urls]
"Homepage" = "https://github.com/robvoe/ez_disk_cache"
"Bug Tracker" = "https://github.com/robvoe/ez_disk_cache/issues"
"Homepage" = "https://github.com/robvoe/ez-disk-cache"
"Bug Tracker" = "https://github.com/robvoe/ez-disk-cache/issues"
File renamed without changes.
File renamed without changes.

0 comments on commit ef31d0a

Please sign in to comment.