Map folding, meanders, stamp folding, semi-meanders. Experiment with algorithm transformations, and analyze computational states.
Project description
mapFolding
Map folding, meanders, stamp folding, semi-meanders. Experiment with algorithm transformations and code optimization.
I don't know how to write a README.md. Furthermore, the package used to be focused on multidimensional map folding and tools for transforming the algorithm to experiment with optimizations or to explore the algorithm.
First, the tools for transforming algorithms became far more sophisticated and powerful than this package. So I moved them to astToolkit. But those got so sophisticated, that I create more than half of that package through another layer of meta-programming: astToolFactory.
Second, when I finally understood the connections between map folding and meanders, I added meanders to this package, and applied my transformation tools to that algorithm.
I used a weaker form of this package to compute new terms for OEIS A001415, "Number of ways of folding a 2 X n strip of stamps." There are cool and powerful tools in here, but as of 2025 September 17, I am dissatisfied with the organization and documentation. It's annoying.
Finding stuff
- At the moment, almost every algorithm version eventually runs through "mapFolding/basecamp.py", so it's sort of an overview and you can work backwards to find more details.
- The directory "mapFolding/algorithms" only has "handmade" algorithms. Therefore, most logic for most computations is based on something in that directory.
- The directory "mapFolding/syntheticModules" has code that is generated by the transformation tools.
- Transformation functions are in "mapFolding/someAssemblyRequired."
- The directory "mapFolding/reference" has "reference" materials.
- "mapFolding/tests" has the tests, and I have tried to make it easy for you to add your versions of the algorithms to the tests. Is it actually easy? I'll say it this way: if you were to create your own subclass of
ast.ASTit would be impossible for you to add your subclass to all of theastmodule tests with just a few lines of code. In contrast, it is possible to fully test your algorithm with my tests by adding between 3 and 25 lines of code. So, yeah, it's easy.
Math and programming
I'm not a mathematician. I don't have training in or professional experience as a programmer. I'm not stupid: I'm ignorant.
My recovery
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mapfolding-0.18.0.tar.gz.
File metadata
- Download URL: mapfolding-0.18.0.tar.gz
- Upload date:
- Size: 776.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
932ced7ec881f482338be1f9c002e0516fc6df5376959c9aebf6f9dbdb166ce5
|
|
| MD5 |
eca8f349797d852a139df41f2b669147
|
|
| BLAKE2b-256 |
b9ab312db0cf88581c88aa685aefadb2a3d13d21cda139133e5504606c24e0e8
|
Provenance
The following attestation bundles were made for mapfolding-0.18.0.tar.gz:
Publisher:
pypiRelease.yml on hunterhogan/mapFolding
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mapfolding-0.18.0.tar.gz -
Subject digest:
932ced7ec881f482338be1f9c002e0516fc6df5376959c9aebf6f9dbdb166ce5 - Sigstore transparency entry: 907878099
- Sigstore integration time:
-
Permalink:
hunterhogan/mapFolding@7b75af66cad9ea813fe08e978e3ef2200b6537b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hunterhogan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypiRelease.yml@7b75af66cad9ea813fe08e978e3ef2200b6537b4 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file mapfolding-0.18.0-py3-none-any.whl.
File metadata
- Download URL: mapfolding-0.18.0-py3-none-any.whl
- Upload date:
- Size: 959.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eecadd9d453b4bdea59bc219bf99f4f15dda89cbd8172d4acb767a90db5c5379
|
|
| MD5 |
549335be9cb97aafabc7df44f10ac74f
|
|
| BLAKE2b-256 |
cf41666893f0730d8ef9416418e3efe91198d76d4a960dc52652e2ee06302a5c
|
Provenance
The following attestation bundles were made for mapfolding-0.18.0-py3-none-any.whl:
Publisher:
pypiRelease.yml on hunterhogan/mapFolding
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mapfolding-0.18.0-py3-none-any.whl -
Subject digest:
eecadd9d453b4bdea59bc219bf99f4f15dda89cbd8172d4acb767a90db5c5379 - Sigstore transparency entry: 907878102
- Sigstore integration time:
-
Permalink:
hunterhogan/mapFolding@7b75af66cad9ea813fe08e978e3ef2200b6537b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hunterhogan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypiRelease.yml@7b75af66cad9ea813fe08e978e3ef2200b6537b4 -
Trigger Event:
workflow_run
-
Statement type: