django-semantic-filter


Namedjango-semantic-filter JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/globophobe/django-semantic-filter
SummaryDjango Semantic UI for filtering Django QuerySets based on user selections
upload_time2024-03-17 05:23:35
maintainer
docs_urlNone
authorAlex
requires_python>=3.8
licenseMIT
keywords django semantic filter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Django Semantic UI filter
------------------------

[Django Filter](https://github.com/carltongibson/django-filter) with [Semantic UI](https://semantic-ui.com/) style. Semantic UI filters may be used both with [django-semantic-admin](https://github.com/globophobe/django-semantic-admin), as well as outside the admin.

Documentation is at https://semantic-admin.com/filter/

Why?
----

* JavaScript datepicker and timepicker components.
* JavaScript selects, including multiple selections, which integrate well with Django autocomplete fields.
* Semantic UI has libraries for [React](https://react.semantic-ui.com/) and [Vue](https://semantic-ui-vue.github.io/#/), in addition to jQuery. This means you can save time by using django-semantic-filter for simple filtering, and use React or Vue for more complex use cases.


Install
-------

Install from PyPI:

```
pip install django-semantic-filter
```

Add to `settings.py`:

```python
INSTALLED_APPS = [
    "semantic_filter",
    ...
]
```

Please remember to run `python manage.py collectstatic` for production deployments.

This package use [Fomantic UI](https://fomantic-ui.com/) the official community fork of Semantic UI. Please add the Fomantic UI dependencies to your Django template.

For example:

```html
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.js"></script>
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/globophobe/django-semantic-filter",
    "name": "django-semantic-filter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "django,semantic,filter",
    "author": "Alex",
    "author_email": "globophobe@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/98/f6/943af4ba046088fc837fd94ecb9a93a30c65fe93e0e6a4f74373bcf1f416/django_semantic_filter-0.1.1.tar.gz",
    "platform": null,
    "description": "Django Semantic UI filter\n------------------------\n\n[Django Filter](https://github.com/carltongibson/django-filter) with [Semantic UI](https://semantic-ui.com/) style. Semantic UI filters may be used both with [django-semantic-admin](https://github.com/globophobe/django-semantic-admin), as well as outside the admin.\n\nDocumentation is at https://semantic-admin.com/filter/\n\nWhy?\n----\n\n* JavaScript datepicker and timepicker components.\n* JavaScript selects, including multiple selections, which integrate well with Django autocomplete fields.\n* Semantic UI has libraries for [React](https://react.semantic-ui.com/) and [Vue](https://semantic-ui-vue.github.io/#/), in addition to jQuery. This means you can save time by using django-semantic-filter for simple filtering, and use React or Vue for more complex use cases.\n\n\nInstall\n-------\n\nInstall from PyPI:\n\n```\npip install django-semantic-filter\n```\n\nAdd to `settings.py`:\n\n```python\nINSTALLED_APPS = [\n    \"semantic_filter\",\n    ...\n]\n```\n\nPlease remember to run `python manage.py collectstatic` for production deployments.\n\nThis package use [Fomantic UI](https://fomantic-ui.com/) the official community fork of Semantic UI. Please add the Fomantic UI dependencies to your Django template.\n\nFor example:\n\n```html\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css\">\n<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.js\"></script>\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Django Semantic UI for filtering Django QuerySets based on user selections",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/globophobe/django-semantic-filter",
        "Repository": "https://github.com/globophobe/django-semantic-filter"
    },
    "split_keywords": [
        "django",
        "semantic",
        "filter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ad7d2f9b7fb101143b3bece1ac7b9b7544e2038fdd387e197626f09cfdb6d60",
                "md5": "4d92cf19bfb8f470c0138fec27474a20",
                "sha256": "040b6e0686dc8362ee258abf0338388fde14a3f5fa5a24fe98a3442007ce0e30"
            },
            "downloads": -1,
            "filename": "django_semantic_filter-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4d92cf19bfb8f470c0138fec27474a20",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3848,
            "upload_time": "2024-03-17T05:23:33",
            "upload_time_iso_8601": "2024-03-17T05:23:33.354636Z",
            "url": "https://files.pythonhosted.org/packages/1a/d7/d2f9b7fb101143b3bece1ac7b9b7544e2038fdd387e197626f09cfdb6d60/django_semantic_filter-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "98f6943af4ba046088fc837fd94ecb9a93a30c65fe93e0e6a4f74373bcf1f416",
                "md5": "3a1c3361464947530ebee45cb856531a",
                "sha256": "a2a7d9f3d2f819612f5ba4e9e998857cbf68a893602c37e2d378a28247d7b0fa"
            },
            "downloads": -1,
            "filename": "django_semantic_filter-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3a1c3361464947530ebee45cb856531a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3998,
            "upload_time": "2024-03-17T05:23:35",
            "upload_time_iso_8601": "2024-03-17T05:23:35.195470Z",
            "url": "https://files.pythonhosted.org/packages/98/f6/943af4ba046088fc837fd94ecb9a93a30c65fe93e0e6a4f74373bcf1f416/django_semantic_filter-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 05:23:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "globophobe",
    "github_project": "django-semantic-filter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "django-semantic-filter"
}
        
Elapsed time: 0.22849s