bod
Text Blob and Object Dumper
Overview
bod, short for Blob and Object Dumper, is a Python module designed to help with analyzing, dumping, and handling
text blobs and objects (HTML/XML/JSON - for now!)
Features
- Quick function, just import and throw data at the import.
- Options for customizing output/etc.
Installation
Install the package via pip:
pip install bod
Usage
Here's a quick example to get started:
import bod
import requests
import logging
resp = requests.get("https://www.google.com")
bod(resp)
# prints formatted html response
bod(resp, output=logging.warning)
# same text, now sent through logging.warning instead of print.
my_var = bod(resp, output=None)
# put output in my_var instead of printing.
bod.detailed(resp)
# headers and request/response info printed.
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature/fix.
- Submit a pull request with a detailed description of the changes.
License
MIT License.
More coming soon...
Stay tuned for more updates and features!
Metadata
Release files for bod 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bod-1.0.3.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bod-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / bod-1.0.3.tar.gz
| Download URL | bod-1.0.3.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9714dd7914bb5d1875373fb564c9f31a9bf03712afbb9de6b2740d143f944d18
|
|
BLAKE2b-256 checksum How to use checksums |
15ecb2d899a76e75a3d4c865fc46c30cedda379f0e4e68008ea2b44a58ff9f30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / bod-1.0.3-py3-none-any.whl
| Download URL | bod-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
488aae952331bd3c6186363bbab574c5c6f3647977547ca005dd6e7d9dedd58b
|
|
BLAKE2b-256 checksum How to use checksums |
8d8c0d259e32f105100f370e89d14e4eef1244545f4aa36bf58d052080e3250c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|