basedpython 0.0.1a8__py3-none-win_arm64.whl → 0.0.1a9__py3-none-win_arm64.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=ZqlLoVhUot4PJhfjw_PE7izGbvVo2XVohhX1W5qE-O0,31378432
|
|
2
|
+
basedpython-0.0.1a9.data/scripts/by.exe,sha256=YzNUL7DR-WQ5HqXn7J1asXxK0SMNKiK7OQT14mQ6Zj8,35783168
|
|
3
|
+
basedpython-0.0.1a9.dist-info/METADATA,sha256=eMhC61Zw2AHz2Jg6GpfZLEYBk5yc8X3ScGPA07qWgsY,3504
|
|
4
|
+
basedpython-0.0.1a9.dist-info/WHEEL,sha256=HFYih4WXcC5rmYTuselhEbrQhijkWBtMrfSegtgvPSA,94
|
|
5
|
+
basedpython-0.0.1a9.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
+
basedpython-0.0.1a9.dist-info/sboms/basedpython.cyclonedx.json,sha256=EFAj1hIJ-jjgyGg3Uef5J4w74tEuV2OeP3WdRcDpHyc,434776
|
|
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:0fc2c647-c356-4a66-8794-ee26d4a2ffdd",
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2026-
|
|
7
|
+
"timestamp": "2026-08-10T00:44:13.205063600Z",
|
|
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
|
},
|
|
@@ -10260,7 +10260,7 @@
|
|
|
10260
10260
|
],
|
|
10261
10261
|
"dependencies": [
|
|
10262
10262
|
{
|
|
10263
|
-
"ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
10263
|
+
"ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9",
|
|
10264
10264
|
"dependsOn": [
|
|
10265
10265
|
"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.102",
|
|
10266
10266
|
"registry+https://github.com/rust-lang/crates.io-index#argfile@1.0.0",
|
|
@@ -10285,6 +10285,7 @@
|
|
|
10285
10285
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_python_trivia#0.0.5",
|
|
10286
10286
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_source_file#0.0.5",
|
|
10287
10287
|
"path+file:///D:/a/basedpython/basedpython/crates/ruff_text_size#0.0.5",
|
|
10288
|
+
"registry+https://github.com/rust-lang/crates.io-index#salsa@0.28.1",
|
|
10288
10289
|
"registry+https://github.com/rust-lang/crates.io-index#thin-vec@0.2.18",
|
|
10289
10290
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10290
10291
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_python_core#0.0.5",
|
|
@@ -10836,6 +10837,7 @@
|
|
|
10836
10837
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-flame@0.2.0",
|
|
10837
10838
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-subscriber@0.3.23",
|
|
10838
10839
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_combine#0.0.5",
|
|
10840
|
+
"path+file:///D:/a/basedpython/basedpython/crates/ty_ide#0.0.0",
|
|
10839
10841
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_module_resolver#0.0.5",
|
|
10840
10842
|
"path+file:///D:/a/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10841
10843
|
"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=X07ZUra9XeE5-YjoBDhobcpIa0eXpJx2RoR8FOezhjI,31156736
|
|
2
|
-
basedpython-0.0.1a8.data/scripts/by.exe,sha256=DL9ttr1ZSrBoJ2goxWVl3Iub4CTw_DB0o33lHVqnSK8,33394688
|
|
3
|
-
basedpython-0.0.1a8.dist-info/METADATA,sha256=mtgWr8gfQcnEECPa6mLtXotRrwbeQuOfpHYkkeUeQNg,3119
|
|
4
|
-
basedpython-0.0.1a8.dist-info/WHEEL,sha256=HFYih4WXcC5rmYTuselhEbrQhijkWBtMrfSegtgvPSA,94
|
|
5
|
-
basedpython-0.0.1a8.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
-
basedpython-0.0.1a8.dist-info/sboms/basedpython.cyclonedx.json,sha256=u0sO9jw3n3nVivFOfZJNtE6XSoTZbfa7Kg9b8uhlpKE,434625
|
|
7
|
-
basedpython-0.0.1a8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|