gramex
gramex copied to clipboard
A visual analytics platform to build data-based web apps with less code.
Usage: ```yaml url: test: pattern: /(.*) handler: ProxyHandler kwargs: url: https://api.openai.com/v1/{0} request_headers: Authorization: "Bearer openai-api-key" Content-Type: true xsrf_cookies: false ``` Check: ```bash curl -i localhost:9988/chat/completions \ -H "Content-Type: application/json" \...
The code editor is not opening on the online IDE. (Attaching screenshot below) Please fix the issue 
Gramex 2.0 will be: * modular: micro-modular, even - really tiny stuff. It will not be just about libraries, but about services too. * able to build a series of...
The `insert`, `update` and `delete` functions in `gramex.data` often tend to fail silently when the `args` provided are incorrect or incompatible. E.g. Suppose `x` is an int, then doing ```python...
- `?_q=text` filters rows that match "text" in any of the chosen query columns - Query columns can be chosen via `?_qc`. For example, `?_qc=firstname&_qc=lastname&_q=name` searches for "name" in the...
See https://code.gramener.com/cto/translate-law/-/blob/main/mt.py
Gramex integrates with [Sentry](https://sentry.io/) out-of-box. First, [log into Sentry, create a project](https://docs.sentry.io/product/sentry-basics/integrate-frontend/create-new-project/) and copy the DSN key. Then, add this to `gramex.yaml`: ```yaml sentry: dsn: "https://[email protected]/xxx" # paste your DSN...
Schedule detached long running background tasks in gramex
# ADD Roles and permissions model to be used in SAAS. Adds a new database in `storelocations` by the name of `roles.db` with tables - roles: `roles` and `users` mapping...
Because I'm tired, but can't sleep.