threadlepy 0.0.1__tar.gz → 0.0.2__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.
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: threadlepy
3
+ Version: 0.0.2
4
+ Summary: a Python client for Threadle
5
+ Author-email: Yukun Jiao <jiaoyukun1999@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/YukunJiao/threadlepy
8
+ Project-URL: Issues, https://github.com/YukunJiao/threadlepy/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # threadlepy
17
+
18
+ `threadlepy` is a minimal Python client for the **Threadle CLI** (JSON mode).
19
+ It starts a Threadle subprocess, communicates via stdin/stdout, and exposes a thin set of command wrappers.
20
+
21
+ > **Status:** Experimental / early-stage. API may change.
22
+
23
+ ---
24
+
25
+ ## Installation
26
+
27
+ From PyPI (once published):
28
+
29
+ ```bash
30
+ pip install threadlepy
31
+ ```
32
+ Local editable install:
33
+
34
+ ```bash
35
+ pip install -e .
36
+ ```
37
+
38
+ Requirements
39
+ - Python 3.9+
40
+ - A working Threadle CLI executable (threadle)
41
+
42
+ Quickstart
43
+
44
+ ```python
45
+ import threadlepy
46
+ import threadlepy.client as client
47
+ import threadlepy.commands as th
48
+
49
+ client.start(path="/Users/doge/Documents/Threadle/Threadle.CLIconsole/bin/Debug/net8.0/threadle")
50
+
51
+ th.set_workdir(dir="/Users/doge/Documents/Examples")
52
+
53
+ lazega_nodeset = th.load_file(
54
+ "lazega_nodeset",
55
+ "/Users/doge/Documents/Examples/lazega_nodes.tsv",
56
+ type="nodeset",
57
+ )
58
+
59
+ lazega = th.load_file(
60
+ "lazega",
61
+ "/Users/doge/Documents/Examples/lazega.tsv",
62
+ type="network",
63
+ )
64
+
65
+ th.info(lazega)
66
+
67
+ th.shortest_path("lazega", 1, 23, "advice")
68
+
69
+ client.stop()
70
+ ```
@@ -0,0 +1,55 @@
1
+ # threadlepy
2
+
3
+ `threadlepy` is a minimal Python client for the **Threadle CLI** (JSON mode).
4
+ It starts a Threadle subprocess, communicates via stdin/stdout, and exposes a thin set of command wrappers.
5
+
6
+ > **Status:** Experimental / early-stage. API may change.
7
+
8
+ ---
9
+
10
+ ## Installation
11
+
12
+ From PyPI (once published):
13
+
14
+ ```bash
15
+ pip install threadlepy
16
+ ```
17
+ Local editable install:
18
+
19
+ ```bash
20
+ pip install -e .
21
+ ```
22
+
23
+ Requirements
24
+ - Python 3.9+
25
+ - A working Threadle CLI executable (threadle)
26
+
27
+ Quickstart
28
+
29
+ ```python
30
+ import threadlepy
31
+ import threadlepy.client as client
32
+ import threadlepy.commands as th
33
+
34
+ client.start(path="/Users/doge/Documents/Threadle/Threadle.CLIconsole/bin/Debug/net8.0/threadle")
35
+
36
+ th.set_workdir(dir="/Users/doge/Documents/Examples")
37
+
38
+ lazega_nodeset = th.load_file(
39
+ "lazega_nodeset",
40
+ "/Users/doge/Documents/Examples/lazega_nodes.tsv",
41
+ type="nodeset",
42
+ )
43
+
44
+ lazega = th.load_file(
45
+ "lazega",
46
+ "/Users/doge/Documents/Examples/lazega.tsv",
47
+ type="network",
48
+ )
49
+
50
+ th.info(lazega)
51
+
52
+ th.shortest_path("lazega", 1, 23, "advice")
53
+
54
+ client.stop()
55
+ ```
@@ -1,10 +1,10 @@
1
1
  [project]
