basedpython 0.0.1a8__py3-none-win32.whl → 0.0.1a9__py3-none-win32.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.
- {basedpython-0.0.1a8.data → basedpython-0.0.1a9.data}/scripts/buff.exe +0 -0
- {basedpython-0.0.1a8.data → basedpython-0.0.1a9.data}/scripts/by.exe +0 -0
- {basedpython-0.0.1a8.dist-info → basedpython-0.0.1a9.dist-info}/METADATA +16 -7
- basedpython-0.0.1a9.dist-info/RECORD +7 -0
- {basedpython-0.0.1a8.dist-info → basedpython-0.0.1a9.dist-info}/sboms/basedpython.cyclonedx.json +14 -12
- basedpython-0.0.1a8.dist-info/RECORD +0 -7
- {basedpython-0.0.1a8.dist-info → basedpython-0.0.1a9.dist-info}/WHEEL +0 -0
- {basedpython-0.0.1a8.dist-info → basedpython-0.0.1a9.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: basedpython
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.1a9
|
|
4
4
|
Classifier: Development Status :: 1 - Planning
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -38,15 +38,25 @@ Project-URL: Repository, https://github.com/KotlinIsland/basedpython
|
|
|
38
38
|
|
|
39
39
|
a python type checker and a python-like language that transpiles to pure python
|
|
40
40
|
|
|
41
|
+
- **a python type checker with framework support** — pydantic, sqlalchemy,
|
|
42
|
+
pytest and django are modelled directly, so the magic they do at runtime
|
|
43
|
+
checks like ordinary code
|
|
44
|
+
- **basedpython, a python-like language that builds into python wheels**
|
|
45
|
+
- **compiles into high performance python extension modules**
|
|
46
|
+
- **a language server, formatter and linter** — `by server` drives the editor,
|
|
47
|
+
and `buff` is the basedpython build of ruff
|
|
48
|
+
|
|
41
49
|
```by
|
|
42
50
|
enum class Shape:
|
|
43
51
|
case Circle(radius: int)
|
|
44
52
|
case Rect(width: int, height: int)
|
|
45
53
|
|
|
46
54
|
def area(self) -> int:
|
|
47
|
-
match self:
|
|
48
|
-
case Shape.Circle(r):
|
|
49
|
-
|
|
55
|
+
return match self:
|
|
56
|
+
case Shape.Circle(r):
|
|
57
|
+
3 * r * r
|
|
58
|
+
case Shape.Rect(w, h):
|
|
59
|
+
w * h
|
|
50
60
|
|
|
51
61
|
extension list[Element: Shape]:
|
|
52
62
|
def first_circle(self) -> Shape.Circle?:
|
|
@@ -69,6 +79,7 @@ def main():
|
|
|
69
79
|
|
|
70
80
|
```sh
|
|
71
81
|
uv add --dev basedpython
|
|
82
|
+
echo 'print("hello")' > main.by
|
|
72
83
|
by run main
|
|
73
84
|
```
|
|
74
85
|
|
|
@@ -78,8 +89,6 @@ by run main
|
|
|
78
89
|
|
|
79
90
|
## acknowledgements
|
|
80
91
|
|
|
81
|
-
basedpython is
|
|
82
|
-
it reuses ruff's parser, AST, and fix-application machinery, and the type
|
|
83
|
-
checker is built on [ty](https://github.com/astral-sh/ty). none of this would
|
|
92
|
+
basedpython is built on top of [astral-sh/ruff](https://github.com/astral-sh/ruff). none of this would
|
|
84
93
|
exist without the work of the astral team and the wider ruff community
|
|
85
94
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
basedpython-0.0.1a9.data/scripts/buff.exe,sha256=mfWRZpVPSKvNvA4Dk-8-Kfr1DbO9gLHec_z61euAPqQ,29585920
|
|
2
|
+
basedpython-0.0.1a9.data/scripts/by.exe,sha256=S61lVN_l0vDHq3TmxzZ99aACD3NSNKZ0sm8JkG5gurg,33567232
|
|
3
|
+
basedpython-0.0.1a9.dist-info/METADATA,sha256=eMhC61Zw2AHz2Jg6GpfZLEYBk5yc8X3ScGPA07qWgsY,3504
|
|
4
|
+
basedpython-0.0.1a9.dist-info/WHEEL,sha256=JNKjfk8t_lLPebUae1rF2yydfqwhoTBTQSUGXxfneN4,90
|
|
5
|
+
basedpython-0.0.1a9.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
+
basedpython-0.0.1a9.dist-info/sboms/basedpython.cyclonedx.json,sha256=msCUZ9h9GjN3Vnlrsk2VIc9cgISr45GojbwqPGkez-0,435933
|
|
7
|
+
basedpython-0.0.1a9.dist-info/RECORD,,
|
{basedpython-0.0.1a8.dist-info → basedpython-0.0.1a9.dist-info}/sboms/basedpython.cyclonedx.json
RENAMED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.5",
|
|
4
4
|
"version": 1,
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:8827f260-1061-4580-9bf5-1853f29284fa",
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2026-
|
|
7
|
+
"timestamp": "2026-08-10T00:44:57.867827100Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "CycloneDX",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
],
|
|
15
15
|
"component": {
|
|
16
16
|
"type": "application",
|
|
17
|
-
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
17
|
+
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9",
|
|
18
18
|
"name": "basedpython",
|
|
19
|
-
"version": "0.0.1-
|
|
19
|
+
"version": "0.0.1-a9",
|
|
20
20
|
"description": "the basedpython toolchain — the `by` type-checker / transpiler and `buff` linter / formatter",
|
|
21
21
|
"scope": "required",
|
|
22
22
|
"licenses": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"expression": "MIT"
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
|
-
"purl": "pkg:cargo/basedpython@0.0.1-
|
|
27
|
+
"purl": "pkg:cargo/basedpython@0.0.1-a9?download_url=file://.",
|
|
28
28
|
"externalReferences": [
|
|
29
29
|
{
|
|
30
30
|
"type": "vcs",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"components": [
|
|
35
35
|
{
|
|
36
36
|
"type": "application",
|
|
37
|
-
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
37
|
+
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9 bin-target-0",
|
|
38
38
|
"name": "buff",
|
|
39
|
-
"version": "0.0.1-
|
|
40
|
-
"purl": "pkg:cargo/basedpython@0.0.1-
|
|
39
|
+
"version": "0.0.1-a9",
|
|
40
|
+
"purl": "pkg:cargo/basedpython@0.0.1-a9?download_url=file://.#src/buff.rs"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"type": "application",
|
|
44
|
-
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
44
|
+
"bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9 bin-target-1",
|
|
45
45
|
"name": "by",
|
|
46
|
-
"version": "0.0.1-
|
|
47
|
-
"purl": "pkg:cargo/basedpython@0.0.1-
|
|
46
|
+
"version": "0.0.1-a9",
|
|
47
|
+
"purl": "pkg:cargo/basedpython@0.0.1-a9?download_url=file://.#src/by.rs"
|
|
48
48
|
}
|
|
49
49
|
]
|
|
50
50
|
},
|
|
@@ -10291,7 +10291,7 @@
|
|
|
10291
10291
|
],
|
|
10292
10292
|
"dependencies": [
|
|
10293
10293
|
{
|
|
10294
|
-
"ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
10294
|
+
"ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9",
|
|
10295
10295
|
"dependsOn": [
|
|
10296
10296
|
"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.102",
|
|
10297
10297
|
"registry+https://github.com/rust-lang/crates.io-index#argfile@1.0.0",
|
|
@@ -10316,6 +10316,7 @@
|
|
|
10316
10316
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_python_trivia#0.0.5",
|
|
10317
10317
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_source_file#0.0.5",
|
|
10318
10318
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_text_size#0.0.5",
|
|
10319
|
+
"registry+https://github.com/rust-lang/crates.io-index#salsa@0.28.1",
|
|
10319
10320
|
"registry+https://github.com/rust-lang/crates.io-index#thin-vec@0.2.18",
|
|
10320
10321
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10321
10322
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_python_core#0.0.5",
|
|
@@ -10867,6 +10868,7 @@
|
|
|
10867
10868
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-flame@0.2.0",
|
|
10868
10869
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-subscriber@0.3.23",
|
|
10869
10870
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_combine#0.0.5",
|
|
10871
|
+
"path+file:///D:/a/basedpython/basedpython/crates/ty_ide#0.0.0",
|
|
10870
10872
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_module_resolver#0.0.5",
|
|
10871
10873
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10872
10874
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_python_semantic#0.0.5",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
basedpython-0.0.1a8.data/scripts/buff.exe,sha256=zNczKEuT4Ez0JmQlyJY69MgPHcV9Ow7bvAy8TAYppSw,29423616
|
|
2
|
-
basedpython-0.0.1a8.data/scripts/by.exe,sha256=8V9eP7CQzOXQShzYXiZ4LxqWWwOZ96hY7CQj0i1tMwg,31399424
|
|
3
|
-
basedpython-0.0.1a8.dist-info/METADATA,sha256=mtgWr8gfQcnEECPa6mLtXotRrwbeQuOfpHYkkeUeQNg,3119
|
|
4
|
-
basedpython-0.0.1a8.dist-info/WHEEL,sha256=JNKjfk8t_lLPebUae1rF2yydfqwhoTBTQSUGXxfneN4,90
|
|
5
|
-
basedpython-0.0.1a8.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
-
basedpython-0.0.1a8.dist-info/sboms/basedpython.cyclonedx.json,sha256=NDB4f5T38kiZ2enQiKH8ldsGtUhbONSUMUzy4uGikBU,435782
|
|
7
|
-
basedpython-0.0.1a8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|