basta-cli 0.3.1__py3-none-macosx_11_0_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.
Binary file
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Andrey Kucherenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.1
2
+ Name: basta-cli
3
+ Version: 0.3.1
4
+ Summary: Dead code detector for JavaScript, TypeScript, Vue, Svelte, Astro, Python and Rust
5
+ Author: Andrey Kucherenko
6
+ License: MIT
7
+ Keywords: dead-code,unused-code,unused-exports,static-analysis,basta
8
+ Project-URL: Homepage, https://github.com/kucherenko/basta
9
+ Project-URL: Repository, https://github.com/kucherenko/basta
10
+ Project-URL: Issues, https://github.com/kucherenko/basta/issues
11
+ Project-URL: Changelog, https://github.com/kucherenko/basta/releases
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: MacOS
19
+ Classifier: Operating System :: Microsoft :: Windows
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Rust
23
+ Classifier: Topic :: Software Development :: Quality Assurance
24
+
25
+ # basta
26
+
27
+ basta finds code that nothing runs: unused files, exports, module-private
28
+ declarations and imports in JavaScript, TypeScript, JSX and TSX, in Vue,
29
+ Svelte and Astro components, and in Python. It reads Rust dead code from the
30
+ compiler's own diagnostics.
31
+
32
+ This package ships the same self-contained Rust binary as the npm and
33
+ crates.io releases, as platform wheels for macOS (arm64, x64), Linux (glibc
34
+ and musl, x64 and arm64) and Windows (x64, arm64). It installs the `basta`
35
+ command. There is no Python code in it and it needs no Node.js.
36
+
37
+ The name on PyPI is `basta-cli` because `basta` was taken.
38
+
39
+ ## Install
40
+
41
+ ```bash
42
+ pip install basta-cli # or: pipx install basta-cli / uv tool install basta-cli
43
+ basta .
44
+
45
+ uvx --from basta-cli basta . # run without installing
46
+ ```
47
+
48
+ ## pre-commit
49
+
50
+ The repository publishes a `.pre-commit-hooks.yaml`, and the hook installs
51
+ this wheel:
52
+
53
+ ```yaml
54
+ repos:
55
+ - repo: https://github.com/kucherenko/basta
56
+ rev: v0.3.1
57
+ hooks:
58
+ - id: basta
59
+ ```
60
+
61
+ ## Links
62
+
63
+ - Source, issues and the full README: https://github.com/kucherenko/basta
64
+ - The engine, which also runs as `jscpd --dead-code`: https://github.com/kucherenko/jscpd
@@ -0,0 +1,5 @@
1
+ basta_cli-0.3.1.data/scripts/basta,sha256=S_NTuvHCMf6pVK4hqTDIx3KASGtIftMRoJDwdqFWKBs,5478800
2
+ basta_cli-0.3.1.dist-info/METADATA,sha256=RDPEYBDUYuQZysqiL3Lv8-GZW1KIAFTDiWu6rzdKeTI,2207
3
+ basta_cli-0.3.1.dist-info/WHEEL,sha256=bot__bC5hdrpr1xQtZdH0juotOwFmkR0_zgTwzjsSGo,99
4
+ basta_cli-0.3.1.dist-info/LICENSE,sha256=ih_Y2NUJx51WGGegKXOCTBBwdS1xU6qXppqddaqn7FY,1083
5
+ basta_cli-0.3.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: basta-release
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-macosx_11_0_arm64