## 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": "tortoise-api-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/c9/03/2e67052ec948e4b2f1759ab2d3c01c91f843930361a8eb6cbdc43b331a0b/tortoise_api_model-0.10.2.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 x-api",
"version": "0.10.2",
"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": "e6736e430659721d5794540b4d40f239c88086975f74bfd4f6379337a6342b18",
"md5": "12f68f0c136545164a01b7b5ec5121a8",
"sha256": "5f309e23d9e45d217f43cef14a846498e8c332cf266de91f0197c59f14842bdf"
},
"downloads": -1,
"filename": "tortoise_api_model-0.10.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12f68f0c136545164a01b7b5ec5121a8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 8429,
"upload_time": "2024-10-13T08:36:02",
"upload_time_iso_8601": "2024-10-13T08:36:02.013413Z",
"url": "https://files.pythonhosted.org/packages/e6/73/6e430659721d5794540b4d40f239c88086975f74bfd4f6379337a6342b18/tortoise_api_model-0.10.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c9032e67052ec948e4b2f1759ab2d3c01c91f843930361a8eb6cbdc43b331a0b",
"md5": "a56ff6be6ca6a68fd261317001c3141c",
"sha256": "08fb448f162a7f4eb045bc73b35f6b889d7b82d338e1957f200918fe8d1fb8c4"
},
"downloads": -1,
"filename": "tortoise_api_model-0.10.2.tar.gz",
"has_sig": false,
"md5_digest": "a56ff6be6ca6a68fd261317001c3141c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 9290,
"upload_time": "2024-10-13T08:36:03",
"upload_time_iso_8601": "2024-10-13T08:36:03.028912Z",
"url": "https://files.pythonhosted.org/packages/c9/03/2e67052ec948e4b2f1759ab2d3c01c91f843930361a8eb6cbdc43b331a0b/tortoise_api_model-0.10.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-13 08:36:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "XyncNet",
"github_project": "x-model",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tortoise-api-model"
}