basedpython 0.0.1a8__py3-none-win_amd64.whl → 0.0.1a9__py3-none-win_amd64.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basedpython
3
- Version: 0.0.1a8
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): return 3 * r * r
49
- case Shape.Rect(w, h): return w * h
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 a fork of [astral-sh/ruff](https://github.com/astral-sh/ruff) —
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=WgcnhfCBjvLqX_Q8g8i6RR60B_cCk6rb16_lHbrempc,36709888
2
+ basedpython-0.0.1a9.data/scripts/by.exe,sha256=LNuV8ysOOBiuM2I4TkJCuG2-u45FvmDfHS1Ts2HbgPw,40348160
3
+ basedpython-0.0.1a9.dist-info/METADATA,sha256=eMhC61Zw2AHz2Jg6GpfZLEYBk5yc8X3ScGPA07qWgsY,3504
4
+ basedpython-0.0.1a9.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,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=nx2NGn1h_3cfFcnAtTfbuySWKqZR7mBd6ls4B6hRvI8,435943
7
+ basedpython-0.0.1a9.dist-info/RECORD,,
@@ -2,9 +2,9 @@
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.5",
4
4
  "version": 1,
5
- "serialNumber": "urn:uuid:4101fb15-d48f-46f7-b98f-546b6d0f19a1",
5
+ "serialNumber": "urn:uuid:e3951242-4935-47ad-ad0b-a446cebe8dd6",
6
6
  "metadata": {
7
- "timestamp": "2026-07-29T14:17:33.953479200Z",
7
+ "timestamp": "2026-08-10T00:47:06.322890100Z",
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-a8",
17
+ "bom-ref": "path+file:///D:/a/basedpython/basedpython/crates/basedpython#0.0.1-a9",
18
18
  "name": "basedpython",
19
- "version": "0.0.1-a8",
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-a8?download_url=file://.",
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-a8 bin-target-0",
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-a8",
40
- "purl": "pkg:cargo/basedpython@0.0.1-a8?download_url=file://.#src/buff.rs"
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-a8 bin-target-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-a8",
47
- "purl": "pkg:cargo/basedpython@0.0.1-a8?download_url=file://.#src/by.rs"
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-a8",
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=Zk3TVsBtUb6KnYKb127w_Irz6SX6KMCAhLCvtp4HwOs,36375552
2
- basedpython-0.0.1a8.data/scripts/by.exe,sha256=uF--1oxEBBXxwhSc_MmS_xFzOYqcz2OXT4EixDzb6OQ,37665792
3
- basedpython-0.0.1a8.dist-info/METADATA,sha256=mtgWr8gfQcnEECPa6mLtXotRrwbeQuOfpHYkkeUeQNg,3119
4
- basedpython-0.0.1a8.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,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=wwUytYXV2d_kf8sbXqxzYGsjvmvbQhNfTc7c85k0eFQ,435792
7
- basedpython-0.0.1a8.dist-info/RECORD,,