# Common Table Expressions with Django
[![Build Status](https://travis-ci.com/dimagi/django-cte.png)](https://travis-ci.com/dimagi/django-cte)
[![PyPI version](https://badge.fury.io/py/django-cte.svg)](https://badge.fury.io/py/django-cte)
## Installation
```
pip install django-cte
```
## Documentation
The [django-cte documentation](https://dimagi.github.io/django-cte/) shows how
to use Common Table Expressions with the Django ORM.
## Running tests
```
cd django-cte
mkvirtualenv cte # or however you choose to setup your environment
pip install django pynose flake8
nosetests
flake8 --config=setup.cfg
```
All feature and bug contributions are expected to be covered by tests.
## Uploading to PyPI
Package and upload the generated files.
```
pip install -r pkg-requires.txt
python setup.py sdist bdist_wheel
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/dimagi/django-cte",
"name": "django-cte",
"maintainer": "Daniel Miller",
"docs_url": null,
"requires_python": "",
"maintainer_email": "millerdev@gmail.com",
"keywords": "",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/b8/d0/3cb605946f38a44f0b956892fa5f3d7485c3f5b20a0bb2e6ac66016141f9/django-cte-1.3.2.tar.gz",
"platform": null,
"description": "# Common Table Expressions with Django\n\n[![Build Status](https://travis-ci.com/dimagi/django-cte.png)](https://travis-ci.com/dimagi/django-cte)\n[![PyPI version](https://badge.fury.io/py/django-cte.svg)](https://badge.fury.io/py/django-cte)\n\n## Installation\n```\npip install django-cte\n```\n\n\n## Documentation\n\nThe [django-cte documentation](https://dimagi.github.io/django-cte/) shows how\nto use Common Table Expressions with the Django ORM.\n\n\n## Running tests\n\n```\ncd django-cte\nmkvirtualenv cte # or however you choose to setup your environment\npip install django pynose flake8\n\nnosetests\nflake8 --config=setup.cfg\n```\n\nAll feature and bug contributions are expected to be covered by tests.\n\n\n## Uploading to PyPI\n\nPackage and upload the generated files.\n\n```\npip install -r pkg-requires.txt\n\npython setup.py sdist bdist_wheel\ntwine upload dist/*\n```\n\n\n",
"bugtrack_url": null,
"license": "BSD License",
"summary": "Common Table Expressions (CTE) for Django",
"version": "1.3.2",
"project_urls": {
"Homepage": "https://github.com/dimagi/django-cte"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "111f896a48e4a18e4ca1c1f8a50daa1a1c3535f3a5134a81a3a71454f25e7ef6",
"md5": "b93c634f4bed2eb905caa64c1a1fb901",
"sha256": "9ca0a900df4819bbe86447a594f27272d67069f3ef13da61e905b0ace67704e9"
},
"downloads": -1,
"filename": "django_cte-1.3.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b93c634f4bed2eb905caa64c1a1fb901",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 11340,
"upload_time": "2023-11-21T13:40:24",
"upload_time_iso_8601": "2023-11-21T13:40:24.265739Z",
"url": "https://files.pythonhosted.org/packages/11/1f/896a48e4a18e4ca1c1f8a50daa1a1c3535f3a5134a81a3a71454f25e7ef6/django_cte-1.3.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b8d03cb605946f38a44f0b956892fa5f3d7485c3f5b20a0bb2e6ac66016141f9",
"md5": "52264bef88da0ffa594d6b941d63de44",
"sha256": "841b264f83417d421393c8c4644f76300962c6c3ddbc37339cf99672eb3696a2"
},
"downloads": -1,
"filename": "django-cte-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "52264bef88da0ffa594d6b941d63de44",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10374,
"upload_time": "2023-11-21T13:40:26",
"upload_time_iso_8601": "2023-11-21T13:40:26.173576Z",
"url": "https://files.pythonhosted.org/packages/b8/d0/3cb605946f38a44f0b956892fa5f3d7485c3f5b20a0bb2e6ac66016141f9/django-cte-1.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-21 13:40:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dimagi",
"github_project": "django-cte",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-cte"
}