Eve-Panel

https://img.shields.io/pypi/v/eve_panel.svg https://img.shields.io/travis/jmosbacher/eve_panel.svg Documentation Status

Dynamically create an httpx based client for any Eve api. Uses Param + Cerberus for type enforcement and Panel for GUIs. This is just a prototype package,features will slowly be added as i need them for my own purposes. The api is expected to change without warning based on my needs but feel free to fork or copy parts and adapt to your own needs.

To view the widgets in a notebook you will need to install the pyviz plugin. For details, see panel docs.

Basic usage:

import eve
from eve_panel import EveClient


app = eve.Eve()

client = eve_panel.EveClient.from_app(app)

# optional
client.auth.set_token("my-secret-token")

api = client.db

# show a resources gui
api.resource_name

# get a specific item
api.resource_name["item_id"]

# get current page
api.resource_name.current_page()

# get next page
api.resource_name.next_page()

# get previous page
api.resource_name.previous_page()

Features

  • TODO

Credits

This package was created with Cookiecutter and the briggySmalls/cookiecutter-pypackage project template.