basedpython 0.0.1a8__py3-none-linux_armv6l.whl → 0.0.1b1__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.
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: basedpython-0.0.1b1.data/scripts/by
3
+ size: 46940408 bytes
4
+ sha256: 0f8286f73c1dd0109759c0d6678c035d0f19fbacc7c9b1065ac6772f47ba65d7
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basedpython
3
- Version: 0.0.1a8
3
+ Version: 0.0.1b1
4
4
  Classifier: Development Status :: 1 - Planning
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -38,15 +38,24 @@ 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** — high performance and feature rich tooling
47
+
41
48
  ```by
42
49
  enum class Shape:
43
50
  case Circle(radius: int)
44
51
  case Rect(width: int, height: int)
45
52
 
46
53
  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
54
+ return match self:
55
+ case Shape.Circle(r):
56
+ 3 * r * r
57
+ case Shape.Rect(w, h):
58
+ w * h
50
59
 
51
60
  extension list[Element: Shape]:
52
61
  def first_circle(self) -> Shape.Circle?:
@@ -69,6 +78,7 @@ def main():
69
78
 
70
79
  ```sh
71
80
  uv add --dev basedpython
81
+ echo 'print("hello")' > main.by
72
82
  by run main
73
83
  ```
74
84
 
@@ -78,8 +88,6 @@ by run main
78
88
 
79
89
  ## acknowledgements
80
90
 
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
91
+ basedpython is built on top of [astral-sh/ruff](https://github.com/astral-sh/ruff). none of this would
84
92
  exist without the work of the astral team and the wider ruff community
85
93
 
@@ -0,0 +1,9 @@
1
+ basedpython/__init__.py,sha256=xEGzNuTupObOAiUyRDxM9ink-2r3J2QdKhO1idCgz6k,416
2
+ basedpython/build.py,sha256=ZfovHtT4nz-qWMWpdtpXvDVY5o9sIBFO_SHuK1I-Pv4,27705
3
+ basedpython-0.0.1b1.data/scripts/buff,sha256=wpPRNWBA-SPf0U8-fXUQDwV1USI8xdim_vEVsubd2eM,25054320
4
+ basedpython-0.0.1b1.data/scripts/by,sha256=D4KG9zwd0BCXWcDWZ4wDXQ8Z-6zHybEGWsZ3L0e6Zdc,46940408
5
+ basedpython-0.0.1b1.dist-info/METADATA,sha256=smD-3nnbFuYNNBvCpF17wy5cQS4LHAyaQFrY7jl02jk,3410
6
+ basedpython-0.0.1b1.dist-info/WHEEL,sha256=peqlCt2WY30zWcANXTs84d-WYP3gl4LqKN4ERxHg1DI,97
7
+ basedpython-0.0.1b1.dist-info/licenses/LICENSE,sha256=JZfYVBIrd93HGXFWTKI1CjdghXXOMkrcVlCisgUcjxg,20731
8
+ basedpython-0.0.1b1.dist-info/sboms/basedpython.cyclonedx.json,sha256=FTg76HyYNhIaz1JjlQs0lYqPsnacL8LJtP31NK4-N_Y,470995
9
+ basedpython-0.0.1b1.dist-info/RECORD,,