Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

📁 HBF - Hybrid Binary Format

HBF es un formato de archivo todo en uno que combina texto, binario, metadatos, listas y datos numéricos en un solo archivo. Creado desde Termux, diseñado para ser simple, útil y portable.


🚀 Características

Característica Descripción
📝 Texto Contenido principal del archivo
📊 Metadatos Título, autor y fecha
🖼️ Binario Guarda imágenes, archivos, etc. en base64
📋 Listas Listas jerárquicas
🔢 Numérico Datos numéricos estructurados
📌 Notas Notas personales o técnicas
🌍 12 idiomas Español, Inglés, Portugués, Francés, Alemán, Italiano, Japonés, Chino, Ruso, Coreano, Árabe e Hindi
🔒 Cifrado Protege archivos con contraseña (AES)
🔗 Combinar Une dos archivos HBF en uno
📤 Exportar Exporta a TXT, JSON, MD, XML, CSV, YAML, HTML, INI o TOML
📥 Importar Importa desde TXT, JSON, XML, YAML, TOML, INI, CSV, MD o HTML
🔍 Buscar Busca palabras dentro del archivo
📂 Listar Muestra todos los HBF en la carpeta
💾 Configurable Guarda colores, ruta base e idioma en un archivo de configuración
🖥️ Multiplataforma Funciona en Termux (Android), Linux y Windows
🗄️ Bloque SQL Edita y exporta a SQLite
🎨 10 colores Personalizá el TUI con 10 colores diferentes
🔌 API Usá HBF como biblioteca desde Python

📦 Instalación

Opción 1: Desde PyPI (recomendado)

pip install hbf-hyper
hbf

Opción 2: Desde el código fuente

git clone https://github.com/lucassogarayDA/hbf.git
cd hbf
python hbf.py

Opción 3: Desde el paquete .deb (Termux/Linux)

dpkg -i hbf_3.0.3_all.deb
hbf

🛠️ Uso

Ejecutá el comando y seguí el menú interactivo:

hbf

Al abrir, podés elegir idioma o usar la detección automática entre 12 idiomas disponibles.


📋 Menú completo (36 opciones)

  1.  📝 Crear HBF
  2.  📖 Leer HBF
  3.  📥 Importar a HBF
  4.  ✏️ Editar TEXTO
  5.  📋 Editar LISTAS
  6.  💬 Editar NOTAS
  7.  🔢 Editar NUMERICO
  8.  🏷️ Editar TITULOS
  9.  📝 Editar METADATOS
 10.  💻 Editar CODE
 11.  🌐 Editar API
 12.  🗄️ Editar SQL
 13.  📦 Editar DEPLOY
 14.  🧪 Editar TEST
 15.  📊 Editar SCHEMA
 16.  🔐 Editar ENV
 17.  ⚙️ Editar CONFIG
 18.  📖 Editar DOCS
 19.  ⚡ Editar COMANDOS
 20.  🐍 Editar SCRIPTS
 21.  📦 Editar DEPENDENCIAS
 22.  🖼️ Gestionar imágenes
 23.  🖼️ Guardar binario
 24.  📤 Extraer binario
 25.  📤 Exportar
 26.  🔍 Buscar
 27.  📂 Listar HBF
 28.  📊 Estadísticas
 29.  📜 Historial
 30.  🔗 Combinar HBF
 31.  🔒 Proteger con clave
 32.  📦 Generar desde HBF
 33.  📁 Cambiar ruta base
 34.  🎨 Colores
 35.  🌍 Cambiar idioma
 36.  📦 Activar/desactivar compresión
 37.  🚪 Salir

📂 Ejemplo de archivo HBF

[HBF]
Version: 3.0.3
Magic: HBF
Fecha: 2026-09-05T00:00:00

[METADATOS]
{
  "titulo": "Mi proyecto",
  "autor": "Lucas Sogaray"
}

[TEXTO]
Este es el contenido principal del archivo.

[LISTAS]
- Tarea 1
- Tarea 2
  - Subtarea A

[FIN]

🔌 API de HBF (para desarrolladores)

HBF puede usarse como biblioteca de Python además de como herramienta de terminal.

📦 Funciones principales

