# Simple DB Library #
## Quick Guide ##
Using this library is very easy:
First, we need to setup database direcroty
For this we use `setdirecritry` it's look like that:
import simpledb as s
s.setdirecritry("path//database.db")
Examples how to use all operations:
Creating table with `CreateTable(name: str, collumn: str)`:
s.table.CreateTable("table_name", "int_values INT, str_values STR")
Adding to table items with `AddToTable(table: str, items: list)`:
s.table.AddToTable("table_name", [1,"str"])
Deleting items from table with `DeleteFromTable(table: str, collumn: str, target: list)`:
s.table.DeleteFromTable("table_name", "int_values" [1])
Getting data from table with `search.item(table: str, target: list)`:
print(s.search.item("table_name", "str")) or print(s.search.item("table_name", 1))
----------
## Creator ##
site: [*click*](https://johnywessel.github.io/)
Raw data
{
"_id": null,
"home_page": "https://github.com/JohnyWessel/simple-database",
"name": "wessql",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.1.1",
"maintainer_email": null,
"keywords": "wessql",
"author": "w3ssel",
"author_email": "johnywessel@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/49/3c/bb1cbc7ae24a2e39ecaf3faaaec7b00f718897d5b3e06976d8149592a2fd/wessql-0.0.1.tar.gz",
"platform": null,
"description": "# Simple DB Library #\r\n\r\n## Quick Guide ##\r\n\r\nUsing this library is very easy:\r\n\r\nFirst, we need to setup database direcroty\r\nFor this we use `setdirecritry` it's look like that:\r\n\r\n import simpledb as s\r\n\r\n s.setdirecritry(\"path//database.db\")\r\n\r\n\r\nExamples how to use all operations:\r\n\r\nCreating table with `CreateTable(name: str, collumn: str)`:\r\n\r\n s.table.CreateTable(\"table_name\", \"int_values INT, str_values STR\")\r\n\r\n\r\nAdding to table items with `AddToTable(table: str, items: list)`:\r\n\r\n s.table.AddToTable(\"table_name\", [1,\"str\"])\r\n\r\n\r\nDeleting items from table with `DeleteFromTable(table: str, collumn: str, target: list)`:\r\n\r\n s.table.DeleteFromTable(\"table_name\", \"int_values\" [1])\r\n\r\n\r\nGetting data from table with `search.item(table: str, target: list)`:\r\n\r\n print(s.search.item(\"table_name\", \"str\")) or print(s.search.item(\"table_name\", 1))\r\n\r\n\r\n\r\n----------\r\n\r\n\r\n## Creator ##\r\nsite: [*click*](https://johnywessel.github.io/) \r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is the simplest module for quick work with sqlite3.",
"version": "0.0.1",
"project_urls": {
"GitHub": "https://github.com/johnywessel",
"Homepage": "https://github.com/JohnyWessel/simple-database"
},
"split_keywords": [
"wessql"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8cb110c31acb1368fff00d70b48e1e72749c4c3e28276a6f14f57a43364d77c6",
"md5": "f210107657963d4f225c6fb7a3141a72",
"sha256": "565b9ef75d80cb5e30f6c9e0c32c8532cafa74d875b572e46d6e927b01918aa2"
},
"downloads": -1,
"filename": "wessql-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f210107657963d4f225c6fb7a3141a72",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.1.1",
"size": 3318,
"upload_time": "2024-09-01T21:20:25",
"upload_time_iso_8601": "2024-09-01T21:20:25.934434Z",
"url": "https://files.pythonhosted.org/packages/8c/b1/10c31acb1368fff00d70b48e1e72749c4c3e28276a6f14f57a43364d77c6/wessql-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "493cbb1cbc7ae24a2e39ecaf3faaaec7b00f718897d5b3e06976d8149592a2fd",
"md5": "f5740d53413927e3e5cf72aefbbfb6bc",
"sha256": "b000823e214986686b2f6f03fd868bd26ac6e2e27ce5cc036f7e044c5f8dc35c"
},
"downloads": -1,
"filename": "wessql-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f5740d53413927e3e5cf72aefbbfb6bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.1.1",
"size": 3067,
"upload_time": "2024-09-01T21:20:27",
"upload_time_iso_8601": "2024-09-01T21:20:27.364681Z",
"url": "https://files.pythonhosted.org/packages/49/3c/bb1cbc7ae24a2e39ecaf3faaaec7b00f718897d5b3e06976d8149592a2fd/wessql-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-01 21:20:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JohnyWessel",
"github_project": "simple-database",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "wessql"
}