binary-equalab 1.0.0__tar.gz → 2.0.1__tar.gz

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,55 +1,55 @@
1
- # Binary EquaLab - Git Ignore
2
-
3
- # Python
4
- __pycache__/
5
- *.py[cod]
6
- *$py.class
7
- *.so
8
- .Python
9
- build/
10
- develop-eggs/
11
- dist/
12
- downloads/
13
- eggs/
14
- .eggs/
15
- lib/
16
- lib64/
17
- parts/
18
- sdist/
19
- var/
20
- wheels/
21
- *.egg-info/
22
- .installed.cfg
23
- *.egg
24
- .pytest_cache/
25
- .coverage
26
- htmlcov/
27
- .env
28
- .venv
29
- env/
30
- venv/
31
- ENV/
32
- env.bak/
33
- venv.bak/
34
-
35
- # Node / Web
36
- node_modules/
37
- dist/
38
- .DS_Store
39
- .env.local
40
- .env.development.local
41
- .env.test.local
42
- .env.production.local
43
- npm-debug.log*
44
- yarn-debug.log*
45
- yarn-error.log*
46
- pnpm-debug.log*
47
-
48
- # IDEs
49
- .idea/
50
- .vscode/
51
- *.swp
52
- *.swo
53
-
54
- # Project Specific
55
- 🍒 Guadalupe/
1
+ # Binary EquaLab - Git Ignore
2
+
3
+ # Python
4
+ __pycache__/
5
+ *.py[cod]
6
+ *$py.class
7
+ *.so
8
+ .Python
9
+ build/
10
+ develop-eggs/
11
+ dist/
12
+ downloads/
13
+ eggs/
14
+ .eggs/
15
+ lib/
16
+ lib64/
17
+ parts/
18
+ sdist/
19
+ var/
20
+ wheels/
21
+ *.egg-info/
22
+ .installed.cfg
23
+ *.egg
24
+ .pytest_cache/
25
+ .coverage
26
+ htmlcov/
27
+ .env
28
+ .venv
29
+ env/
30
+ venv/
31
+ ENV/
32
+ env.bak/
33
+ venv.bak/
34
+
35
+ # Node / Web
36
+ node_modules/
37
+ dist/
38
+ .DS_Store
39
+ .env.local
40
+ .env.development.local
41
+ .env.test.local
42
+ .env.production.local
43
+ npm-debug.log*
44
+ yarn-debug.log*
45
+ yarn-error.log*
46
+ pnpm-debug.log*
47
+
48
+ # IDEs
49
+ .idea/
50
+ .vscode/
51
+ *.swp
52
+ *.swo
53
+
54
+ # Project Specific
55
+ 🍒 Guadalupe/
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: binary-equalab
3
- Version: 1.0.0
4
- Summary: Command-line CAS calculator with Spanish math functions
3
+ Version: 2.0.1
4
+ Summary: Advanced Algebra & Calculus CLI Tool
5
5
  Project-URL: Homepage, https://github.com/Malexnnn/BinaryEquaLab
6
6
  Project-URL: Repository, https://github.com/Malexnnn/BinaryEquaLab
7
7
  Project-URL: Documentation, https://github.com/Malexnnn/BinaryEquaLab#readme
8
- Author: BinaryEquaLab Team
8
+ Author-email: Malexnnn <carde@example.com>
9
9
  License-Expression: MIT
10
10
  Keywords: algebra,calculator,calculus,cas,math,spanish,symbolic
11
11
  Classifier: Development Status :: 4 - Beta
@@ -39,7 +39,7 @@ Description-Content-Type: text/markdown
39
39
  </p>
40
40
 
41
41
  <p align="center">
42
- <em>⌨️ Calculadora CAS en la terminal</em>
42
+ <em>"Las matemáticas también sienten, pero estas no se equivocan."</em>
43
43
  </p>
44
44
 
45
45
  ---
@@ -52,13 +52,42 @@ pip install binary-equalab
52
52
 
53
53
  Or from source:
54
54
  ```bash
55
- cd binary-cli
55
+ # En carpeta binary-cli
56
56
  pip install -e .
57
+ bneqls
58
+ ```
59
+ (La opción `-e` hace que los cambios se reflejen al momento sin reinstalar).
60
+
61
+ ### 📱 Termux (Android)
62
+ La instalación en Termux nativo requiere compilar algunas dependencias (NumPy/SymPy).
63
+
64
+ ```bash
65
+ # 1. Instalar compiladores y librerías del sistema
66
+ pkg update
67
+ pkg install python clang make pkg-config libjpeg-turbo freetype libpng
68
+
69
+ # 2. Instalar Binary EquaLab
70
+ pip install binary-equalab
57
71
  ```
