mapFolding 0.3.10__tar.gz → 0.3.11__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.
- {mapfolding-0.3.10 → mapfolding-0.3.11}/PKG-INFO +3 -1
- mapfolding-0.3.11/mapFolding/someAssemblyRequired/__init__.py +1 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/someAssemblyRequired/makeJob.py +5 -5
- mapfolding-0.3.11/mapFolding/someAssemblyRequired/synthesizeNumba.py +805 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/syntheticModules/numba_countInitialize.py +10 -6
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/syntheticModules/numba_countParallel.py +14 -8
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/syntheticModules/numba_countSequential.py +11 -6
- mapfolding-0.3.11/mapFolding/syntheticModules/numba_doTheNeedful.py +20 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/theDao.py +36 -19
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/theSSOT.py +8 -8
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/theSSOTnumba.py +1 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/PKG-INFO +3 -1
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/SOURCES.txt +1 -2
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/requires.txt +2 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/pyproject.toml +5 -3
- mapfolding-0.3.10/mapFolding/someAssemblyRequired/__init__.py +0 -2
- mapfolding-0.3.10/mapFolding/someAssemblyRequired/synthesizeJobNumba.py +0 -383
- mapfolding-0.3.10/mapFolding/someAssemblyRequired/synthesizeModulesNumba.py +0 -533
- mapfolding-0.3.10/mapFolding/syntheticModules/numba_doTheNeedful.py +0 -30
- {mapfolding-0.3.10 → mapfolding-0.3.11}/LICENSE +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/README.md +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/__init__.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/basecamp.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/beDRY.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/oeis.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/flattened.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/hunterNumba.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/irvineJavaPort.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/jax.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/lunnan.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/lunnanNumpy.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/lunnanWhile.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/rotatedEntryPoint.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/reference/total_countPlus1vsPlusN.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/someAssemblyRequired/getLLVMforNoReason.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding/someAssemblyRequired/synthesizeModuleJAX.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/dependency_links.txt +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/entry_points.txt +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/mapFolding.egg-info/top_level.txt +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/setup.cfg +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/__init__.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/conftest.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/conftest_tmpRegistry.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/conftest_uniformTests.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/test_oeis.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/test_other.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/test_tasks.py +0 -0
- {mapfolding-0.3.10 → mapfolding-0.3.11}/tests/test_types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mapFolding
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
4
4
|
Summary: Count distinct ways to fold a map (or a strip of stamps)
|
|
5
5
|
Author-email: Hunter Hogan <HunterHogan@pm.me>
|
|
6
6
|
License: CC-BY-NC-4.0
|
|
@@ -26,6 +26,7 @@ Requires-Dist: numba
|
|
|
26
26
|
Requires-Dist: numpy
|
|
27
27
|
Requires-Dist: Z0Z_tools
|
|
28
28
|
Provides-Extra: testing
|
|
29
|
+
Requires-Dist: autoflake; extra == "testing"
|
|
29
30
|
Requires-Dist: more_itertools; extra == "testing"
|
|
30
31
|
Requires-Dist: mypy; extra == "testing"
|
|
31
32
|
Requires-Dist: pytest-cov; extra == "testing"
|
|
@@ -35,6 +36,7 @@ Requires-Dist: pytest-xdist; extra == "testing"
|
|
|
35
36
|
Requires-Dist: pytest; extra == "testing"
|
|
36
37
|
Requires-Dist: python_minifier; extra == "testing"
|
|
37
38
|
Requires-Dist: types-setuptools; extra == "testing"
|
|
39
|
+
Requires-Dist: updateCitation; extra == "testing"
|
|
38
40
|
|
|
39
41
|
# Algorithm(s) for counting distinct ways to fold a map (or a strip of stamps)
|
|
40
42
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .makeJob import makeStateJob
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from mapFolding import getPathFilenameFoldsTotal, computationState, outfitCountFolds, getAlgorithmSource
|
|
2
|
-
from
|
|
2
|
+
from types import ModuleType
|
|
3
|
+
from typing import Any, Literal, Optional, Sequence, overload
|
|
3
4
|
import pathlib
|
|
4
5
|
import pickle
|
|
5
6
|
|
|
@@ -13,7 +14,7 @@ def makeStateJob(listDimensions: Sequence[int], *, writeJob: Literal[False]
|
|
|
13
14
|
, **keywordArguments: Optional[str]) -> computationState:
|
|
14
15
|
...
|
|
15
16
|
|
|
16
|
-
def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keywordArguments: Optional[
|
|
17
|
+
def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keywordArguments: Optional[Any]) -> computationState | pathlib.Path:
|
|
17
18
|
"""
|
|
18
19
|
Creates a computation state job for map folding calculations and optionally saves it to disk.
|
|
19
20
|
|
|
@@ -42,10 +43,9 @@ def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keyw
|
|
|
42
43
|
when writeJob is True. The file is saved in a directory structure based on the map shape.
|
|
43
44
|
"""
|
|
44
45
|
|
|
45
|
-
stateUniversal: computationState = outfitCountFolds(listDimensions,
|
|
46
|
+
stateUniversal: computationState = outfitCountFolds(listDimensions, **keywordArguments)
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
moduleSource = getAlgorithmSource()
|
|
48
|
+
moduleSource: ModuleType = getAlgorithmSource()
|
|
49
49
|
moduleSource.countInitialize(stateUniversal['connectionGraph'], stateUniversal['gapsWhere'], stateUniversal['my'], stateUniversal['track'])
|
|
50
50
|
|
|
51
51
|
if not writeJob:
|