Name | ddl-print JSON |
Version |
0.1a0
JSON |
| download |
home_page | |
Summary | Print DDL of your models without connecting to an actual database |
upload_time | 2024-01-14 19:31:31 |
maintainer | |
docs_url | None |
author | noamtamir |
requires_python | >=3.10,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# DDL Print
DDLPrint is a Django app that prints the DDL of your models without connecting to an actual database, and without relying on your migrations.
## Installation
1. Install the `ddlprint` package:
```bash
pip install ddlprint
```
## Configuration
2. Add `ddl_print` to your Django project's `INSTALLED_APPS` in `settings.py`:
```python
INSTALLED_APPS = [
...,
'ddl_print',
...
]
```
## Usage
3. Print the DDL using your default DB driver by running the `ddl` management command:
```bash
python manage.py ddl
```
4. You can specify a specific DB driver by passing the alias to the --db_alias flag. You can find more info on how to set up different DB drivers here https://docs.djangoproject.com/en/5.0/ref/databases/.
```bash
python manage.py ddl --db_alias mycoolalias
```
Raw data
{
"_id": null,
"home_page": "",
"name": "ddl-print",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "noamtamir",
"author_email": "noam.tamir@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/46/8a/1d8fc9faeb447cce34a7a02c94a6c5d4a641e07e8bc37590ddc71430f72b/ddl_print-0.1a0.tar.gz",
"platform": null,
"description": "# DDL Print\nDDLPrint is a Django app that prints the DDL of your models without connecting to an actual database, and without relying on your migrations.\n\n## Installation\n1. Install the `ddlprint` package:\n\n```bash\npip install ddlprint\n```\n\n## Configuration\n\n2. Add `ddl_print` to your Django project's `INSTALLED_APPS` in `settings.py`:\n\n```python\nINSTALLED_APPS = [\n ...,\n 'ddl_print',\n ...\n]\n```\n\n## Usage\n\n3. Print the DDL using your default DB driver by running the `ddl` management command:\n\n```bash\npython manage.py ddl\n```\n\n4. You can specify a specific DB driver by passing the alias to the --db_alias flag. You can find more info on how to set up different DB drivers here https://docs.djangoproject.com/en/5.0/ref/databases/.\n\n```bash\npython manage.py ddl --db_alias mycoolalias\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Print DDL of your models without connecting to an actual database",
"version": "0.1a0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5584bfac3cf03eb2b7e0d7c3fd7f8dd40cf90116acdd7f5d82396f29a782705f",
"md5": "58ab348f1411c5431a1cdb58998758a7",
"sha256": "1d25aed84a0c4f575501af61d76abda26218521581c4111ced9e8c36c422afa9"
},
"downloads": -1,
"filename": "ddl_print-0.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "58ab348f1411c5431a1cdb58998758a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 3288,
"upload_time": "2024-01-14T19:31:29",
"upload_time_iso_8601": "2024-01-14T19:31:29.740263Z",
"url": "https://files.pythonhosted.org/packages/55/84/bfac3cf03eb2b7e0d7c3fd7f8dd40cf90116acdd7f5d82396f29a782705f/ddl_print-0.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "468a1d8fc9faeb447cce34a7a02c94a6c5d4a641e07e8bc37590ddc71430f72b",
"md5": "b09f2cf2ecbbcb8c80838b19e7d5a082",
"sha256": "9a8c07912e2a43adceddfd5f6bab40b80ee3f7e4e37807b91463ca72ebe7bafa"
},
"downloads": -1,
"filename": "ddl_print-0.1a0.tar.gz",
"has_sig": false,
"md5_digest": "b09f2cf2ecbbcb8c80838b19e7d5a082",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 2450,
"upload_time": "2024-01-14T19:31:31",
"upload_time_iso_8601": "2024-01-14T19:31:31.652233Z",
"url": "https://files.pythonhosted.org/packages/46/8a/1d8fc9faeb447cce34a7a02c94a6c5d4a641e07e8bc37590ddc71430f72b/ddl_print-0.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-14 19:31:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ddl-print"
}