A simple tool for working with .btd files
Project description
BTD File Tools
BTD é uma biblioteca leve em Python para salvar e carregar arquivos com um formato binário personalizado usando a extensão .btd.
BTD is a lightweight Python library to save and load files using a custom binary format with the .btd extension.
📌 PT-BR — Ferramentas de Arquivo BTD
Funções disponíveis
-
save_btd(caminho: str, dados: str | bytes) Salva os dados fornecidos (texto ou bytes) em um arquivo
.btd. -
load_btd(caminho: str) -> str | bytes Lê um arquivo
.btde retorna seu conteúdo original (texto ou bytes). -
is_btd(caminho: str) -> bool Verifica se o arquivo possui a extensão
.btd.
📌 EN — BTD File Tools
Available functions
-
save_btd(path: str, data: str | bytes)
Saves the given data (text or bytes) to a.btdfile. -
load_btd(path: str) -> str | bytes
Loads a.btdfile and returns its original content (text or bytes). -
is_btd(path: str) -> bool
Checks if a file has the.btdextension.
✅ Requisitos / Requirements
- Python 3.7 ou superior / Python 3.7 or higher
📦 Instalação / Installation
Quando publicado no PyPI:
pip install btd
Ainda não está disponível no PyPI.
Not available on PyPI yet.
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 btd-1.0.0.tar.gz.
File metadata
- Download URL: btd-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65e23723cf905fd492ff2dc8fecf1de19945b31e311ab3334cff2dd5ffb1f383
|
|
| MD5 |
2e1c3ebb0f008edab40009299e2e604f
|
|
| BLAKE2b-256 |
3b001c459653c909ed370a9952b88758c6a032b0eac8f61e8c8992984d045349
|
File details
Details for the file btd-1.0.0-py3-none-any.whl.
File metadata
- Download URL: btd-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2d3aa2ec66c549444e9d51cd124463d0e4928b065c05bcab620a39edf600621
|
|
| MD5 |
0d3fcc89e269ca6975353753c88061b6
|
|
| BLAKE2b-256 |
4c5d8db7bb771702ceca567b150e823f13c12f0d15162833174c281cb565c867
|