58
72
 
59
73
  ---
60
74
 
61
- ## 📖 Usage
75
+ ## 🐚 Universal Shell Setup
76
+ Binary EquaLab incluye un configurador mágico para tu terminal. Instala temas (Oh My Posh/Zsh), fuentes y plugins automáticamente.
77
+
78
+ ```bash
79
+ # Ejecutar configurador
80
+ binary setup-shell
81
+ # O directamente:
82
+ python -m binary_equalab.cli setup-shell
83
+ ```
84
+
85
+ Soporta:
86
+ - **Windows**: Oh My Posh + Nerd Fonts.
87
+ - **Termux**: Zsh + Oh My Zsh + Autosuggestions.
88
+ - **Linux**: Recomendaciones de Starship.
89
+
90
+ ## 🚀 Uso del CLI
62
91
 
63
92
  ### REPL Mode
64
93
  ```bash
@@ -1,126 +1,155 @@
1
- # Binary EquaLab CLI
2
-
3
- <p align="center">
4
- <img src="../docs/banner_cli.png" alt="Binary EquaLab CLI" width="500">
5
- </p>
6
-
7
- <p align="center">
8
- <em>⌨️ Calculadora CAS en la terminal</em>
9
- </p>
10
-
11
- ---
12
-
13
- ## 🚀 Installation
14
-
15
- ```bash
16
- pip install binary-equalab
17
- ```
18
-
19
- Or from source:
20
- ```bash
21
- cd binary-cli
22
- pip install -e .
23
- ```
24
-
25
- ---
26
-
27
- ## 📖 Usage
28
-
29
- ### REPL Mode
30
- ```bash
31
- binary-math
32
- ```
33
-
34
- ```
35
- Binary EquaLab CLI v1.0.0
36
- >>> derivar(x^2 + 3x, x)
37
- → 2*x + 3
38
-
39
- >>> integrar(sin(x), x)
40
- → -cos(x)
41
-
42
- >>> factorial(5)
43
- → 120
44
-
45
- >>> van(0.10, -1000, 300, 400, 500)
46
- 78.82
47
- ```
48
-
49
- ### One-liner Mode
50
- ```bash
51
- binary-math "derivar(x^3, x)"
52
- # Output: 3*x^2
53
-
54
- binary-math "factorial(10)"
55
- # Output: 3628800
56
-
57
- binary-math "0b1010 + 0b0101"
58
- # Output: 15
59
- ```
60
-
61
- ---
62
-
63
- ## 🔢 Functions
64
-
65
- ### Calculus
66
- | Function | Example | Result |
67
- | ----------------------- | -------------------------- | --------- |
68
- | `derivar(f, x)` | `derivar(x^2, x)` | `2*x` |
69
- | `integrar(f, x)` | `integrar(sin(x), x)` | `-cos(x)` |
70
- | `limite(f, x, a)` | `limite(sin(x)/x, x, 0)` | `1` |
71
- | `sumatoria(f, n, a, b)` | `sumatoria(n^2, n, 1, 10)` | `385` |
72
-
73
- ### Algebra
74
- | Function | Example | Result |
75
- | ---------------- | ---------------------------- | ------------- |
76
- | `simplificar(f)` | `simplificar((x^2-1)/(x-1))` | `x+1` |
77
- | `expandir(f)` | `expandir((x+1)^2)` | `x^2+2*x+1` |
78
- | `factorizar(f)` | `factorizar(x^2-1)` | `(x-1)*(x+1)` |
79
- | `resolver(f, x)` | `resolver(x^2-4, x)` | `[-2, 2]` |
80
-
81
- ### Statistics
82
- | Function | Example |
83
- | ----------------- | ------------------------------ |
84
- | `media(...)` | `media(1, 2, 3, 4, 5)` → `3` |
85
- | `mediana(...)` | `mediana(1, 2, 3, 4, 5)` → `3` |
86
- | `desviacion(...)` | Standard deviation |
87
- | `varianza(...)` | Variance |
88
-
89
- ### Finance
90
- | Function | Example |
91
- | ------------------------------- | -------------------------------------- |
92
- | `van(r, cf0, cf1, ...)` | `van(0.10, -1000, 300, 400)` |
93
- | `tir(cf0, cf1, ...)` | `tir(-1000, 300, 400, 500)` |
94
- | `depreciar(cost, res, years)` | `depreciar(10000, 1000, 5)` |
95
- | `interes_simple(c, r, t)` | `interes_simple(1000, 0.05, 3)` |
96
- | `interes_compuesto(c, r, n, t)` | `interes_compuesto(1000, 0.05, 12, 3)` |
97
-
98
- ### Number Systems
99
- ```
100
- 0b1010 → 10 (binary)
101
- 0xFF → 255 (hexadecimal)
102
- 0o17 → 15 (octal)
103
- ```
104
-
105
- ---
106
-
107
- ## 🥚 Easter Eggs
108
-
109
- Try these:
110
- - `1+1`
111
- - `(-1)*(-1)`
112
- - `0b101010`
113
-
114
- ---
115
-
116
- ## 🛠️ Development
117
-
118
- ```bash
119
- cd binary-cli
120
- pip install -e ".[dev]"
121
- pytest
122
- ```
123
-
124
- ---
125
-
126
- MIT © Malexnnn/ Aldra ORG.
1
+ # Binary EquaLab CLI
2
+
3
+ <p align="center">
4
+ <img src="../docs/banner_cli.png" alt="Binary EquaLab CLI" width="500">
5
+ </p>
6
+
7
+ <p align="center">
8
+ <em>"Las matemáticas también sienten, pero estas no se equivocan."</em>
9
+ </p>
10
+
11
+ ---
12
+
13
+ ## 🚀 Installation
14
+
15
+ ```bash
16
+ pip install binary-equalab
17
+ ```
18
+
19
+ Or from source:
20
+ ```bash
21
+ # En carpeta binary-cli
22
+ pip install -e .
23
+ bneqls
24
+ ```
25
+ (La opción `-e` hace que los cambios se reflejen al momento sin reinstalar).
26
+
27
+ ### 📱 Termux (Android)
28
+ La instalación en Termux nativo requiere compilar algunas dependencias (NumPy/SymPy).
29
+
30
+ ```bash
31
+ # 1. Instalar compiladores y librerías del sistema
32
+ pkg update
33
+ pkg install python clang make pkg-config libjpeg-turbo freetype libpng
34
+
35
+ # 2. Instalar Binary EquaLab
36
+ pip install binary-equalab
37
+ ```
38
+
39
+ ---
40
+
41
+ ## 🐚 Universal Shell Setup
42
+ Binary EquaLab incluye un configurador mágico para tu terminal. Instala temas (Oh My Posh/Zsh), fuentes y plugins automáticamente.
43
+
44
+ ```bash
45
+ # Ejecutar configurador
46
+ binary setup-shell
47
+ # O directamente:
48
+ python -m binary_equalab.cli setup-shell
49
+ ```
50
+
51
+ Soporta:
52
+ - **Windows**: Oh My Posh + Nerd Fonts.
53
+ - **Termux**: Zsh + Oh My Zsh + Autosuggestions.
54
+ - **Linux**: Recomendaciones de Starship.
55
+
56
+ ## 🚀 Uso del CLI
57
+
58
+ ### REPL Mode
59
+ ```bash
60
+ binary-math
61
+ ```
62
+
63
+ ```
64
+ Binary EquaLab CLI v1.0.0
65
+ >>> derivar(x^2 + 3x, x)
66
+ 2*x + 3
67
+
68
+ >>> integrar(sin(x), x)
69
+ -cos(x)
70
+
71
+ >>> factorial(5)
72
+ → 120
73
+
74
+ >>> van(0.10, -1000, 300, 400, 500)
75
+ 78.82
76
+ ```
77
+
78
+ ### One-liner Mode
79
+ ```bash
80
+ binary-math "derivar(x^3, x)"
81
+ # Output: 3*x^2
82
+
83
+ binary-math "factorial(10)"
84
+ # Output: 3628800
85
+
86
+ binary-math "0b1010 + 0b0101"
87
+ # Output: 15
88
+ ```
89
+
90
+ ---
91
+
92
+ ## 🔢 Functions
93
+
94
+ ### Calculus
95
+ | Function | Example | Result |
96
+ | ----------------------- | -------------------------- | --------- |
97
+ | `derivar(f, x)` | `derivar(x^2, x)` | `2*x` |
98
+ | `integrar(f, x)` | `integrar(sin(x), x)` | `-cos(x)` |
99
+ | `limite(f, x, a)` | `limite(sin(x)/x, x, 0)` | `1` |
100
+ | `sumatoria(f, n, a, b)` | `sumatoria(n^2, n, 1, 10)` | `385` |
101
+
102
+ ### Algebra
103
+ | Function | Example | Result |
104
+ | ---------------- | ---------------------------- | ------------- |
105
+ | `simplificar(f)` | `simplificar((x^2-1)/(x-1))` | `x+1` |
106
+ | `expandir(f)` | `expandir((x+1)^2)` | `x^2+2*x+1` |
107
+ | `factorizar(f)` | `factorizar(x^2-1)` | `(x-1)*(x+1)` |
108
+ | `resolver(f, x)` | `resolver(x^2-4, x)` | `[-2, 2]` |
109
+
110
+ ### Statistics
111
+ | Function | Example |
112
+ | ----------------- | ------------------------------ |
113
+ | `media(...)` | `media(1, 2, 3, 4, 5)` → `3` |
114
+ | `mediana(...)` | `mediana(1, 2, 3, 4, 5)` → `3` |
115
+ | `desviacion(...)` | Standard deviation |
116
+ | `varianza(...)` | Variance |
117
+
118
+ ### Finance
119
+ | Function | Example |
120
+ | ------------------------------- | -------------------------------------- |
121
+ | `van(r, cf0, cf1, ...)` | `van(0.10, -1000, 300, 400)` |
122
+ | `tir(cf0, cf1, ...)` | `tir(-1000, 300, 400, 500)` |
123
+ | `depreciar(cost, res, years)` | `depreciar(10000, 1000, 5)` |
124
+ | `interes_simple(c, r, t)` | `interes_simple(1000, 0.05, 3)` |
125
+ | `interes_compuesto(c, r, n, t)` | `interes_compuesto(1000, 0.05, 12, 3)` |
126
+
127
+ ### Number Systems
128
+ ```
129
+ 0b1010 → 10 (binary)
130
+ 0xFF → 255 (hexadecimal)
131
+ 0o17 → 15 (octal)
132
+ ```
133
+
134
+ ---
135
+
136
+ ## 🥚 Easter Eggs
137
+
138
+ Try these:
139
+ - `1+1`
140
+ - `(-1)*(-1)`
141
+ - `0b101010`
142
+
143
+ ---
144
+
145
+ ## 🛠️ Development
146
+
147
+ ```bash
148
+ cd binary-cli
149
+ pip install -e ".[dev]"
150
+ pytest
151
+ ```
152
+
153
+ ---
154
+
155
+ MIT © Malexnnn/ Aldra ORG.
@@ -1,23 +1,23 @@
1
- """
2
- Binary EquaLab CLI
3
- Command-line CAS calculator with Spanish math functions.
4
- """
5
-
6
- __version__ = "1.0.0"
7
- __author__ = "BinaryEquaLab Team"
8
-
9
- from .engine import MathEngine
10
- from .functions import (
11
- derivar, integrar, limite, sumatoria,
12
- simplificar, expandir, factorizar, resolver,
13
- van, tir, depreciar, interes_simple, interes_compuesto,
14
- media, mediana, desviacion, varianza
15
- )
16
-
17
- __all__ = [
18
- "MathEngine",
19
- "derivar", "integrar", "limite", "sumatoria",
20
- "simplificar", "expandir", "factorizar", "resolver",
21
- "van", "tir", "depreciar", "interes_simple", "interes_compuesto",
22
- "media", "mediana", "desviacion", "varianza",
23
- ]
1
+ """
2
+ Binary EquaLab CLI
3
+ Command-line CAS calculator with Spanish math functions.
4
+ """
5
+
6
+ __version__ = "1.0.0"
7
+ __author__ = "BinaryEquaLab Team"
8
+
9
+ from .engine import MathEngine
10
+ from .functions import (
11
+ derivar, integrar, limite, sumatoria,
12
+ simplificar, expandir, factorizar, resolver,
13
+ van, tir, depreciar, interes_simple, interes_compuesto,
14
+ media, mediana, desviacion, varianza
15
+ )
16
+
17
+ __all__ = [
18
+ "MathEngine",
19
+ "derivar", "integrar", "limite", "sumatoria",
20
+ "simplificar", "expandir", "factorizar", "resolver",
21
+ "van", "tir", "depreciar", "interes_simple", "interes_compuesto",
22
+ "media", "mediana", "desviacion", "varianza",
23
+ ]