django-htmx-datatable 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- django_htmx_datatable-0.0.1/LICENSE +21 -0
- django_htmx_datatable-0.0.1/PKG-INFO +47 -0
- django_htmx_datatable-0.0.1/README.md +23 -0
- django_htmx_datatable-0.0.1/django_htmx_datatable.egg-info/PKG-INFO +47 -0
- django_htmx_datatable-0.0.1/django_htmx_datatable.egg-info/SOURCES.txt +11 -0
- django_htmx_datatable-0.0.1/django_htmx_datatable.egg-info/dependency_links.txt +1 -0
- django_htmx_datatable-0.0.1/django_htmx_datatable.egg-info/requires.txt +1 -0
- django_htmx_datatable-0.0.1/django_htmx_datatable.egg-info/top_level.txt +1 -0
- django_htmx_datatable-0.0.1/htmx_datatable/__init__.py +0 -0
- django_htmx_datatable-0.0.1/htmx_datatable/apps.py +6 -0
- django_htmx_datatable-0.0.1/pyproject.toml +37 -0
- django_htmx_datatable-0.0.1/setup.cfg +4 -0
- django_htmx_datatable-0.0.1/tests/test_bootstrap.py +15 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mario Orlandi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: django-htmx-datatable
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Searchable, sortable, filterable, paginated tables for Django models, rendered server-side with htmx
|
|
5
|
+
Author: Mario Orlandi
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
8
|
+
Classifier: Environment :: Web Environment
|
|
9
|
+
Classifier: Framework :: Django
|
|
10
|
+
Classifier: Framework :: Django :: 5.1
|
|
11
|
+
Classifier: Framework :: Django :: 5.2
|
|
12
|
+
Classifier: Framework :: Django :: 6.0
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: Django>=5.1
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# django-htmx-datatable
|
|
26
|
+
|
|
27
|
+
Searchable, sortable, filterable, paginated tables for Django models,
|
|
28
|
+
declared once on the server and rendered as HTML with [htmx](https://htmx.org).
|
|
29
|
+
|
|
30
|
+
Successor of [django-ajax-datatable](https://github.com/morlandi/django-ajax-datatable),
|
|
31
|
+
without jQuery and datatables.net.
|
|
32
|
+
|
|
33
|
+
## Status
|
|
34
|
+
|
|
35
|
+
Early development, not usable yet. The API will change without notice.
|
|
36
|
+
|
|
37
|
+
Design decisions and roadmap: [docs/2026-11-15_design.md](docs/2026-11-15_design.md).
|
|
38
|
+
|
|
39
|
+
## Requirements
|
|
40
|
+
|
|
41
|
+
- Python >= 3.12
|
|
42
|
+
- Django >= 5.1
|
|
43
|
+
- htmx 2.x
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# django-htmx-datatable
|
|
2
|
+
|
|
3
|
+
Searchable, sortable, filterable, paginated tables for Django models,
|
|
4
|
+
declared once on the server and rendered as HTML with [htmx](https://htmx.org).
|
|
5
|
+
|
|
6
|
+
Successor of [django-ajax-datatable](https://github.com/morlandi/django-ajax-datatable),
|
|
7
|
+
without jQuery and datatables.net.
|
|
8
|
+
|
|
9
|
+
## Status
|
|
10
|
+
|
|
11
|
+
Early development, not usable yet. The API will change without notice.
|
|
12
|
+
|
|
13
|
+
Design decisions and roadmap: [docs/2026-11-15_design.md](docs/2026-11-15_design.md).
|
|
14
|
+
|
|
15
|
+
## Requirements
|
|
16
|
+
|
|
17
|
+
- Python >= 3.12
|
|
18
|
+
- Django >= 5.1
|
|
19
|
+
- htmx 2.x
|
|
20
|
+
|
|
21
|
+
## License
|
|
22
|
+
|
|
23
|
+
MIT
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: django-htmx-datatable
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Searchable, sortable, filterable, paginated tables for Django models, rendered server-side with htmx
|
|
5
|
+
Author: Mario Orlandi
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
8
|
+
Classifier: Environment :: Web Environment
|
|
9
|
+
Classifier: Framework :: Django
|
|
10
|
+
Classifier: Framework :: Django :: 5.1
|
|
11
|
+
Classifier: Framework :: Django :: 5.2
|
|
12
|
+
Classifier: Framework :: Django :: 6.0
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: Django>=5.1
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# django-htmx-datatable
|
|
26
|
+
|
|
27
|
+
Searchable, sortable, filterable, paginated tables for Django models,
|
|
28
|
+
declared once on the server and rendered as HTML with [htmx](https://htmx.org).
|
|
29
|
+
|
|
30
|
+
Successor of [django-ajax-datatable](https://github.com/morlandi/django-ajax-datatable),
|
|
31
|
+
without jQuery and datatables.net.
|
|
32
|
+
|
|
33
|
+
## Status
|
|
34
|
+
|
|
35
|
+
Early development, not usable yet. The API will change without notice.
|
|
36
|
+
|
|
37
|
+
Design decisions and roadmap: [docs/2026-11-15_design.md](docs/2026-11-15_design.md).
|
|
38
|
+
|
|
39
|
+
## Requirements
|
|
40
|
+
|
|
41
|
+
- Python >= 3.12
|
|
42
|
+
- Django >= 5.1
|
|
43
|
+
- htmx 2.x
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
django_htmx_datatable.egg-info/PKG-INFO
|
|
5
|
+
django_htmx_datatable.egg-info/SOURCES.txt
|
|
6
|
+
django_htmx_datatable.egg-info/dependency_links.txt
|
|
7
|
+
django_htmx_datatable.egg-info/requires.txt
|
|
8
|
+
django_htmx_datatable.egg-info/top_level.txt
|
|
9
|
+
htmx_datatable/__init__.py
|
|
10
|
+
htmx_datatable/apps.py
|
|
11
|
+
tests/test_bootstrap.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Django>=5.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
htmx_datatable
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "django-htmx-datatable"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Searchable, sortable, filterable, paginated tables for Django models, rendered server-side with htmx"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
authors = [{ name = "Mario Orlandi" }]
|
|
13
|
+
requires-python = ">=3.12"
|
|
14
|
+
dependencies = [
|
|
15
|
+
"Django>=5.1",
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
19
|
+
"Environment :: Web Environment",
|
|
20
|
+
"Framework :: Django",
|
|
21
|
+
"Framework :: Django :: 5.1",
|
|
22
|
+
"Framework :: Django :: 5.2",
|
|
23
|
+
"Framework :: Django :: 6.0",
|
|
24
|
+
"Intended Audience :: Developers",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
"Programming Language :: Python :: 3",
|
|
27
|
+
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Programming Language :: Python :: 3.13",
|
|
29
|
+
"Programming Language :: Python :: 3.14",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
# Private repository, not reachable from PyPI: restore with the GitHub URL when going public.
|
|
33
|
+
# [project.urls]
|
|
34
|
+
# Repository = "https://gitlab.brainstorm.it/colorcraft/main/django-htmx-datatable"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.packages.find]
|
|
37
|
+
include = ["htmx_datatable*"]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from django.apps import apps
|
|
2
|
+
from django.test import TestCase
|
|
3
|
+
|
|
4
|
+
from example.books.models import Book
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class BootstrapTestCase(TestCase):
|
|
8
|
+
fixtures = ["books"]
|
|
9
|
+
|
|
10
|
+
def test_app_is_installed(self):
|
|
11
|
+
self.assertTrue(apps.is_installed("htmx_datatable"))
|
|
12
|
+
|
|
13
|
+
def test_example_fixture_loads(self):
|
|
14
|
+
self.assertEqual(Book.objects.count(), 9)
|
|
15
|
+
self.assertEqual(Book.objects.filter(author__isnull=True).count(), 1)
|