Función Descripción hbf.crear("archivo.hbf", titulo="...", autor="...") Crea un archivo HBF nuevo y devuelve un objeto Doc hbf.Doc("archivo.hbf") Abre un archivo HBF existente para leerlo y modificarlo

📝 Propiedades del objeto Doc

Propiedad Tipo Descripción doc.texto str Contenido del bloque [TEXTO] doc.metadatos dict Contenido de [METADATOS] como JSON doc.listas str Contenido de [LISTAS] doc.notas str Contenido de [NOTAS] doc.titulos str Contenido de [TITULOS] doc.numerico dict Contenido de [NUMERICO] como JSON

🧩 Métodos del objeto Doc

Método Descripción doc.agregar_bloque("CODE", "print(1)", language="python") Agrega un bloque nuevo con atributos doc.editar_bloque("CODE", indice=0, contenido="nuevo", language="python") Edita un bloque existente por índice doc.eliminar_bloque("CODE", indice=0) Elimina un bloque por índice doc.bloques("CODE", language="python") Devuelve los bloques que coinciden con los filtros doc.agregar_imagen("foto.jpg", nombre="...", descripcion="...") Agrega una imagen codificada en base64 doc.exportar("json", "salida.json") Exporta a TXT, JSON, MD, XML, CSV, YAML, HTML, INI o TOML doc.guardar() Guarda todos los cambios en el archivo

📦 Ejemplo

import hbf

doc = hbf.crear("proyecto.hbf", titulo="Mi proyecto", autor="Lucas")
doc.texto = "Contenido principal"
doc.agregar_bloque("CODE", "print('Hola')", language="python")
doc.agregar_imagen("diagrama.png", nombre="diagrama")
doc.guardar()
doc.exportar("json")

🔒 Proteger con contraseña

hbf
Opción 31 → Elegir archivo → Opción 1 (Cifrar) → Ingresar contraseña

El archivo cifrado se guarda con extensión .hbf.enc


🛣️ Roadmap

☑ Formato HBF básico ☑ Binario (base64) ☑ Edición de bloques ☑ Exportar a 9 formatos ☑ Importar desde 9 formatos ☑ Búsqueda ☑ Estadísticas ☑ Combinar HBF ☑ Cifrado con contraseña ☑ 12 idiomas completos ☑ Paquete .deb ☑ Multiplataforma (Android, Linux, Windows) ☑ Ruta base configurable ☑ Gestión de imágenes ☑ Historial de cambios ☑ Generación desde HBF ☑ Compresión activable desde TUI ☑ 10 colores para el TUI ☑ API para desarrolladores


📄 Licencia

MIT — Podés usarlo, modificarlo y distribuirlo libremente.


👤 Autor

Lucas Sogaray


⭐ ¿Te gusta HBF?

Si te gusta el proyecto, dejale una estrella en GitHub ⭐ y compartilo con otros.

Metadata

Release files for hbf-hyper 3.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for hbf-hyper 3.0.3
File Size Uploaded Provenance Actions
hbf_hyper-3.0.3.tar.gz 5.1 kB Without provenance Details for hbf_hyper-3.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hbf-hyper 3.0.3
File Interpreter ABI Platform Actions
hbf_hyper-3.0.3-py3-none-any.whl Python 3 none any Details for hbf_hyper-3.0.3-py3-none-any.whl

Total release size: 10.2 kB

Release files / hbf_hyper-3.0.3.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL hbf_hyper-3.0.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
099313f09cde2d65b51f28635190dad79c42a8c5c681708a5f9d4e1e1177a25c
BLAKE2b-256 checksum
How to use checksums
ce4bb0db773da79810ac3fdf5baa953154d6b16f150f95c249d4b290530b5dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / hbf_hyper-3.0.3-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL hbf_hyper-3.0.3-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7451ec90e0c4f9b676f9f8e46147a0cbf4df6504c4319598794b697b931989b2
BLAKE2b-256 checksum
How to use checksums
05288a8d5cbff492465c965881527bc5825755429a665967bc61976824855738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for hbf-hyper 3.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 3.0.2 2 files With provenance
  • Added 3.0.3 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.3 This release

2 release files Loss of provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page