circuitpython-functools 2.0.0__tar.gz → 2.0.0.post0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {circuitpython_functools-2.0.0/circuitpython_functools.egg-info → circuitpython_functools-2.0.0.post0}/PKG-INFO +1 -1
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0/circuitpython_functools.egg-info}/PKG-INFO +1 -1
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/circuitpython_functools.py +1 -1
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/examples/functools_simpletest.py +2 -2
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/pyproject.toml +1 -1
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/workflows/build.yml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/workflows/failure-help-text.yml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/workflows/release_gh.yml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/workflows/release_pypi.yml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.gitignore +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.pre-commit-config.yaml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.readthedocs.yaml +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/CODE_OF_CONDUCT.md +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSE-MIT +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSE-PSF +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/CC-BY-4.0.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/MIT.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/PSF-2.0.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/Unlicense.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/README.rst +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/README.rst.license +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/circuitpython_functools.egg-info/SOURCES.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/circuitpython_functools.egg-info/dependency_links.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/circuitpython_functools.egg-info/requires.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/circuitpython_functools.egg-info/top_level.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/_static/favicon.ico +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/_static/favicon.ico.license +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/api.rst +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/api.rst.license +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/conf.py +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/examples.rst +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/examples.rst.license +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/index.rst +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/index.rst.license +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/requirements.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/optional_requirements.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/requirements.txt +0 -0
- {circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/setup.cfg +0 -0
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
"""Example usage of the circuitpython_functools module."""
|
|
7
7
|
|
|
8
|
-
from circuitpython_functools import cache
|
|
8
|
+
from circuitpython_functools import cache, lru_cache
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
@
|
|
11
|
+
@lru_cache(maxsize=3)
|
|
12
12
|
def add(a, b, *, c=1, d=2):
|
|
13
13
|
"""Perform addition."""
|
|
14
14
|
return a + b + c + d
|
|
@@ -12,7 +12,7 @@ requires = [
|
|
|
12
12
|
[project]
|
|
13
13
|
name = "circuitpython-functools"
|
|
14
14
|
description = "A CircuitPython implementation of CPython's functools library"
|
|
15
|
-
version = "2.0.0"
|
|
15
|
+
version = "2.0.0.post0"
|
|
16
16
|
readme = "README.rst"
|
|
17
17
|
authors = [
|
|
18
18
|
{name = "Alec Delaney", email = "tekktrik@gmail.com"}
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.github/workflows/build.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/.pre-commit-config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/CC-BY-4.0.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/LICENSES/Unlicense.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/_static/favicon.ico
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/examples.rst.license
RENAMED
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/docs/index.rst.license
RENAMED
|
File without changes
|
|
File without changes
|
{circuitpython_functools-2.0.0 → circuitpython_functools-2.0.0.post0}/optional_requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|