Top-level package for Eve-Panel.
Project description
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.
Usage
import eve
from eve_panel import EveClient
app = eve.Eve()
api = eve_panel.EveClient.from_app(app)
# optional
api.set_token("my-secret-token")
# 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()
# insert new documents
docs = [{"name": "new document"}]
api.resource_name.insert_documents(docs)
Free software: MIT
Documentation: https://eve-panel.readthedocs.io.
Features
TODO
Credits
This package was created with Cookiecutter and the briggySmalls/cookiecutter-pypackage project template.
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
File details
Details for the file eve_panel-0.3.28.tar.gz
.
File metadata
- Download URL: eve_panel-0.3.28.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.4 Linux/5.15.32-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e832557dd104c2115a5e914618c4be30f946e8c62512002136c0fdbf3730bb |
|
MD5 | f7076f4591482dd22d340e6fe0edfe40 |
|
BLAKE2b-256 | a858c1d8ffcc2ef66b11a2bb906339969cb0266432baca8540b2abeee994e18d |
File details
Details for the file eve_panel-0.3.28-py3-none-any.whl
.
File metadata
- Download URL: eve_panel-0.3.28-py3-none-any.whl
- Upload date:
- Size: 36.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.4 Linux/5.15.32-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ba151f8f371cbe3341d0c61e0b2701965c0d1e3607d3409c4817633de8b7e1 |
|
MD5 | fcf1fdae6510d25696cdde6e609adb94 |
|
BLAKE2b-256 | e8c75c1071567191e81009359488f689dfe3ded336fc6f057c8d0ac49ac17bb2 |