thinking-machine 0.1.3__tar.gz → 0.1.5__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 (31) hide show
  1. {thinking_machine-0.1.3/src/thinking_machine.egg-info → thinking_machine-0.1.5}/PKG-INFO +8 -4
  2. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/README.md +6 -2
  3. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/pyproject.toml +2 -2
  4. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/cli.py +10 -6
  5. {thinking_machine-0.1.3 → thinking_machine-0.1.5/src/thinking_machine.egg-info}/PKG-INFO +8 -4
  6. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/LICENSE +0 -0
  7. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/MANIFEST.in +0 -0
  8. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/setup.cfg +0 -0
  9. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/__init__.py +0 -0
  10. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/config.py +0 -0
  11. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/githf.py +0 -0
  12. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/machina.yaml +0 -0
  13. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/machine.py +0 -0
  14. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/__init__.py +0 -0
  15. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/camelids.py +0 -0
  16. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/castor_pollux.py +0 -0
  17. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/depsek.py +0 -0
  18. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/electroid.py +0 -0
  19. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/openai.py +0 -0
  20. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/qrog.py +0 -0
  21. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/providers/strangelove.py +0 -0
  22. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine/utilities.py +0 -0
  23. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine.egg-info/SOURCES.txt +0 -0
  24. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine.egg-info/dependency_links.txt +0 -0
  25. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine.egg-info/entry_points.txt +0 -0
  26. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine.egg-info/requires.txt +0 -0
  27. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/src/thinking_machine.egg-info/top_level.txt +0 -0
  28. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/tests/test_cli.py +0 -0
  29. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/tests/test_e2e.py +0 -0
  30. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/tests/test_llm_soup.py +0 -0
  31. {thinking_machine-0.1.3 → thinking_machine-0.1.5}/tests/test_utilities.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thinking-machine
3
- Version: 0.1.3
4
- Summary: Thinking-Machine ...
3
+ Version: 0.1.5
4
+ Summary: A Machine that thinks.
5
5
  Author-email: Machina Ratiocinatrix <machina.ratio@gmail.com>, Alexander Fedotov <alex.fedotov@aol.com>
6
6
  Project-URL: Homepage, https://github.com/machina-ratiocinatrix/thinking-machine
7
7
  Keywords: thinking-machine
@@ -21,8 +21,8 @@ In order to launch it from the command line or as a Python subprocess:
21
21
  ```bash
22
22
  echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
23
23
  | uvx thinking-machine \
24
- --provider-api-key=sk-proj-... \
25
- --github-token=ghp_...
24
+ --provider-api-key sk-proj-... \
25
+ --github-token ghp_...
26
26
  ```
27
27
 
28
28
  Or, with a local pip installation:
@@ -44,6 +44,10 @@ thinking-machine multilogue.txt > response.txt
44
44
  ```
45
45
  Or:
46
46
  ```bash
47
+ thinking-machine -a multilogue.txt | vim
48
+ ```
49
+ Or:
50
+ ```bash
47
51
  thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
48
52
  ```
49
53
 
@@ -5,8 +5,8 @@ In order to launch it from the command line or as a Python subprocess:
5
5
  ```bash
6
6
  echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
7
7
  | uvx thinking-machine \
8
- --provider-api-key=sk-proj-... \
9
- --github-token=ghp_...
8
+ --provider-api-key sk-proj-... \
9
+ --github-token ghp_...
10
10
  ```
11
11
 
12
12
  Or, with a local pip installation:
@@ -28,6 +28,10 @@ thinking-machine multilogue.txt > response.txt
28
28
  ```
29
29
  Or:
30
30
  ```bash
31
+ thinking-machine -a multilogue.txt | vim
32
+ ```
33
+ Or:
34
+ ```bash
31
35
  thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
32
36
  ```
33
37
 
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "thinking-machine"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  authors = [
9
9
  {name="Machina Ratiocinatrix", email="machina.ratio@gmail.com"},
10
10
  {name="Alexander Fedotov", email="alex.fedotov@aol.com"}
11
11
  ]
12
- description = "Thinking-Machine ..."
12
+ description = "A Machine that thinks."
13
13
  readme = "README.md"
14
14
  requires-python = ">=3.10"
15
15
  classifiers=[
@@ -20,7 +20,7 @@ def options_and_arguments():
20
20
  parser = argparse.ArgumentParser(
21
21
  description="Thinking-Machine thinks for you about the meanings.",
22
22
  epilog="Example: thinking-machine input_text.txt > output_text.txt"
23
- # thinking-machine multilogue.txt > tmp && mv tmp multilogue.txt
23
+ # thinking-machine -a multilogue.txt > tmp && mv tmp multilogue.txt
24
24
  )
25
25
 
26
26
  # Give the access key and token, or set the environment variables in advance.
@@ -31,15 +31,19 @@ def options_and_arguments():
31
31
  default=os.getenv('GITHUB_TOKEN', 'no_token'),
32
32
  help="GitHub API token (defaults to $GITHUB_TOKEN)")
33
33
 
34
+ parser.add_argument('-a', '--append',
35
+ action='store_true',
36
+ help="Append the utterance to the input.")
37
+
38
+ parser.add_argument('-d', '--debug',
39
+ action='store_true',
40
+ help="Debug flag.")
41
+
34
42
  # Add the interactive flag
35
43
  # parser.add_argument('-i', '--interactive',
36
44
  # action='store_true',
37
45
  # help="Enable interactive mode (defaults to False)")
38
46
 
39
- parser.add_argument('-a', '--append',
40
- action='store_true',
41
- help="Append the utterance to the input.")
42
-
43
47
  # Positional arguments (files)
44
48
  # '*' captures zero or more arguments into a list, nargs='+' one or more.
45
49
  parser.add_argument('filenames',
@@ -127,7 +131,7 @@ def run():
127
131
  # Open syslog connection
128
132
  syslog.openlog(
129
133
  ident="thinking-machine",
130
- logoption=syslog.LOG_PERROR | syslog.LOG_NDELAY,
134
+ logoption=syslog.LOG_NDELAY,
131
135
  facility=syslog.LOG_USER
132
136
  )
133
137
  # Signal (single line less than 4096 only!)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thinking-machine
3
- Version: 0.1.3
4
- Summary: Thinking-Machine ...
3
+ Version: 0.1.5
4
+ Summary: A Machine that thinks.
5
5
  Author-email: Machina Ratiocinatrix <machina.ratio@gmail.com>, Alexander Fedotov <alex.fedotov@aol.com>
6
6
  Project-URL: Homepage, https://github.com/machina-ratiocinatrix/thinking-machine
7
7
  Keywords: thinking-machine
@@ -21,8 +21,8 @@ In order to launch it from the command line or as a Python subprocess:
21
21
  ```bash
22
22
  echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
23
23
  | uvx thinking-machine \
24
- --provider-api-key=sk-proj-... \
25
- --github-token=ghp_...
24
+ --provider-api-key sk-proj-... \
25
+ --github-token ghp_...
26
26
  ```
27
27
 
28
28
  Or, with a local pip installation:
@@ -44,6 +44,10 @@ thinking-machine multilogue.txt > response.txt
44
44
  ```
45
45
  Or:
46
46
  ```bash
47
+ thinking-machine -a multilogue.txt | vim
48
+ ```
49
+ Or:
50
+ ```bash
47
51
  thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
48
52
  ```
49
53