Library of Babel tools: encode any file to a deterministic coordinate, decode, and run scripts
Project description
Library of Babel Tools (lob)
Encode any file to a deterministic Library of Babel coordinate, and decode/run it.
Installation
git clone https://github.com/yourusername/libobsh.git
cd libobsh
./setup.sh
export PATH="$HOME/.local/bin:$PATH"
Usage
-
Encode a file (any size): lob-encode myfile Creates myfile.coord.
-
Decode a coordinate back to a file: lob-decode myfile.coord restored
-
Run a bash script directly from its coordinate: lob-run myfile.coord
How it works
- Files <= 3200 bytes: stored in a single Library page; .coord contains the page address.
- Larger files: split into 3200-byte pages; a manifest (JSON) is stored in the Library, and the .coord contains the manifest address.
- The decoder automatically detects whether the coordinate points to a manifest or raw data.
Requirements
- Python 3.6+ (no external libraries).
License
MIT
Project details
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 libobsh-0.1.0.tar.gz.
File metadata
- Download URL: libobsh-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bffceda7c9576be682952e97a4bcfc99e0f71efd765a98a72b20499993876f6
|
|
| MD5 |
b76c9558a13b5b61f5b1f4a9131eef0d
|
|
| BLAKE2b-256 |
c9c5ec0e1b23cc526eb0d42b728a289956a1e6c647de88f85aa1ee9eb72c3301
|
File details
Details for the file libobsh-0.1.0-py3-none-any.whl.
File metadata
- Download URL: libobsh-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8f12fae036c10bd18f1e5d31f1d526c422422783519cb84c50ba3800aacf0e1
|
|
| MD5 |
3647112035c4c0cd46edff08b89b3f0d
|
|
| BLAKE2b-256 |
55bb01dd666d1d913e532c1ce03fa7809d420a0463841cb21e9970eacef7a5e1
|