programasweights 0.1.0.dev10__py3-none-any.whl → 0.2.0__py3-none-any.whl

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.
@@ -22,7 +22,7 @@ API reference:
22
22
  paw.api_key API key (set via login() or PAW_API_KEY env var)
23
23
  """
24
24
 
25
- __version__ = "0.1.0.dev10"
25
+ __version__ = "0.2.0"
26
26
 
27
27
  from .config import get_api_url, get_api_key, set_api_key
28
28
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: programasweights
3
- Version: 0.1.0.dev10
3
+ Version: 0.2.0
4
4
  Summary: Compile natural language specifications into neural programs that run locally via llama.cpp.
5
5
  Project-URL: Homepage, https://programasweights.com
6
6
  Project-URL: Repository, https://github.com/programasweights/programasweights-python
@@ -8,6 +8,7 @@ Project-URL: Documentation, https://programasweights.readthedocs.io
8
8
  Project-URL: Bug Tracker, https://github.com/programasweights/programasweights-python/issues
9
9
  Author-email: ProgramAsWeights <support@programasweights.com>
10
10
  License: MIT
11
+ License-File: LICENSE
11
12
  Keywords: inference,llama-cpp,lora,neural-programs,nlp
12
13
  Classifier: Development Status :: 3 - Alpha
13
14
  Classifier: Intended Audience :: Developers
@@ -52,9 +53,10 @@ fn("Newsletter: spring picnic") # "wait"
52
53
  # Compile your own from a description
53
54
  program = paw.compile(
54
55
  "Fix malformed JSON: repair missing quotes and trailing commas",
55
- compiler="paw-4b-qwen3-0.6b" # or "paw-4b-gpt2" for smaller/faster
56
+ compiler="paw-4b-qwen3-0.6b", # or "paw-4b-gpt2" for smaller/faster
57
+ slug="json-fixer" # optional: creates username/json-fixer handle
56
58
  )
57
- fn = paw.function(program.id)
59
+ fn = paw.function(program.slug) # or paw.function(program.id)
58
60
  fn("{name: 'Alice',}") # '{"name": "Alice"}'
59
61
  ```
60
62
 
@@ -1,4 +1,4 @@
1
- programasweights/__init__.py,sha256=kZ2JEAJmNN4d26rVdVnHLAtozWOjbDf5OEMtIm78lww,5953
1
+ programasweights/__init__.py,sha256=W8eI-1fWAOSj-cbUlAehz_dqizS44I_BfKY3Wg2HX08,5947
2
2
  programasweights/artifacts.py,sha256=bSRZgYadAYyuH9aIW6P3VocExfGDGAHeDuj8vod5-Bo,1968
3
3
  programasweights/cache.py,sha256=7L4D5juQLtARVT4aEqzy9N2Lz6xUv9uk7LBZMuJJFrY,3866
4
4
  programasweights/cli.py,sha256=3r8ggIAvrnCdpT1L0qnQVzw4UBPyv_dh4rTqMT8O26U,6674
@@ -12,7 +12,8 @@ programasweights/compiler/dummy.py,sha256=PcLwijRNM4q2E9PNUcfCPf_y08QjsteVENR0TV
12
12
  programasweights/runtime/__init__.py,sha256=S4jp7-eWAcMa0X417U7P6HkTL1j3v8ffQA-nneh9wY0,549
13
13
  programasweights/runtime/interpreter.py,sha256=brYCtatSsu23lq87cuki4MViqZX6U32LBw7Z3USbQmA,19632
14
14
  programasweights/runtime/interpreter_onnx.py,sha256=kzYKmwg_h0tVhoQlixJGKoHPVhcCK22AcHG59oeYX2Q,21559
15
- programasweights-0.1.0.dev10.dist-info/METADATA,sha256=AqQHZ3pAeD8upM9fgYxzyyENYncay2h8Gu_968fXluU,5639
16
- programasweights-0.1.0.dev10.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
17
- programasweights-0.1.0.dev10.dist-info/entry_points.txt,sha256=l4ZnfCPU0oMzhGB9T2Fv9AnDbSCMM70KUUJVtSvMJBc,50
18
- programasweights-0.1.0.dev10.dist-info/RECORD,,
15
+ programasweights-0.2.0.dist-info/METADATA,sha256=kOFo-4y367Cnxs7jIFcjoRpvYa5XraK5EJ-EFbtfKY8,5773
16
+ programasweights-0.2.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
17
+ programasweights-0.2.0.dist-info/entry_points.txt,sha256=l4ZnfCPU0oMzhGB9T2Fv9AnDbSCMM70KUUJVtSvMJBc,50
18
+ programasweights-0.2.0.dist-info/licenses/LICENSE,sha256=6GRcDlVhbPMVgkKqBt0cgwyvtvFxpdp4s2vcYKST4r0,1073
19
+ programasweights-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ProgramAsWeights
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.