Skip to content

Commit afa85fa

Browse files
author
TNFR AI Agent
committed
feat: Add TNFR primality testing package with Poetry integration
- Add complete zenodo-package with tnfr-primality CLI tools - Implement optimized primality testing with TNFR arithmetic pressure - Add Poetry configuration with minimal dependencies - Synchronize versions to 1.0.0 across all package files - Include comprehensive documentation and examples - Add clean package distribution without cache files
1 parent 5ea08f9 commit afa85fa

27 files changed

+5540
-30
lines changed

pyproject.toml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,40 @@
1+
[tool.poetry]
2+
name = "tnfr"
3+
version = "1.0.0"
4+
description = "Resonant Fractal Nature Theory (TNFR) - Computational engine for modeling coherent patterns through resonance dynamics"
5+
readme = "README.md"
6+
authors = ["F. F. Martinez Gamo"]
7+
license = "MIT"
8+
packages = [{include = "tnfr", from = "src"}]
9+
110
[project]
211
name = "tnfr"
3-
version = "0.0.2"
12+
version = "1.0.0"
413
description = "Resonant Fractal Nature Theory (TNFR) - Computational engine for modeling coherent patterns through resonance dynamics"
514
readme = "README.md"
615
requires-python = ">=3.10"
716
license = "MIT"
817
license-files = ["LICENSE.md"]
918
authors = [{ name = "F. F. Martinez Gamo" }]
1019

20+
[tool.poetry.dependencies]
21+
python = "^3.10"
22+
# Minimal core - truly minimal for primality testing
23+
networkx = {version = "^2.6", optional = true}
24+
cachetools = {version = "^5.0", optional = true}
25+
numpy = {version = "^1.24", optional = true}
26+
scipy = {version = "^1.9", optional = true}
27+
sympy = {version = "^1.10", optional = true}
28+
29+
[tool.poetry.extras]
30+
full = ["numpy", "scipy", "networkx", "cachetools", "sympy"]
31+
math = ["sympy"]
32+
tnfr = ["networkx", "cachetools"]
33+
dev = ["pytest", "black", "flake8", "mypy"]
34+
35+
[tool.poetry.scripts]
36+
tnfr-primality = "tnfr_primality.cli:main"
37+
1138
[tool.tnfr.metadata]
1239
# ORCID retained outside PEP 621 authors block to satisfy strict validators
1340
primary_author_orcid = "0009-0007-6116-0613"
@@ -32,8 +59,6 @@ classifiers = [
3259
dependencies = [
3360
"networkx>=2.6,<4.0",
3461
"cachetools>=5.0,<7.0",
35-
"numpy>=1.24,<3.0",
36-
"scipy>=1.9,<2.0",
3762
]
3863

3964
[project.optional-dependencies]
@@ -297,5 +322,5 @@ ignore_missing_imports = true
297322

298323

299324
[build-system]
300-
requires = ["setuptools>=78.1.1", "wheel", "setuptools-scm>=8"]
325+
requires = ["setuptools>=78.1.1", "wheel"]
301326
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)