2
2
  name = "threadlepy"
3
- version = "0.0.1"
3
+ version = "0.0.2"
4
4
  authors = [
5
- { name="Example Author", email="author@example.com" },
5
+ { name="Yukun Jiao", email="jiaoyukun1999@gmail.com" },
6
6
  ]
7
- description = "A small example package"
7
+ description = "a Python client for Threadle"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.9"
10
10
  classifiers = [
@@ -15,5 +15,5 @@ license = "MIT"
15
15
  license-files = ["LICEN[CS]E*"]
16
16
 
17
17
  [project.urls]
18
- Homepage = "https://github.com/pypa/sampleproject"
19
- Issues = "https://github.com/pypa/sampleproject/issues"
18
+ Homepage = "https://github.com/YukunJiao/threadlepy"
19
+ Issues = "https://github.com/YukunJiao/threadlepy/issues"
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: threadlepy
3
+ Version: 0.0.2
4
+ Summary: a Python client for Threadle
5
+ Author-email: Yukun Jiao <jiaoyukun1999@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/YukunJiao/threadlepy
8
+ Project-URL: Issues, https://github.com/YukunJiao/threadlepy/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # threadlepy
17
+
18
+ `threadlepy` is a minimal Python client for the **Threadle CLI** (JSON mode).
19
+ It starts a Threadle subprocess, communicates via stdin/stdout, and exposes a thin set of command wrappers.
20
+
21
+ > **Status:** Experimental / early-stage. API may change.
22
+
23
+ ---
24
+
25
+ ## Installation
26
+
27
+ From PyPI (once published):
28
+
29
+ ```bash
30
+ pip install threadlepy
31
+ ```
32
+ Local editable install:
33
+
34
+ ```bash
35
+ pip install -e .
36
+ ```
37
+
38
+ Requirements
39
+ - Python 3.9+
40
+ - A working Threadle CLI executable (threadle)
41
+
42
+ Quickstart
43
+
44
+ ```python
45
+ import threadlepy
46
+ import threadlepy.client as client
47
+ import threadlepy.commands as th
48
+
49
+ client.start(path="/Users/doge/Documents/Threadle/Threadle.CLIconsole/bin/Debug/net8.0/threadle")
50
+
51
+ th.set_workdir(dir="/Users/doge/Documents/Examples")
52
+
53
+ lazega_nodeset = th.load_file(
54
+ "lazega_nodeset",
55
+ "/Users/doge/Documents/Examples/lazega_nodes.tsv",
56
+ type="nodeset",
57
+ )
58
+
59
+ lazega = th.load_file(
60
+ "lazega",
61
+ "/Users/doge/Documents/Examples/lazega.tsv",
62
+ type="network",
63
+ )
64
+
65
+ th.info(lazega)
66
+
67
+ th.shortest_path("lazega", 1, 23, "advice")
68
+
69
+ client.stop()
70
+ ```
threadlepy-0.0.1/PKG-INFO DELETED
@@ -1,20 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: threadlepy
3
- Version: 0.0.1
4
- Summary: A small example package
5
- Author-email: Example Author <author@example.com>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/pypa/sampleproject
8
- Project-URL: Issues, https://github.com/pypa/sampleproject/issues
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.9
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: license-file
15
-
16
- # Example Package
17
-
18
- This is a simple example package. You can use
19
- [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
20
- to write your content.
@@ -1,5 +0,0 @@
1
- # Example Package
2
-
3
- This is a simple example package. You can use
4
- [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
5
- to write your content.
@@ -1,20 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: threadlepy
3
- Version: 0.0.1
4
- Summary: A small example package
5
- Author-email: Example Author <author@example.com>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/pypa/sampleproject
8
- Project-URL: Issues, https://github.com/pypa/sampleproject/issues
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.9
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: license-file
15
-
16
- # Example Package
17
-
18
- This is a simple example package. You can use
19
- [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
20
- to write your content.
File without changes
File without changes