## INSTALL
```bash
# Create python virtual environment
python3 -m venv venv
# Activate this environment
source venv/bin/activate
# Install dependencies
pip install .
# Create pg db
createdb --U username -W dbname
## set password for db user
# Copy .env file from sample template
cp .env.sample .env
## set your pg creds in .env file
```
## TEST
```bash
pytest
```
Raw data
{
"_id": null,
"home_page": null,
"name": "xn-model",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "tortoise, model, crud, generator, api, admin",
"author": null,
"author_email": "Mike Artemiev <mixartemev@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/29/0e/601734b8d05ff71795934b0d8a6a205b69d7a1e60c1681c24d170de83277/xn_model-1.0.18.tar.gz",
"platform": null,
"description": "## INSTALL\n```bash\n# Create python virtual environment\npython3 -m venv venv\n# Activate this environment\nsource venv/bin/activate\n# Install dependencies\npip install .\n\n# Create pg db\ncreatedb --U username -W dbname\n## set password for db user\n\n# Copy .env file from sample template\ncp .env.sample .env\n## set your pg creds in .env file\n```\n\n## TEST\n```bash\npytest\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Base model for xn-api",
"version": "1.0.18",
"project_urls": {
"Homepage": "https://github.com/XyncNet/x-model",
"Repository": "https://github.com/XyncNet/x-model"
},
"split_keywords": [
"tortoise",
" model",
" crud",
" generator",
" api",
" admin"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "131df16c77fbf786d2ff3a7123cddcc31faf6e8c88537c9f09c40cbd611a758d",
"md5": "b1e8ca9bb54168dddc1490e2a73f0102",
"sha256": "06bcf6f03ffa55518b09a2cee5046b4b1741a8c0881d8a396c308324e29330bd"
},
"downloads": -1,
"filename": "xn_model-1.0.18-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b1e8ca9bb54168dddc1490e2a73f0102",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 4908,
"upload_time": "2025-07-29T21:26:51",
"upload_time_iso_8601": "2025-07-29T21:26:51.776140Z",
"url": "https://files.pythonhosted.org/packages/13/1d/f16c77fbf786d2ff3a7123cddcc31faf6e8c88537c9f09c40cbd611a758d/xn_model-1.0.18-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "290e601734b8d05ff71795934b0d8a6a205b69d7a1e60c1681c24d170de83277",
"md5": "a4dc5ca50f3ecc3c6840cc8c605a73e4",
"sha256": "2a13aafbefcca3d161644e299370f6daf64c630b11be47a6ea441e8db372e630"
},
"downloads": -1,
"filename": "xn_model-1.0.18.tar.gz",
"has_sig": false,
"md5_digest": "a4dc5ca50f3ecc3c6840cc8c605a73e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 6098,
"upload_time": "2025-07-29T21:26:52",
"upload_time_iso_8601": "2025-07-29T21:26:52.824257Z",
"url": "https://files.pythonhosted.org/packages/29/0e/601734b8d05ff71795934b0d8a6a205b69d7a1e60c1681c24d170de83277/xn_model-1.0.18.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-29 21:26:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "XyncNet",
"github_project": "x-model",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "xn-model"
}