Skip to content

v15 Stable Searchable API Index

Exhaustive alphabetical reference index of all public functions, methods, hooks, decorators, CLI commands, and utility APIs in Frappe Framework v15 with direct links to their detailed documentation and code examples.


A

  • _() — Multilingual translation function wrapper.
  • add_days() — Add or subtract N days from date string (Server API).
  • add_months() — Add or subtract N months from date string (Server API).
  • add_to_date() — Add date/time intervals to target date.
  • add_years() — Add or subtract N years from date string.
  • after_delete() — Controller lifecycle hook executed after database row deletion.
  • after_insert() — Controller lifecycle hook executed immediately after initial DB row insertion.
  • after_job — Background RQ job completion middleware hook in hooks.py.
  • after_request — HTTP request completion middleware hook in hooks.py.
  • app_include_css — Include global custom CSS bundle in Desk interface.
  • app_include_js — Include global custom JS bundle in Desk interface.
  • autoname() — Custom document primary key generator controller method.

B

  • before_change() — Controller hook executed prior to document state modification.
  • before_insert() — Controller hook executed right before initial database INSERT.
  • before_job — Background RQ job pre-execution middleware hook.
  • before_naming() — Controller hook executed immediately before autoname() resolution.
  • before_request — HTTP request pre-processing middleware hook.
  • before_save() — Controller hook executed right before SQL INSERT/UPDATE write.
  • before_submit() — Controller hook executed prior to document submission checks.
  • before_trash() — Controller hook executed prior to starting document deletion.
  • bench backup — Backup site database, public files, and private attachments.
  • bench build — Compile static frontend assets (JS/CSS) using Esbuild.
  • bench clear-cache — Flush Redis site cache, session keys, and Jinja web pages.
  • bench console — Launch interactive IPython REPL pre-loaded with Frappe site context.
  • bench doctor — Monitor status of Redis queues, workers, and background jobs.
  • bench drop-site — Delete a site directory and drop its associated MariaDB/PostgreSQL database.
  • bench execute — Run Python dotted path function directly from CLI terminal.
  • bench export-fixtures — Export JSON fixtures configured in hooks.py into application directory.
  • bench get-app — Clone Frappe application repository into apps/ and install in virtualenv.
  • bench get-config — Inspect site configuration keys.
  • bench get-untranslated — Extract untranslated strings into language CSV file.
  • bench init — Initialize new Bench environment directory with Python virtualenv.
  • bench install-app — Install Frappe application onto target site database.
  • bench migrate — Execute database schema migrations, patches, and sync DocType schemas.
  • bench new-app — Generate boilerplate directory structure for a new Frappe app.
  • bench new-site — Create new site with fresh MariaDB/PostgreSQL database.
  • bench reinstall — Wipe existing site database and reinstall clean initial schema.
  • bench restore — Restore site database and file archives from SQL dump.
  • bench run-tests — Execute unittest suite for installed applications.
  • bench set-config — Modify site_config.json configuration values programmatically.
  • bench start — Start all development background processes defined in Procfile.
  • bench update-translations — Sync and update application translation CSV files.
  • bench use — Set default active site for subsequent bench commands.
  • bench worker — Start background RQ worker process daemon.
  • boot_session — Extend bootinfo dictionary sent to Desk client upon user login.

C


F


G

  • get_datetime() — Parses datetime string into Python datetime.datetime object.
  • getdate() — Parses string into Python datetime.date object.
  • global_date_format — Jinja template filter formatting ISO date to global format.

H

  • has_permission — Registers custom document permission hook in hooks.py.
  • hdel() — Deletes key from Redis hash map.
  • hget() — Retrieves key value from Redis hash map.
  • hset() — Stores key value in Redis hash map.

L

  • load_from_db() — Controller override method for Virtual DocType record retrieval.

M

  • money_in_words — Jinja filter & server utility converting numeric amount to words.

O


P


R


S

  • scheduler_events — Defines periodic background cron tasks in hooks.py.
  • scrub() — Scrubs string into valid Python variable/field identifier.
  • slug() — Slugifies text string for URL routing.

T


V


W

Frappe Framework v15 Complete Technical Reference & Handbook.