Skip to main content

Welcome to django-taggit-api

python: 3.8, 3.9, 3.10,3.11, 3.12, 3.13 django: 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0 Run tests for django-taggit-api Coveralls

Description

This application provides a simple url-path based api for django-taggit to add or remove tags.

The api is best described by the url-patterns itself:

Remove a tag from all objects of a model using the tag-id or -slug:

'remove-tag/<int:tag_id>/from/<slug:app_label>/<slug:model_name>/'
'remove-tag/<slug:tag_slug>/from/<slug:app_label>/<slug:model_name>/'

Remove a tag from a single object using the tag-id or -slug:

'remove-tag/<int:tag_id>/from/<slug:app_label>/<slug:model_name>/<int:obj_id>/'
'remove-tag/<slug:tag_slug>/from/<slug:app_label>/<slug:model_name>/<int:obj_id>/'

Add a tag to an object using the tag-id or -slug:

'add-tag/<int:tag_id>/to/<slug:app_label>/<slug:model_name>/<int:obj_id>/'
'add-tag/<slug:tag_slug>/to/<slug:app_label>/<slug:model_name>/<int:obj_id>/'

Installation

Install from pypi.org:

pip install django-taggit-api

Setup

Add taggit_api to your installed apps:

INSTALLED_APPS = [
    'taggit_api',
    ...
]

Extend your url_patterns in urls.py:

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

Metadata

Release files for django-taggit-api 1.1

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-taggit-api 1.1
File Size Uploaded Provenance Actions
django_taggit_api-1.1.tar.gz 5.2 kB Without provenance Details for django_taggit_api-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-taggit-api 1.1
File Interpreter ABI Platform Actions
django_taggit_api-1.1-py3-none-any.whl Python 3 none any Details for django_taggit_api-1.1-py3-none-any.whl

Total release size: 11.0 kB

Release files / django_taggit_api-1.1.tar.gz

Download URL django_taggit_api-1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7f66e2eeba0f37a60c1e7d001ca2e2fe5a64222375ebdff44bf68eade67f97cf
BLAKE2b-256 checksum
How to use checksums
8a736c54f4b5a9f5b8c0c1a5a4a4a7ac836f1b62564fce35b3a66f344acff25d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / django_taggit_api-1.1-py3-none-any.whl

Download URL django_taggit_api-1.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d000f7de0d99549c1a7cd312a746ea408fbf62c8e7db0e556e45fea170912dd
BLAKE2b-256 checksum
How to use checksums
e59d4386b545fcb869e49e183c6f573343185e007e570c88aa820f10bf35c493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for django-taggit-api 1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.1 This release

2 release files No 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