Skip to main content

Ready-built Django managers and models for PostgreSQL trees

Project description

https://badge.fury.io/py/django-ltree-utils.svg https://travis-ci.org/john-parton/django-ltree-utils.svg?branch=master https://codecov.io/gh/john-parton/django-ltree-utils/branch/master/graph/badge.svg

Your project description goes here

Documentation

The full documentation is at https://django-ltree-utils.readthedocs.io.

Quickstart

Install django-ltree-utils:

pip install django-ltree-utils

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_ltree_utils.apps.DjangoLtreeUtilsConfig',
    ...
)

Add django-ltree-utils’s URL patterns:

from django_ltree_utils import urls as django_ltree_utils_urls


urlpatterns = [
    ...
    url(r'^', include(django_ltree_utils_urls)),
    ...
]

Features

  • TODO

Running Tests

You need to have a reasonably updated version of PostgreSQL listening on port 5444. You can use docker-compose <https://docs.docker.com/compose/> to start a server

docker-compose up

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements.txt -r requirements_test.txt --upgrade
(myenv) $ ./runtests.py

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.0 (2021-03-29)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-ltree-utils-0.1.7.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

django_ltree_utils-0.1.7-py2.py3-none-any.whl (18.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-ltree-utils-0.1.7.tar.gz.

File metadata

  • Download URL: django-ltree-utils-0.1.7.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for django-ltree-utils-0.1.7.tar.gz
Algorithm Hash digest
SHA256 68ec41fbd2792f1a318477091021615cbbd343655acf2bf2f2321d2b351cbee5
MD5 f738ad799e28f64328279f6d5fc8a98b
BLAKE2b-256 283bd91470b7469087974f015eb21a8920eae4c930b59a408fc967f1d1563914

See more details on using hashes here.

File details

Details for the file django_ltree_utils-0.1.7-py2.py3-none-any.whl.

File metadata

  • Download URL: django_ltree_utils-0.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for django_ltree_utils-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cecd2a5e0c8b83b5b239c1c58d06e4bbddd7781e01220621c9128773fd393a08
MD5 8824ad7a2b27e40b2e0814c698c87d88
BLAKE2b-256 4d909cf92b424838c8ef966b9ad432b7ff5d22b50354cb95e2983b9522a014d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page