-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed
local_cache
to persist_cache
as local_cache
is not avai…
…lable on PyPi.
- Loading branch information
1 parent
bb1bc04
commit 8ce13b4
Showing
11 changed files
with
34 additions
and
34 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 |
---|---|---|
|
@@ -29,16 +29,16 @@ jobs: | |
python -m pip install pytest | ||
python -m pip install pytest-cov | ||
- name: Install local-cache | ||
- name: Install persist-cache | ||
run: | | ||
python -m pip install . | ||
- name: Test with pytest | ||
run: | | ||
pytest --cov=local_cache --cov-report=xml | ||
pytest --cov=persist_cache --cov-report=xml | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: umarbutler/local-cache | ||
slug: umarbutler/persist-cache |
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 @@ | ||
## Changelog 🔄 | ||
All notable changes to `local-cache` will be documented here. This project adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
All notable changes to `persist-cache` will be documented here. This project adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.0] - 2024-03-12 | ||
### Added | ||
- Added the `cache()` decorator, which locally and persistently caches functions. | ||
|
||
[0.1.0]: https://github.com/umarbutler/local-cache/releases/tag/v0.1.0 | ||
[0.1.0]: https://github.com/umarbutler/persist-cache/releases/tag/v0.1.0 |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = ["hatchling"] | |
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "local-cache" | ||
name = "persist-cache" | ||
version = "0.1.0" | ||
authors = [ | ||
{name="Umar Butler", email="[email protected]"}, | ||
|
@@ -57,7 +57,7 @@ dependencies = [ | |
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/umarbutler/local-cache" | ||
Documentation = "https://github.com/umarbutler/local-cache/blob/main/README.md" | ||
Issues = "https://github.com/umarbutler/local-cache/issues" | ||
Source = "https://github.com/umarbutler/local-cache" | ||
Homepage = "https://github.com/umarbutler/persist-cache" | ||
Documentation = "https://github.com/umarbutler/persist-cache/blob/main/README.md" | ||
Issues = "https://github.com/umarbutler/persist-cache/issues" | ||
Source = "https://github.com/umarbutler/persist-cache" |
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,3 +1,3 @@ | ||
"""An easy-to-use Python library for lightning-fast persistent function caching.""" | ||
|
||
from .local_cache import cache | ||
from .persist_cache import cache |
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