semvec/pypi-packages huggingface dataset:
wvflib 0.0.2
Wavefront OBJ Files Loader/Saver
License: MIT

=====================================
wvflib — OBJ Mesh Files Reader/Writer
=====================================

.. image:: https://travis-ci.org/resurtm/wvflib.svg?branch=master
    :target: https://travis-ci.org/resurtm/wvflib

.. image:: https://badge.fury.io/py/wvflib.svg
    :target: https://badge.fury.io/py/wvflib
django-ajax-comments-xtd 0.1.1
"Django Comments Framework XTD extension app with Ajax commenting support
License: MIT

# django-ajax-comments-xtd
An addon app to https://github.com/danirus/django-comments-xtd that makes comments submittable via ajax

# Installation

1. Install from PYPI:

```pip install django-ajax-comments-xtd```

2. Add the app and its dependencies to INSTALLED_APPS in settings.py:
```
INSTALLED_APPS = [
  ...
  'django_ajax_comments_xtd',
  'django_comments_xtd',
  'django_comments', 
  ...
]
```

3. Add COMMENTS_APP to your settings.py:

```
COMMENTS_APP = 'django_comments_xtd'
```

Make sure you follow the exact order of putting these apps together

4. Add this to your url config:

```
urlpatterns = [
  ...
  url(r'^comments/', include('tow.django_ajax_comments_xtd.urls')),
  ...
]
```
Note: You don't need to add urls config provided by django_comments and django_comments_xtd because our app includes them all.

5. Run migrations to create necessary database tables:

```
python manage.py migrate
```

6. Add JS library link to your template:
```
<script src="{% static 'django_ajax_comments_xtd/js/ajax_comments.js' %}"></script>
```

7. In templates use these tags to display a list of comments and the comment form:

```
{% load comments comments_xtd %}
...

<div id="comments">
  {% render_xtdcomment_tree for object %}
  
  {% render_comment_form for object %}
</div>
```

And now you should have ajax comments enabled.
closure-tree 0.1.0
A Closure based Tree model for Django.
License: MIT


Django closure tree model.
==========================


Abstract base model for creating a Closure Tree using a recursive Postgres view.

http://schinckel.net/2016/01/27/django-trees-via-closure-view/

Usage
=====

Inherit from the Node model:

.. code-block:: python

   from closure_tree.models import Node


   class MyNode(Node):
       name = models.CharField(max_length=30)


Create migrations:

.. code-block:: sh

   $ ./manage.py makemigrations


Add the CreateTreeClosure migration step:

.. code-block:: sh

   $ ./manage.py makenigrations --empty myapp


.. code-block:: python

   from closure_tree.migrations import CreateTreeClosure

   class Migration(migrations.Migration):

       dependencies = [
           ('dummy', '0001_initial'),
       ]

       operations = [
           CreateTreeClosure('MyNode'),
       ]