Text Blob and Object Dumper
Project description
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!
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 bod-1.0.3.tar.gz.
File metadata
- Download URL: bod-1.0.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9714dd7914bb5d1875373fb564c9f31a9bf03712afbb9de6b2740d143f944d18
|
|
| MD5 |
7398cc671c9e02a89f8b760f911202eb
|
|
| BLAKE2b-256 |
15ecb2d899a76e75a3d4c865fc46c30cedda379f0e4e68008ea2b44a58ff9f30
|
File details
Details for the file bod-1.0.3-py3-none-any.whl.
File metadata
- Download URL: bod-1.0.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
488aae952331bd3c6186363bbab574c5c6f3647977547ca005dd6e7d9dedd58b
|
|
| MD5 |
845516554a3a97d36785d046f7a9d2ba
|
|
| BLAKE2b-256 |
8d8c0d259e32f105100f370e89d14e4eef1244545f4aa36bf58d052080e3250c
|