Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

habarico

Habarico is a schema-driven admin library for Django REST Framework. It turns Django models into a complete admin API: REST endpoints plus JSON schemas describing resources, fields, views and actions. The React frontend renders the whole admin UI from those schemas — no screen is written per resource.

Installation

pip install habarico

Add the app to INSTALLED_APPS:

INSTALLED_APPS = [
    ...,
    "phonenumber_field",  # required for phone number field localization
    "habarico",
    "rest_framework",  # after habarico, which overrides its localization
    ...
]

And mount the admin site in urls.py:

from django.urls import include, path
from habarico import site

urlpatterns = [
    path("admin/", include(site.urls)),
]

Quick start

# admin.py
from habarico import ModelAdmin

from .models import Product


class ProductAdmin(ModelAdmin):
    model = Product
    fields = ["name", "sku", "description", "status", "category", "price", "stock"]
    read_only_fields = ["created_at"]
    search_fields = ["name", "description"]
    filter_fields = ["status", "category", "price"]
    ordering_fields = ["name", "price"]
    can_create = True
    can_update = True

Importing the module registers the admin — that is a full CRUD resource: a list with filters and sorting, a detail page, a create and an edit form.

Documentation

Full documentation is at docs.habarico.com/python — this file is only a quick start.

Section What it covers
Installation and configuration Settings, permissions and authentication classes
Basic usage Fields, permissions, custom serializers and viewsets, configuration validation
View generators Shaping the list, detail and form views
Filtering and searching Filters, ordering and fulltext search
Aggregations and dashboard The /aggregate endpoint and the widgets built on it
Chunked uploads Large files over TUS or S3 multipart
AI integration Predictive fields and the assistant endpoints
User preferences The per-user preference store the frontend syncs to
Complete example One resource wired up end to end

The frontend consuming these schemas is documented at docs.habarico.com/node, and the contract between them is the API reference.

License

MIT

Metadata

Release files for habarico 7.3.0b13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for habarico 7.3.0b13
File Size Uploaded Provenance Actions
habarico-7.3.0b13.tar.gz 133.7 kB With provenance Details for habarico-7.3.0b13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for habarico 7.3.0b13
File Interpreter ABI Platform Actions
habarico-7.3.0b13-py3-none-any.whl Python 3 none any Details for habarico-7.3.0b13-py3-none-any.whl

Total release size: 309.3 kB

Release files / habarico-7.3.0b13.tar.gz

Download URL habarico-7.3.0b13.tar.gz
Size 133.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cfed69233c8ab8536bad8442d307afba36c0826c11ccc2d247a3ae5bd0dfd23d
BLAKE2b-256 checksum
How to use checksums
f9e46c48ef0a77f05a2d0cae61160cb355052f05a319e6871781ddad6bc528c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / habarico-7.3.0b13-py3-none-any.whl

Download URL habarico-7.3.0b13-py3-none-any.whl
Size 175.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
270e967d25e29bb59c3efc3e0dfeaf48bed7ebea3acf4f8a7432acbfd09b1950
BLAKE2b-256 checksum
How to use checksums
6825dfdcd4efed66a2c39ae0477da9f6aadab6f98e9e597082f2f958e2f6af9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for habarico 7.3.0b13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for habarico-7.3.0b13.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page