creating-intelligence 0.1.0a2__tar.gz → 0.1.0a4__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.
Files changed (20) hide show
  1. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/PKG-INFO +7 -16
  2. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/c_build/memory.c +7 -0
  3. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence.egg-info/PKG-INFO +7 -16
  4. creating_intelligence-0.1.0a4/creating_intelligence.egg-info/requires.txt +6 -0
  5. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/pyproject.toml +1 -1
  6. creating_intelligence-0.1.0a4/requirements.txt +6 -0
  7. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/setup.py +21 -3
  8. creating_intelligence-0.1.0a2/creating_intelligence.egg-info/requires.txt +0 -15
  9. creating_intelligence-0.1.0a2/requirements.txt +0 -15
  10. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/MANIFEST.in +0 -0
  11. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/README.md +0 -0
  12. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/c_build/memory.h +0 -0
  13. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence/__init__.py +0 -0
  14. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence/circuits.py +0 -0
  15. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence/memory_c_ffi.py +0 -0
  16. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence/memory_python.py +0 -0
  17. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence.egg-info/SOURCES.txt +0 -0
  18. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence.egg-info/dependency_links.txt +0 -0
  19. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/creating_intelligence.egg-info/top_level.txt +0 -0
  20. {creating_intelligence-0.1.0a2 → creating_intelligence-0.1.0a4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: creating-intelligence
3
- Version: 0.1.0a2
3
+ Version: 0.1.0a4
4
4
  Summary: A computational foundation for AGI, based on hyperdimensional sparse data and framed in set theory.
5
5
  Author-email: Peter Overmann <mail@creatingintelligence.org>
6
6
  License-Expression: MIT
@@ -13,21 +13,12 @@ Classifier: Programming Language :: C
13
13
  Classifier: Operating System :: OS Independent
14
14
  Requires-Python: >=3.8
15
15
  Description-Content-Type: text/markdown
16
- Requires-Dist: contourpy>=1.3.3
17
- Requires-Dist: cycler>=0.12.1
18
- Requires-Dist: fonttools>=4.64.0
19
- Requires-Dist: kiwisolver>=1.5.1
20
- Requires-Dist: matplotlib>=3.11.1
21
- Requires-Dist: networkx>=3.6.1
22
- Requires-Dist: numpy>=2.5.1
23
- Requires-Dist: packaging>=26.3
24
- Requires-Dist: pillow>=12.3.0
25
- Requires-Dist: pydot>=4.0.1
26
- Requires-Dist: pyparsing>=3.3.2
27
- Requires-Dist: python-dateutil>=2.9.0.post0
28
- Requires-Dist: python-dotenv>=1.2.3
29
- Requires-Dist: scipy>=1.18.1
30
- Requires-Dist: six>=1.17.0
16
+ Requires-Dist: matplotlib>=3.5.0
17
+ Requires-Dist: networkx>=2.8.0
18
+ Requires-Dist: numpy>=1.21.0
19
+ Requires-Dist: pydot>=1.4.2
20
+ Requires-Dist: python-dotenv>=0.21.0
21
+ Requires-Dist: scipy>=1.8.0
31
22
 
32
23
  # Creating Intelligence
33
24
 
@@ -831,3 +831,10 @@ Set* Memory_read (Memory *self, Set *A, Set *Y)
831
831
 
832
832
 
833
833
  // End of file
834
+
835
+
836
+ /* Dummy Python init function to satisfy MSVC linker */
837
+ #if defined(_WIN32)
838
+ __declspec(dllexport)
839
+ #endif
840
+ void* PyInit_libmemory(void) { return 0; }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: creating-intelligence
3
- Version: 0.1.0a2
3
+ Version: 0.1.0a4
4
4
  Summary: A computational foundation for AGI, based on hyperdimensional sparse data and framed in set theory.
5
5
  Author-email: Peter Overmann <mail@creatingintelligence.org>
6
6
  License-Expression: MIT
@@ -13,21 +13,12 @@ Classifier: Programming Language :: C
13
13
  Classifier: Operating System :: OS Independent
14
14
  Requires-Python: >=3.8
15
15
  Description-Content-Type: text/markdown
16
- Requires-Dist: contourpy>=1.3.3
17
- Requires-Dist: cycler>=0.12.1
18
- Requires-Dist: fonttools>=4.64.0
19
- Requires-Dist: kiwisolver>=1.5.1
20
- Requires-Dist: matplotlib>=3.11.1
21
- Requires-Dist: networkx>=3.6.1
22
- Requires-Dist: numpy>=2.5.1
23
- Requires-Dist: packaging>=26.3
24
- Requires-Dist: pillow>=12.3.0
25
- Requires-Dist: pydot>=4.0.1
26
- Requires-Dist: pyparsing>=3.3.2
27
- Requires-Dist: python-dateutil>=2.9.0.post0
28
- Requires-Dist: python-dotenv>=1.2.3
29
- Requires-Dist: scipy>=1.18.1
30
- Requires-Dist: six>=1.17.0
16
+ Requires-Dist: matplotlib>=3.5.0
17
+ Requires-Dist: networkx>=2.8.0
18
+ Requires-Dist: numpy>=1.21.0
19
+ Requires-Dist: pydot>=1.4.2
20
+ Requires-Dist: python-dotenv>=0.21.0
21
+ Requires-Dist: scipy>=1.8.0
31
22
 
32
23
  # Creating Intelligence
33
24
 
@@ -0,0 +1,6 @@
1
+ matplotlib>=3.5.0
2
+ networkx>=2.8.0
3
+ numpy>=1.21.0
4
+ pydot>=1.4.2
5
+ python-dotenv>=0.21.0
6
+ scipy>=1.8.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "creating-intelligence"
7
- version = "0.1.0a2"
7
+ version = "0.1.0a4"
8
8
  dynamic = ["dependencies"]
9
9
  description = "A computational foundation for AGI, based on hyperdimensional sparse data and framed in set theory."
10
10
  readme = "README.md"
@@ -0,0 +1,6 @@
1
+ matplotlib>=3.5.0
2
+ networkx>=2.8.0
3
+ numpy>=1.21.0
4
+ pydot>=1.4.2
5
+ python-dotenv>=0.21.0
6
+ scipy>=1.8.0
@@ -18,15 +18,32 @@ if os.path.exists(repo_c_source):
18
18
  src_file = os.path.join(repo_c_dir, filename)
19
19
  if os.path.exists(src_file):
20
20
  shutil.copy2(src_file, os.path.join(staged_c_dir, filename))
21
+
22
+ # Append a dummy initialization symbol to satisfy the MSVC linker on Windows
23
+ with open(os.path.join(staged_c_dir, "memory.c"), "a") as f:
24
+ f.write("\n\n/* Dummy Python init function to satisfy MSVC linker */\n")
25
+ f.write("#if defined(_WIN32)\n__declspec(dllexport)\n#endif\n")
26
+ f.write("void* PyInit_libmemory(void) { return 0; }\n")
27
+
21
28
  staged_files = True
22
-
29
+
30
+
23
31
  compile_args = ["/O2"] if platform.system() == "Windows" else ["-O3"]
24
32
 
25
33
  libmemory_ext = Extension(
26
34
  name="creating_intelligence.libmemory",
27
35
  sources=[os.path.join("c_build", "memory.c")],
28
36
  depends=[os.path.join("c_build", "memory.h")],
29
- extra_compile_args=compile_args
37
+ extra_compile_args=compile_args,
38
+ export_symbols=[
39
+ "Memory_new",
40
+ "Memory_set_threshold",
41
+ "Memory_get_threshold",
42
+ "Memory_count",
43
+ "Memory_free",
44
+ "Memory_write",
45
+ "Memory_read"
46
+ ]
30
47
  )
31
48
 
32
49
  BUILD_TOOLS_ERROR = """
@@ -70,4 +87,5 @@ try:
70
87
  )
71
88
  finally:
72
89
  if staged_files and os.path.exists(staged_c_dir):
73
- shutil.rmtree(staged_c_dir)
90
+ shutil.rmtree(staged_c_dir)
91
+
@@ -1,15 +0,0 @@
1
- contourpy>=1.3.3
2
- cycler>=0.12.1
3
- fonttools>=4.64.0
4
- kiwisolver>=1.5.1
5
- matplotlib>=3.11.1
6
- networkx>=3.6.1
7
- numpy>=2.5.1
8
- packaging>=26.3
9
- pillow>=12.3.0
10
- pydot>=4.0.1
11
- pyparsing>=3.3.2
12
- python-dateutil>=2.9.0.post0
13
- python-dotenv>=1.2.3
14
- scipy>=1.18.1
15
- six>=1.17.0
@@ -1,15 +0,0 @@
1
- contourpy>=1.3.3
2
- cycler>=0.12.1
3
- fonttools>=4.64.0
4
- kiwisolver>=1.5.1
5
- matplotlib>=3.11.1
6
- networkx>=3.6.1
7
- numpy>=2.5.1
8
- packaging>=26.3
9
- pillow>=12.3.0
10
- pydot>=4.0.1
11
- pyparsing>=3.3.2
12
- python-dateutil>=2.9.0.post0
13
- python-dotenv>=1.2.3
14
- scipy>=1.18.1
15
- six>=1.17.0