Name | django-cte-stubs JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | Mypy stubs for Django CTE |
upload_time | 2025-07-30 15:48:09 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | BSD 3-Clause License
Copyright (c) 2023, Abadie Moran
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
code analysis
mypy
stubs
testing
typing
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# django-cte-stubs
Type stubs for the `django-cte` package,
enabling static type checking and improved IDE experiences for Django developers.
## Key Features
- Comprehensive type stubs for the `django-cte` package.
- Better type hinting and autocompletions in supported IDEs.
- Compatible with Python 3.9 and above.
- Compatible with django-stubs 5.*
- Compatible with mypy==1.*
- Compatible with django-cte 2.* for now.
## Installation
To get started with `django-cte-stubs`, simply install the package via pip:
```bash
pip install django-cte-stubs
```
## Typing Examples
We have provided a few examples of how typing is implemented using these stubs. Explore the following modules in our test suite for more insights:
- [simple.py](./tests/project/examples/simple.py) simple CTE typing
- [raw.py](./tests/project/examples/raw.py) With raw sql code
- [recursive_example.py](./tests/project/tests/recursive_example.py) With a recursive CTE.
## Feedback & Contributions
We encourage feedback, bug reports, and contributions:
1. **Issues**: If you find any issues or areas of improvement, please raise an issue in our GitHub repository.
2. **Contributions**: Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on how to provide contributions.
Raw data
{
"_id": null,
"home_page": null,
"name": "django-cte-stubs",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Moran Abadie <moran.abadie@gmail.com>",
"keywords": "code analysis, mypy, stubs, testing, typing",
"author": null,
"author_email": "Moran Abadie <moran.abadie@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/65/6d/1eaed2090d79fd77c67efe0c2c9fe733f48633217aad95b13d7ffdf4f79a/django_cte_stubs-1.0.0.tar.gz",
"platform": null,
"description": "# django-cte-stubs\n\nType stubs for the `django-cte` package,\nenabling static type checking and improved IDE experiences for Django developers.\n\n## Key Features\n\n- Comprehensive type stubs for the `django-cte` package.\n- Better type hinting and autocompletions in supported IDEs.\n- Compatible with Python 3.9 and above.\n- Compatible with django-stubs 5.*\n- Compatible with mypy==1.*\n- Compatible with django-cte 2.* for now.\n\n## Installation\n\nTo get started with `django-cte-stubs`, simply install the package via pip:\n\n```bash\npip install django-cte-stubs\n```\n\n\n## Typing Examples\n\nWe have provided a few examples of how typing is implemented using these stubs. Explore the following modules in our test suite for more insights:\n\n- [simple.py](./tests/project/examples/simple.py) simple CTE typing\n- [raw.py](./tests/project/examples/raw.py) With raw sql code\n- [recursive_example.py](./tests/project/tests/recursive_example.py) With a recursive CTE.\n\n## Feedback & Contributions\n\nWe encourage feedback, bug reports, and contributions:\n\n1. **Issues**: If you find any issues or areas of improvement, please raise an issue in our GitHub repository.\n2. **Contributions**: Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on how to provide contributions.\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License\n \n Copyright (c) 2023, Abadie Moran\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n \n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n \n 3. Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": "Mypy stubs for Django CTE",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/moranabadie/django-cte-stubs",
"Release-notes": "https://github.com/moranabadie/django-cte-stubs/releases"
},
"split_keywords": [
"code analysis",
" mypy",
" stubs",
" testing",
" typing"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "57b53759144406a41f44312c4b0b509e0e820eb7aba99b7e8cdd222f582598d9",
"md5": "14d62704f07ebccb323b0bfe91fc882f",
"sha256": "6e90ad4a2a3b1085623d55b754fc1cb084e3d1f385f18e17e8242f55f15959fa"
},
"downloads": -1,
"filename": "django_cte_stubs-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "14d62704f07ebccb323b0bfe91fc882f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7551,
"upload_time": "2025-07-30T15:48:08",
"upload_time_iso_8601": "2025-07-30T15:48:08.554459Z",
"url": "https://files.pythonhosted.org/packages/57/b5/3759144406a41f44312c4b0b509e0e820eb7aba99b7e8cdd222f582598d9/django_cte_stubs-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "656d1eaed2090d79fd77c67efe0c2c9fe733f48633217aad95b13d7ffdf4f79a",
"md5": "529e279f7e6a6ea1a4242e915eb14572",
"sha256": "c6d2d13cf1b39d60b8cb48f208761de6d4037c455327698221f771e2cc71c1cd"
},
"downloads": -1,
"filename": "django_cte_stubs-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "529e279f7e6a6ea1a4242e915eb14572",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6456,
"upload_time": "2025-07-30T15:48:09",
"upload_time_iso_8601": "2025-07-30T15:48:09.458597Z",
"url": "https://files.pythonhosted.org/packages/65/6d/1eaed2090d79fd77c67efe0c2c9fe733f48633217aad95b13d7ffdf4f79a/django_cte_stubs-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-30 15:48:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "moranabadie",
"github_project": "django-cte-stubs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "django-cte-stubs"
}