Skip to main content

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:

  1. Fork the repository.
  2. Create a new branch for your feature/fix.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bod-1.0.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file bod-1.0.1.tar.gz.

File metadata

  • Download URL: bod-1.0.1.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

Hashes for bod-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fefb00352c65127d9cab0eab5a35833b7146014c43e529737fc8b97aa2d65592
MD5 5ecd3f3217d1e4ef21b1cee76147a634
BLAKE2b-256 2abf22e5520694872a2d4c61109726f5322c5a0f74ec009a528b67ce9c56388b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page