## 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.12",
"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/5a/70/0c54760cbbfe36fa560f6d1503432991e6a55fd255c7da85568dc620a537/xn_model-1.0.0.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.0",
"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": "",
"digests": {
"blake2b_256": "779fa68988407d64eede20716f7c3aecec98e2bf706df92ac54bb8e17c64a870",
"md5": "65d2759266e28f861c7ed677ea6f9ad7",
"sha256": "26789e4244a2c275da34f7e8ba368beb438881cd4152a3892ea8264b1e63da16"
},
"downloads": -1,
"filename": "xn_model-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65d2759266e28f861c7ed677ea6f9ad7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 4903,
"upload_time": "2024-11-07T11:00:44",
"upload_time_iso_8601": "2024-11-07T11:00:44.555178Z",
"url": "https://files.pythonhosted.org/packages/77/9f/a68988407d64eede20716f7c3aecec98e2bf706df92ac54bb8e17c64a870/xn_model-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5a700c54760cbbfe36fa560f6d1503432991e6a55fd255c7da85568dc620a537",
"md5": "ae6c0629a9c73bb153db377f1f31b74a",
"sha256": "498baf95be9d51f1785a6e379a981be3179aedf5c653f5f2da0f66b5b2c43c13"
},
"downloads": -1,
"filename": "xn_model-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "ae6c0629a9c73bb153db377f1f31b74a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 6030,
"upload_time": "2024-11-07T11:00:45",
"upload_time_iso_8601": "2024-11-07T11:00:45.521583Z",
"url": "https://files.pythonhosted.org/packages/5a/70/0c54760cbbfe36fa560f6d1503432991e6a55fd255c7da85568dc620a537/xn_model-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-07 11:00:45",
"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"
}