Skip to main content

a class of decorators helping inspect data

Project description

DataRay

DataRay is a class of decorators helping detect the metadata of the data.

The motivation of this package is to help understand how your api request data looks like. Normally we can directly check how the api request looks like via some UI platform such as postman etc. With this package, user may directly get the data structure and some basic metadata of the requested data

Features

  • Json Structure
  • Further feature coming soon

Detect the Json Structure

# here is your customer request function. Now it is supposed to return list or dict you are interested in looking into
from dataray import dataray

@ dataray.ray
def request_func(*args, **kwargs):
    ...

Then every time calling request_func, the json structure will be printed out.

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

dataray-0.1.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

dataray-0.1.1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

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