# What is it?
Module with basic functionality to work with SQLite3.
# Installation
```cmd
pip install --upgrade https://github.com/romanin-rf/sqlite3worker.py/releases/download/v1.0.0.0-release/sqlite3worker-1.0.0.0_release-py3-none-any.whl
```
# Example
```python
import sqlite3worker
db = sqlite3worker.SQLite3Worker("main.sqlite3") # "FILEPATH" | ":memory:"
db.create_table(
"users",
{
"id": (int, True), # "id": (int, True) -> "COLON_NAME": (PYTHON_TYPE, IS_PRIMARY_KEY)
"nick": (str, False),
"desc": (str, False),
"birthday": (float, False)
}
)
db.add_data(
"users",
[0, "Roman", "...", 1]
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/romanin-rf/sqlite3worker.py",
"name": "sqlite3w",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "sqlite3w",
"author": "ProgrammerFromParlament",
"author_email": "semina054@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9b/c4/b45a55b720b44e9a477cf41aadaa5c023544d270782b502de0d4f9674acc/sqlite3w-1.0.6.tar.gz",
"platform": null,
"description": "# What is it?\nModule with basic functionality to work with SQLite3.\n\n# Installation\n```cmd\npip install --upgrade https://github.com/romanin-rf/sqlite3worker.py/releases/download/v1.0.0.0-release/sqlite3worker-1.0.0.0_release-py3-none-any.whl\n```\n\n# Example\n```python\nimport sqlite3worker\n\ndb = sqlite3worker.SQLite3Worker(\"main.sqlite3\") # \"FILEPATH\" | \":memory:\"\n\ndb.create_table(\n \"users\",\n {\n \"id\": (int, True), # \"id\": (int, True) -> \"COLON_NAME\": (PYTHON_TYPE, IS_PRIMARY_KEY)\n \"nick\": (str, False),\n \"desc\": (str, False),\n \"birthday\": (float, False)\n }\n)\n\ndb.add_data(\n \"users\",\n [0, \"Roman\", \"...\", 1]\n)\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Allows you to retrieve information about the system.",
"version": "1.0.6",
"split_keywords": [
"sqlite3w"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6244834df0bf284596fbef1e42af19b5",
"sha256": "4fbe709e839444ffc1b3680617102a9087ff8571d3363a34aab1b83f8302a032"
},
"downloads": -1,
"filename": "sqlite3w-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6244834df0bf284596fbef1e42af19b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5352,
"upload_time": "2022-12-19T18:30:04",
"upload_time_iso_8601": "2022-12-19T18:30:04.205379Z",
"url": "https://files.pythonhosted.org/packages/3e/62/76604299723031dd97590ad1ba44ee53796bf9b162ed49f5764cefbf66ef/sqlite3w-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "f8da10c1be9521bbbcacf337a2e48b56",
"sha256": "802a81381e999987b7b1098921368438272c9f6f719d70c801cb113c79de66d2"
},
"downloads": -1,
"filename": "sqlite3w-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "f8da10c1be9521bbbcacf337a2e48b56",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4710,
"upload_time": "2022-12-19T18:30:06",
"upload_time_iso_8601": "2022-12-19T18:30:06.301853Z",
"url": "https://files.pythonhosted.org/packages/9b/c4/b45a55b720b44e9a477cf41aadaa5c023544d270782b502de0d4f9674acc/sqlite3w-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-19 18:30:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "romanin-rf",
"github_project": "sqlite3worker.py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sqlite3w"
}