django-ltree-2


Namedjango-ltree-2 JSON
Version 0.1.6 PyPI version JSON
download
home_page
SummaryContinual of django-ltree
upload_time2024-03-17 03:25:23
maintainer
docs_urlNone
authorbaseplate-admin
requires_python>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # django-ltree

[![Downloads](https://static.pepy.tech/badge/django-ltree-2)](https://pepy.tech/project/django-ltree-2)

A tree extension implementation to support hierarchical tree-like data in Django models,
using the native Postgres extension `ltree`.

Postgresql has already a optimized and very useful tree implementation for data.
The extension is [ltree](https://www.postgresql.org/docs/9.6/static/ltree.html)

This fork contains is a continuation of the work done by [`mariocesar`](https://github.com/mariocesar/) on [`django-ltree`](https://github.com/mariocesar/django-ltree) and merges the work done by [`simkimsia`](https://github.com/simkimsia) on [`greendeploy-django-ltree`](https://github.com/GreenDeploy-io/greendeploy-django-ltree)

<!--
[![Test](https://github.com/mariocesar/django-ltree/actions/workflows/test.yml/badge.svg)](https://github.com/mariocesar/django-ltree/actions/workflows/test.yml)
 -->

## Install

```py
pip install django-ltree
```

Then add `django_ltree` to `INSTALLED_APPS` in your Django project settings.

```python
INSTALLED_APPS = [
    ...,
    'django_ltree',
    ...
]
```

Then use it like this:

```python

from django_ltree.models import TreeModel


class CustomTree(TreeModel):
    ...

```

## Requires

-   Django 5.0 or superior
-   Python 3.10 or higher


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "django-ltree-2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "baseplate-admin",
    "author_email": "61817579+baseplate-admin@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/ed/2d/ddff085dab565ffafe3e649c3b167914a7bdcd5378ea846ca8722561ac14/django_ltree_2-0.1.6.tar.gz",
    "platform": null,
    "description": "# django-ltree\n\n[![Downloads](https://static.pepy.tech/badge/django-ltree-2)](https://pepy.tech/project/django-ltree-2)\n\nA tree extension implementation to support hierarchical tree-like data in Django models,\nusing the native Postgres extension `ltree`.\n\nPostgresql has already a optimized and very useful tree implementation for data.\nThe extension is [ltree](https://www.postgresql.org/docs/9.6/static/ltree.html)\n\nThis fork contains is a continuation of the work done by [`mariocesar`](https://github.com/mariocesar/) on [`django-ltree`](https://github.com/mariocesar/django-ltree) and merges the work done by [`simkimsia`](https://github.com/simkimsia) on [`greendeploy-django-ltree`](https://github.com/GreenDeploy-io/greendeploy-django-ltree)\n\n<!--\n[![Test](https://github.com/mariocesar/django-ltree/actions/workflows/test.yml/badge.svg)](https://github.com/mariocesar/django-ltree/actions/workflows/test.yml)\n -->\n\n## Install\n\n```py\npip install django-ltree\n```\n\nThen add `django_ltree` to `INSTALLED_APPS` in your Django project settings.\n\n```python\nINSTALLED_APPS = [\n    ...,\n    'django_ltree',\n    ...\n]\n```\n\nThen use it like this:\n\n```python\n\nfrom django_ltree.models import TreeModel\n\n\nclass CustomTree(TreeModel):\n    ...\n\n```\n\n## Requires\n\n-   Django 5.0 or superior\n-   Python 3.10 or higher\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Continual of django-ltree",
    "version": "0.1.6",
    "project_urls": {
        "Bug Tracker": "https://github.com/baseplate-admin/django-ltree-2/issues",
        "homepage": "https://github.com/baseplate-admin/django-ltree-2",
        "repository": "https://github.com/baseplate-admin/django-ltree-2"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c4cd0891a405f0cd123a8a82890ec5c1492a8e9393a2750210ee3e23b3fdfc16",
                "md5": "68f1ff6cc4d4fd3ab50afb7022eca605",
                "sha256": "01b34d34bca09166a1a797e4fe3e872e18c14e9b060892e53527e3a891f81fca"
            },
            "downloads": -1,
            "filename": "django_ltree_2-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "68f1ff6cc4d4fd3ab50afb7022eca605",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 8627,
            "upload_time": "2024-03-17T03:25:22",
            "upload_time_iso_8601": "2024-03-17T03:25:22.399011Z",
            "url": "https://files.pythonhosted.org/packages/c4/cd/0891a405f0cd123a8a82890ec5c1492a8e9393a2750210ee3e23b3fdfc16/django_ltree_2-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ed2dddff085dab565ffafe3e649c3b167914a7bdcd5378ea846ca8722561ac14",
                "md5": "0d3a59fff8f04078cff1c14e502b363d",
                "sha256": "fe55677ac631e08ba2732ab5c2d170cde4b0c08b5c59c0585e0e42c9a4de3774"
            },
            "downloads": -1,
            "filename": "django_ltree_2-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0d3a59fff8f04078cff1c14e502b363d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6339,
            "upload_time": "2024-03-17T03:25:23",
            "upload_time_iso_8601": "2024-03-17T03:25:23.942338Z",
            "url": "https://files.pythonhosted.org/packages/ed/2d/ddff085dab565ffafe3e649c3b167914a7bdcd5378ea846ca8722561ac14/django_ltree_2-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 03:25:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "baseplate-admin",
    "github_project": "django-ltree-2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-ltree-2"
}
        
Elapsed time: 0.21726s