djresttoolkit 0.1.0__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.
@@ -0,0 +1,10 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
@@ -0,0 +1,23 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2025 Shailesh Pandit
4
+
5
+ Permission is hereby granted, free of charge, to any person
6
+ obtaining a copy of this software and associated documentation
7
+ files (the "Software"), to deal in the Software without
8
+ restriction, including without limitation the rights to use,
9
+ copy, modify, merge, publish, distribute, sublicense, and/or
10
+ sell copies of the Software, and to permit persons to whom
11
+ the Software is furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall
14
+ be included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: djresttoolkit
3
+ Version: 0.1.0
4
+ Summary: A collection of Django and DRF utilities to simplify API development.
5
+ Project-URL: Homepage, https://github.com/shaileshpandit141/djresttoolkit
6
+ Project-URL: Repository, https://github.com/shaileshpandit141/djresttoolkit
7
+ Project-URL: Issues, https://github.com/shaileshpandit141/djresttoolkit/issues
8
+ Author-email: shaileshpandit141 <shaileshpandit141@gmail.com>
9
+ License: # MIT License
10
+
11
+ Copyright (c) 2025 Shailesh Pandit
12
+
13
+ Permission is hereby granted, free of charge, to any person
14
+ obtaining a copy of this software and associated documentation
15
+ files (the "Software"), to deal in the Software without
16
+ restriction, including without limitation the rights to use,
17
+ copy, modify, merge, publish, distribute, sublicense, and/or
18
+ sell copies of the Software, and to permit persons to whom
19
+ the Software is furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall
22
+ be included in all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
26
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
28
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
29
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
30
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
31
+ OTHER DEALINGS IN THE SOFTWARE.
32
+ License-File: LICENSE
33
+ Keywords: api-development,django,django-authentication,django-email,django-helpers,django-mixins,django-pagination,django-rest,django-rest-framework-utilities,django-rest-utilities,django-serializers,django-shortcuts,django-utilities,djangorestframework,drf,python-package,rest-api
34
+ Classifier: Development Status :: 1 - Planning
35
+ Classifier: Framework :: Django
36
+ Classifier: Framework :: Django :: 4.0
37
+ Classifier: Intended Audience :: Developers
38
+ Classifier: License :: OSI Approved :: MIT License
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Programming Language :: Python :: 3.11
41
+ Classifier: Programming Language :: Python :: 3.12
42
+ Classifier: Programming Language :: Python :: 3.13
43
+ Classifier: Topic :: Software Development :: Libraries
44
+ Classifier: Topic :: Utilities
45
+ Classifier: Typing :: Typed
46
+ Requires-Python: >=3.13
47
+ Provides-Extra: dev
48
+ Requires-Dist: mypy; extra == 'dev'
49
+ Requires-Dist: pytest; extra == 'dev'
50
+ Requires-Dist: ruff; extra == 'dev'
51
+ Description-Content-Type: text/markdown
52
+
53
+ # 🛠️ djresttoolkit (django rest toolkit)
54
+
55
+ [![PyPI version](https://img.shields.io/pypi/v/djresttoolkit.svg)](https://pypi.org/project/djresttoolkit/)
56
+ [![Python versions](https://img.shields.io/pypi/pyversions/djresttoolkit.svg)](https://pypi.org/project/djresttoolkit/)
57
+ [![License](https://img.shields.io/pypi/l/djresttoolkit.svg)](https://github.com/shaileshpandit141/djresttoolkit/blob/main/LICENSE)
58
+
59
+ djresttoolkit is a collection of utilities and helpers for Django and Django REST Framework (DRF) that simplify common development tasks such as API handling, authentication, and email sending and much more.
60
+
61
+ ## ✨ Features
62
+
63
+ - Django REST Framework helpers (serializers, views, pagination, etc.)
64
+ - Django utilities (e.g., email sending, model mixins)
65
+ - Ready-to-use shortcuts to speed up API development
66
+ - Lightweight, no unnecessary dependencies
67
+ - Type Safe - written with modern Python type hints.
68
+
69
+ ## 📦 Installation
70
+
71
+ - **By using uv:**
72
+
73
+ ```bash
74
+ uv add djresttoolkit
75
+ ````
76
+
77
+ - **By using pip:**
78
+
79
+ ```bash
80
+ pip install djresttoolkit
81
+ ````
82
+
83
+ ## 📚 API Reference
84
+
85
+ ### Under the development
86
+
87
+ ## 🛠️ Planned Features
88
+
89
+ - Add more utils
90
+
91
+ ## 🤝 Contributing
92
+
93
+ Contributions are welcome! Please open an issue or PR for any improvements.
94
+
95
+ ## 📜 License
96
+
97
+ MIT License — See [LICENSE](LICENSE).
98
+
99
+ ## 👤 Author
100
+
101
+ For questions or assistance, contact **Shailesh** at [shaileshpandit141@gmail.com](mailto:shaileshpandit141@gmail.com).
@@ -0,0 +1,49 @@
1
+ # 🛠️ djresttoolkit (django rest toolkit)
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/djresttoolkit.svg)](https://pypi.org/project/djresttoolkit/)
4
+ [![Python versions](https://img.shields.io/pypi/pyversions/djresttoolkit.svg)](https://pypi.org/project/djresttoolkit/)
5
+ [![License](https://img.shields.io/pypi/l/djresttoolkit.svg)](https://github.com/shaileshpandit141/djresttoolkit/blob/main/LICENSE)
6
+
7
+ djresttoolkit is a collection of utilities and helpers for Django and Django REST Framework (DRF) that simplify common development tasks such as API handling, authentication, and email sending and much more.
8
+
9
+ ## ✨ Features
10
+
11
+ - Django REST Framework helpers (serializers, views, pagination, etc.)
12
+ - Django utilities (e.g., email sending, model mixins)
13
+ - Ready-to-use shortcuts to speed up API development
14
+ - Lightweight, no unnecessary dependencies
15
+ - Type Safe - written with modern Python type hints.
16
+
17
+ ## 📦 Installation
18
+
19
+ - **By using uv:**
20
+
21
+ ```bash
22
+ uv add djresttoolkit
23
+ ````
24
+
25
+ - **By using pip:**
26
+
27
+ ```bash
28
+ pip install djresttoolkit
29
+ ````
30
+
31
+ ## 📚 API Reference
32
+
33
+ ### Under the development
34
+
35
+ ## 🛠️ Planned Features
36
+
37
+ - Add more utils
38
+
39
+ ## 🤝 Contributing
40
+
41
+ Contributions are welcome! Please open an issue or PR for any improvements.
42
+
43
+ ## 📜 License
44
+
45
+ MIT License — See [LICENSE](LICENSE).
46
+
47
+ ## 👤 Author
48
+
49
+ For questions or assistance, contact **Shailesh** at [shaileshpandit141@gmail.com](mailto:shaileshpandit141@gmail.com).
@@ -0,0 +1,126 @@
1
+ # ==========================
2
+ # Main project configuration
3
+ # ==========================
4
+
5
+ [project]
6
+ name = "djresttoolkit"
7
+ version = "0.1.0"
8
+ description = "A collection of Django and DRF utilities to simplify API development."
9
+ readme = { file = "README.md", content-type = "text/markdown" }
10
+ license = { file = "LICENSE" }
11
+ authors = [
12
+ { name = "shaileshpandit141", email = "shaileshpandit141@gmail.com" },
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 1 - Planning",
16
+ "Framework :: Django",
17
+ "Framework :: Django :: 4.0",
18
+ "Intended Audience :: Developers",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Typing :: Typed",
25
+ "Topic :: Software Development :: Libraries",
26
+ "Topic :: Utilities",
27
+ ]
28
+ keywords = [
29
+ "django",
30
+ "djangorestframework",
31
+ "drf",
32
+ "django-utilities",
33
+ "django-rest-utilities",
34
+ "django-rest-framework-utilities",
35
+ "django-helpers",
36
+ "django-rest",
37
+ "rest-api",
38
+ "api-development",
39
+ "django-email",
40
+ "django-authentication",
41
+ "django-serializers",
42
+ "django-pagination",
43
+ "django-mixins",
44
+ "django-shortcuts",
45
+ "python-package",
46
+ ]
47
+ requires-python = ">=3.13"
48
+ dependencies = []
49
+
50
+ # CLI scripts entry point configuration
51
+ # -------------------------------------
52
+ [project.scripts]
53
+ djresttoolkit = "djresttoolkit:entry_point"
54
+
55
+ # ==========================
56
+ # Build system configuration
57
+ # ==========================
58
+ [build-system]
59
+ requires = ["hatchling"]
60
+ build-backend = "hatchling.build"
61
+
62
+ [tool.hatch.build]
63
+ include = [
64
+ "djresttoolkit",
65
+ "LICENSE",
66
+ "README.md",
67
+ ]
68
+
69
+ # =================
70
+ # Dependency groups
71
+ # =================
72
+ [dependency-groups]
73
+ dev = [
74
+ "django>=5.2.5",
75
+ "django-stubs>=5.2.2",
76
+ "djangorestframework>=3.16.1",
77
+ "djangorestframework-stubs>=3.16.2",
78
+ "pytest>=8.4.1",
79
+ "djresttoolkit",
80
+ ]
81
+
82
+ # =====================
83
+ # Optional dependencies
84
+ # =====================
85
+ [project.optional-dependencies]
86
+ dev = ["pytest", "mypy", "ruff"]
87
+
88
+ # ===============
89
+ # UV tool sources
90
+ # ===============
91
+ [tool.uv.sources]
92
+ djresttoolkit = { workspace = true }
93
+
94
+ # ============
95
+ # Package data
96
+ # ============
97
+ [tool.setuptools.package-data]
98
+ "djresttoolkit" = ["py.typed"]
99
+
100
+ # ============
101
+ # Project URLs
102
+ # ============
103
+ [project.urls]
104
+ Homepage = "https://github.com/shaileshpandit141/djresttoolkit"
105
+ Repository = "https://github.com/shaileshpandit141/djresttoolkit"
106
+ Issues = "https://github.com/shaileshpandit141/djresttoolkit/issues"
107
+
108
+ # ===================
109
+ # Tool Configurations
110
+ # ===================
111
+
112
+ # Disable ruff S101 rule for test casecases
113
+ # -----------------------------------------
114
+ [tool.ruff.lint.per-file-ignores]
115
+ "tests/*.py" = ["S101"]
116
+
117
+ # ====================
118
+ # Pytest configuration
119
+ # ====================
120
+ [tool.pytest.ini_options]
121
+ minversion = "6.0"
122
+ addopts = "-v"
123
+ testpaths = ["tests"]
124
+ python_files = ["test_*.py"]
125
+ python_classes = ["Test*"]
126
+ python_functions = ["test_*"]
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from drutils!")
File without changes