Advanced Algebra & Calculus CLI Tool
Reason this release was yanked:
versión incompleta
Project description
Binary EquaLab CLI
"Las matemáticas también sienten, pero estas no se equivocan."
🚀 Installation
pip install binary-equalab
Or from source:
# En carpeta binary-cli
pip install -e .
bneqls
(La opción -e hace que los cambios se reflejen al momento sin reinstalar).
📱 Termux (Android)
La instalación en Termux nativo requiere compilar algunas dependencias (NumPy/SymPy).
# 1. Instalar compiladores y librerías del sistema
pkg update
pkg install python clang make pkg-config libjpeg-turbo freetype libpng
# 2. Instalar Binary EquaLab
pip install binary-equalab
🐚 Universal Shell Setup
Binary EquaLab incluye un configurador mágico para tu terminal. Instala temas (Oh My Posh/Zsh), fuentes y plugins automáticamente.
# Ejecutar configurador
binary setup-shell
# O directamente:
python -m binary_equalab.cli setup-shell
Soporta:
- Windows: Oh My Posh + Nerd Fonts.
- Termux: Zsh + Oh My Zsh + Autosuggestions.
- Linux: Recomendaciones de Starship.
🚀 Uso del CLI
REPL Mode
binary-math
Binary EquaLab CLI v1.0.0
>>> derivar(x^2 + 3x, x)
→ 2*x + 3
>>> integrar(sin(x), x)
→ -cos(x)
>>> factorial(5)
→ 120
>>> van(0.10, -1000, 300, 400, 500)
→ 78.82
One-liner Mode
binary-math "derivar(x^3, x)"
# Output: 3*x^2
binary-math "factorial(10)"
# Output: 3628800
binary-math "0b1010 + 0b0101"
# Output: 15
🔢 Functions
Calculus
| Function | Example | Result |
|---|---|---|
derivar(f, x) |
derivar(x^2, x) |
2*x |
integrar(f, x) |
integrar(sin(x), x) |
-cos(x) |
limite(f, x, a) |
limite(sin(x)/x, x, 0) |
1 |
sumatoria(f, n, a, b) |
sumatoria(n^2, n, 1, 10) |
385 |
Algebra
| Function | Example | Result |
|---|---|---|
simplificar(f) |
simplificar((x^2-1)/(x-1)) |
x+1 |
expandir(f) |
expandir((x+1)^2) |
x^2+2*x+1 |
factorizar(f) |
factorizar(x^2-1) |
(x-1)*(x+1) |
resolver(f, x) |
resolver(x^2-4, x) |
[-2, 2] |
Statistics
| Function | Example |
|---|---|
media(...) |
media(1, 2, 3, 4, 5) → 3 |
mediana(...) |
mediana(1, 2, 3, 4, 5) → 3 |
desviacion(...) |
Standard deviation |
varianza(...) |
Variance |
Finance
| Function | Example |
|---|---|
van(r, cf0, cf1, ...) |
van(0.10, -1000, 300, 400) |
tir(cf0, cf1, ...) |
tir(-1000, 300, 400, 500) |
depreciar(cost, res, years) |
depreciar(10000, 1000, 5) |
interes_simple(c, r, t) |
interes_simple(1000, 0.05, 3) |
interes_compuesto(c, r, n, t) |
interes_compuesto(1000, 0.05, 12, 3) |
Number Systems
0b1010 → 10 (binary)
0xFF → 255 (hexadecimal)
0o17 → 15 (octal)
🥚 Easter Eggs
Try these:
1+1(-1)*(-1)0b101010
🛠️ Development
cd binary-cli
pip install -e ".[dev]"
pytest
MIT © Malexnnn/ Aldra ORG.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file binary_equalab-2.0.1.tar.gz.
File metadata
- Download URL: binary_equalab-2.0.1.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5658eebf6eb926493ae5c5545c3481a9e9b04abed4040b374f2406b964001e9d
|
|
| MD5 |
db4734c9c1c3696e9807423a144ee0de
|
|
| BLAKE2b-256 |
507224f0586c16816a260664bc24aa725e2cb2a826ffde91ad1724efde4db978
|
File details
Details for the file binary_equalab-2.0.1-py3-none-any.whl.
File metadata
- Download URL: binary_equalab-2.0.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba567804db715a295495254b6f4028e9e473a17cc24083bbeb38fb1c6cd59e65
|
|
| MD5 |
adfa1d5cdce6c90f70b62f81678efac5
|
|
| BLAKE2b-256 |
542230a670ab375d279e13bc937a8836a57736db142008a9bab9749ae5297901
|