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.2.tar.gz (5.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: bod-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5960f1beb0936071c414812dea8e9920388203f7a0adfef17ca8eef4aaafca2e
MD5 2df73b31dace53dfdd794f4f5ca1f999
BLAKE2b-256 4fa9f6ab556b185566ed04325287d659f1f7a085b060ba1161ecfe34973ff63e

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