Skip to main content

django-ct-ontology

A Django application for handling database content types with rdf ontology and more.

Requirements

  • Python ≥ 3.12

  • Django ≥ 6.0

Runtime dependencies (installed automatically):

  • django-filter ≥ 25

  • djangorestframework ≥ 3.16

  • rdflib ≥ 7.6

Installation

Install from PyPI:

pip install django-ct-ontology

Or via uv:

uv add django-ct-ontology

Configuration

Add ontology to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
    ...
    'ontology',
]

To include the API endpoints, add the following to your project’s urls.py:

from django.urls import path, include

urlpatterns = [
    ...
    path('api/', include('ontology.urls')),
]

Settings

The following settings can be configured in your settings.py:

  • ONTOLOGY_DISABLE_MODELS: Set to True to disable loading the ontology database models and API routing. (Default: False)

  • ONTOLOGY_DISABLE_ADMIN: Set to True to disable registering the models in the Django admin interface. (Default: False)

API Endpoints

When mounted at api/ as shown above, the following endpoints are available:

  • /api/ontology/predicate/

  • /api/ontology/subject/

  • /api/ontology/object/

  • /api/ontology/triple/

  • /api/ontology/domain/

  • /api/ontology/graph/

These endpoints provide standard CRUD operations based on your authentication status.

Metadata

Release files for django-ct-ontology 1.0.0

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

Source distribution (sdist)

Source distribution for django-ct-ontology 1.0.0
File Size Uploaded Provenance Actions
django_ct_ontology-1.0.0.tar.gz 19.9 kB With provenance Details for django_ct_ontology-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-ct-ontology 1.0.0
File Interpreter ABI Platform Actions
django_ct_ontology-1.0.0-py3-none-any.whl Python 3 none any Details for django_ct_ontology-1.0.0-py3-none-any.whl

Total release size: 41.2 kB

Release files / django_ct_ontology-1.0.0.tar.gz

Download URL django_ct_ontology-1.0.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d81f8aee7a0211bd0a7ceb86928868a9a83317a826cf92302eb95bb602f28aa
BLAKE2b-256 checksum
How to use checksums
2bd39baec75a1dab6276b36a513d63015fdadb5222a91c17de625e88021717d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 27, 2026.

Transparency log

Release files / django_ct_ontology-1.0.0-py3-none-any.whl

Download URL django_ct_ontology-1.0.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5349a805f466f8d0a4e883b6d7332182b14b3f84e19f373fe2997affb4d67b6e
BLAKE2b-256 checksum
How to use checksums
9e792e33d68d06262b4b8ddece1591cdd499e2b07349f5f56420069458b5e5da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 27, 2026.

Transparency log

Security for django-ct-ontology 1.0.0

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 django_ct_ontology-1.0.0.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 Mar 27, 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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