basedpython 0.0.1a7__py3-none-linux_armv6l.whl → 0.0.1a9__py3-none-linux_armv6l.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.1a7.data → basedpython-0.0.1a9.data}/scripts/buff +0 -0
- {basedpython-0.0.1a7.data → basedpython-0.0.1a9.data}/scripts/by +0 -0
- {basedpython-0.0.1a7.dist-info → basedpython-0.0.1a9.dist-info}/METADATA +16 -7
- basedpython-0.0.1a9.dist-info/RECORD +7 -0
- {basedpython-0.0.1a7.dist-info → basedpython-0.0.1a9.dist-info}/sboms/basedpython.cyclonedx.json +15 -12
- basedpython-0.0.1a7.dist-info/RECORD +0 -7
- {basedpython-0.0.1a7.dist-info → basedpython-0.0.1a9.dist-info}/WHEEL +0 -0
- {basedpython-0.0.1a7.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,sha256=IuccZYXfD_iQUoU-BsoWgqsztQelTBDs1dPco_X384M,27183904
|
|
2
|
+
basedpython-0.0.1a9.data/scripts/by,sha256=vl4jMefFCEnddqLX563AajZqIRr1nbrV7dHJelxQRLs,33006544
|
|
3
|
+
basedpython-0.0.1a9.dist-info/METADATA,sha256=DvXHgTx_R1fohJzg5v1Zzp7D2FE-v7_QuEoMyQqp-co,3447
|
|
4
|
+
basedpython-0.0.1a9.dist-info/WHEEL,sha256=peqlCt2WY30zWcANXTs84d-WYP3gl4LqKN4ERxHg1DI,97
|
|
5
|
+
basedpython-0.0.1a9.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
+
basedpython-0.0.1a9.dist-info/sboms/basedpython.cyclonedx.json,sha256=OyvaK9VXyanFeY8JEVKSJsjVyEKdj4vozvUKFT-8nTk,434208
|
|
7
|
+
basedpython-0.0.1a9.dist-info/RECORD,,
|
{basedpython-0.0.1a7.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:49ad9b09-600f-4208-aeaa-9d9c3dd0136f",
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2026-
|
|
7
|
+
"timestamp": "2026-08-10T00:48:10.246390793Z",
|
|
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:///home/runner/work/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
17
|
+
"bom-ref": "path+file:///home/runner/work/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:///home/runner/work/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
37
|
+
"bom-ref": "path+file:///home/runner/work/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:///home/runner/work/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
44
|
+
"bom-ref": "path+file:///home/runner/work/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
|
},
|
|
@@ -10126,7 +10126,7 @@
|
|
|
10126
10126
|
],
|
|
10127
10127
|
"dependencies": [
|
|
10128
10128
|
{
|
|
10129
|
-
"ref": "path+file:///home/runner/work/basedpython/basedpython/crates/basedpython#0.0.1-
|
|
10129
|
+
"ref": "path+file:///home/runner/work/basedpython/basedpython/crates/basedpython#0.0.1-a9",
|
|
10130
10130
|
"dependsOn": [
|
|
10131
10131
|
"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.102",
|
|
10132
10132
|
"registry+https://github.com/rust-lang/crates.io-index#argfile@1.0.0",
|
|
@@ -10147,8 +10147,10 @@
|
|
|
10147
10147
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_python_codegen#0.0.5",
|
|
10148
10148
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_python_parser#0.0.5",
|
|
10149
10149
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_python_stdlib#0.0.5",
|
|
10150
|
+
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_python_trivia#0.0.5",
|
|
10150
10151
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_source_file#0.0.5",
|
|
10151
10152
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ruff_text_size#0.0.5",
|
|
10153
|
+
"registry+https://github.com/rust-lang/crates.io-index#salsa@0.28.1",
|
|
10152
10154
|
"registry+https://github.com/rust-lang/crates.io-index#thin-vec@0.2.18",
|
|
10153
10155
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10154
10156
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_python_core#0.0.5",
|
|
@@ -10699,6 +10701,7 @@
|
|
|
10699
10701
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-flame@0.2.0",
|
|
10700
10702
|
"registry+https://github.com/rust-lang/crates.io-index#tracing-subscriber@0.3.23",
|
|
10701
10703
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_combine#0.0.5",
|
|
10704
|
+
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_ide#0.0.0",
|
|
10702
10705
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_module_resolver#0.0.5",
|
|
10703
10706
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_project#0.0.0",
|
|
10704
10707
|
"path+file:///home/runner/work/basedpython/basedpython/crates/ty_python_semantic#0.0.5",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
basedpython-0.0.1a7.data/scripts/buff,sha256=KUs8A11YMYVWKvv_qxodqVbLY6SVCW8I1EofImKxqmM,26172192
|
|
2
|
-
basedpython-0.0.1a7.data/scripts/by,sha256=w0Un2lNYixWi5YSScKCAAlFp6o2Onreh1syj5zdED34,29606064
|
|
3
|
-
basedpython-0.0.1a7.dist-info/METADATA,sha256=U77s2CNKQRS8Zje3Hrbz6L8y0vPCS4qbAyS1qnkT4S0,3071
|
|
4
|
-
basedpython-0.0.1a7.dist-info/WHEEL,sha256=peqlCt2WY30zWcANXTs84d-WYP3gl4LqKN4ERxHg1DI,97
|
|
5
|
-
basedpython-0.0.1a7.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
|
|
6
|
-
basedpython-0.0.1a7.dist-info/sboms/basedpython.cyclonedx.json,sha256=ZeGxFmJSa253_zHxQ4DZ2JgJ6igqb5H22B6ePOKjXuk,433948
|
|
7
|
-
basedpython-0.0.1a7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|