{"id":24642414,"url":"https://github.com/simsononroad/easy_sqlite_db","last_synced_at":"2026-05-10T14:44:41.849Z","repository":{"id":270713652,"uuid":"911148528","full_name":"simsononroad/easy_sqlite_db","owner":"simsononroad","description":"This is a python library what makes easyer to use qlite","archived":false,"fork":false,"pushed_at":"2025-02-19T15:02:49.000Z","size":176,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T16:23:00.669Z","etag":null,"topics":["database","library","python","sql","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simsononroad.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-02T10:56:49.000Z","updated_at":"2025-02-19T15:02:53.000Z","dependencies_parsed_at":"2025-02-11T19:39:12.630Z","dependency_job_id":null,"html_url":"https://github.com/simsononroad/easy_sqlite_db","commit_stats":null,"previous_names":["simsononroad/easy_db__python_libary","simsononroad/easy_sqlite_db"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simsononroad%2Feasy_sqlite_db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simsononroad%2Feasy_sqlite_db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simsononroad%2Feasy_sqlite_db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simsononroad%2Feasy_sqlite_db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simsononroad","download_url":"https://codeload.github.com/simsononroad/easy_sqlite_db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244619314,"owners_count":20482397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","library","python","sql","sqlite"],"created_at":"2025-01-25T13:11:36.166Z","updated_at":"2026-05-10T14:44:41.839Z","avatar_url":"https://github.com/simsononroad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Leírás/Description:\n- \u003ca href=\"#english\"\u003eEnglish\u003c/a\u003e\n- \u003ca href=\"#magyar\"\u003eMagyar\u003c/a\u003e\n- \u003ca href=\"https://github.com/simsononroad/easy_sqlite_db/wiki\"\u003eDocumentation\u003c/a\u003e\n\n\n# English\n### Install\n- Linux/mac:\n    1. Visit the `https://github.com/simsononroad/easy_sqlite_db/releases/tag/0.1` url\n    2. Download the `start.sh` file to the folder where you want to work\n    3. give `run as program` to the `start.sh`\n    4. run in the terminal whit the `./start.sh` command\n\n- Windows:\n    1. Visit the `https://github.com/simsononroad/easy_sqlite_db/releases/tag/w0.1` url\n    2. Download the `start.bat` file to the folder where you want to work\n    4. run the `start.bat` file\n\n\n### usage\n\n- Create table: `[variable name] = create(\"[database name].db\", [True/False])`\n    - -\u003e first index: database_name.db\n    - -\u003e second index: \n        - `True`: It will print out the log\n        - `False`: This will not log out anything\n\nfunction call: `[variable name].[function name](function parameters)`\n\n\u003ca href=\"#példa\"\u003eexample\u003c/a\u003e\n\n- `init_db(database_name)` \n    - -\u003e database_name: `str`\n- `create_table(table_name, columns)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `list`\n\n- `add_element(table_name, columns, content)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `list`\n    - -\u003e content: `list`\n- `select_item(table_name, columns)`, return -\u003e Items\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `list`\n- `update_row(table_name, coloumn_name, new_value, condition)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e coloumn_name: `str`\n    - -\u003e new_value: `str`/`int`\n    - -\u003e condition: `str`\n- `delete_row(table_name, condition)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e condition: `str`\n    - condition example\n        \u003e [column name] : '[value]'\n        \n        \u003e name: 'jack'\n\n- `get_db_info(table_name, coloumn_name)`\n    - -\u003e table name: `str`\n    - -\u003e coloumn_name: `list`\n    - return:tuple -\u003e firs: database name || second: coloumns_name || third: number of rows || fourth: number of coloumns (coloumns with the ID coloumn)\n### Developer mode\n- This can help for the developers when they want to start the code quickly\n\n- `quick_start(coloumn_name)`\n    - -\u003e coloumn_name: `list`\n    - Description\n        - This will creat the database with `database.db` name and the table with `tables` name\n        \n- `quick_add(coloumn_name, contents)`\n    - -\u003e coloumn_name: `list`\n    - -\u003e contents: `list`\n\n- `quick_select(coloumn_name)`\n    - -\u003e coloumn_name: `list`\n- `quick_delete(condition)`\n    - condition example\n        \u003e [coloumn name] : '[value]'\n        \n        \u003e name: 'david'\n### Website mode\n- Whit this you can manage your database from your browser.\n- `start_website(port=5000)`\n    - -\u003e port: `int`\n- usage:\n    + `if __ name __ == \"__ main __\":\n         +   easy_db.start_website().run()`\n\n\n\n\n\n# Magyar\n### Telepítés\n- Linux/mac:\n    1. Látogass el a `https://github.com/simsononroad/easy_sqlite_db/releases/tag/0.1` URL-re\n    2. Töltsd le a `start.sh` fájlt abba a mappába, ahol dolgozni szeretnél\n    3. Adj futtatási jogosultságot a `start.sh` fájlnak\n    4. Futtasd a terminálban a `./start.sh` parancs segítségével\n\n- Windows:\n    1. Látogass el a `https://github.com/simsononroad/easy_sqlite_db/releases/tag/w0.1` URL-re\n    2. Töltsd le a `start.bat` fájlt abba a mappába, ahol dolgozni szeretnél\n    3. Futtasd a `start.bat` fájlt\n\n### Használat\n\n- Tábla létrehozása: `[változó név] = create(\"[adatbázis név].db\", [True/False])`\n    - -\u003e ELső index: database_name.db\n    - -\u003e Második index: \n        - `True`: Ki fogja írni hogy mit hajtott végre\n        - `False`: Nem fogja ki írni hogy mit hajtott végre\n\nFüggvény meghívása: `[változó név].[függvény neve](függvény paraméterei)`\n\n\u003ca href=\"#példa\"\u003epélda\u003c/a\u003e\n\n- `init_db(database_name)`\n    - -\u003e database_name: `str`\n- `create_table(table_name, columns)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `list`\n\n- `add_element(table_name, columns, content)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `list`\n    - -\u003e content: `list`\n- `select_item(table_name, columns)`, visszatérési érték -\u003e `list`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e columns: `str`\n- `update_row(table_name, coloumn_name, new_value, condition)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e coloumn_name: `str`\n    - -\u003e new_value: `str`/`int`\n    - -\u003e condition: `str`\n\n- `delete_row(table_name, condition)`\n    - -\u003e database_name: `str`\n    - -\u003e table_name: `str`\n    - -\u003e condition: `str`\n    - condition example\n        \u003e [oszlop neve] : '[érték]'\n        \n        \u003e nev: 'david'\n\n- `get_db_info(table_name, coloumn_name)`\n    - -\u003e table name: `str`\n    - -\u003e coloumn_name: `list`\n    - return: tuple -\u003e első elem: adatbázis neve || második elem: oszlopok neve || harmadik elem: sorok száma || negyedik elem: oszlopk száma\n\n\n### Fejlesztőknek:\n- Ez segíthet a fejlesztőknek ha csak tesztelni szeretnének és nem akarnak a nevekkel bajlódni\n\n- `quick_start(coloumn_name)`\n    - -\u003e coloumn_name: `list`\n    - Description\n        - Ez megfogja csinálni az adatbázist `database.db` néven és létrehoz egy táblát `tables` néven.\n        \n- `quick_add(coloumn_name, contents)`\n    - -\u003e coloumn_name: `list`\n    - -\u003e contents: `list`\n\n- `quick_select(coloumn_name)`\n    - -\u003e coloumn_name: `list`\n- `quick_delete(condition)`\n    - condition example\n        \u003e [oszlop neve] : '[érték]'\n        \n        \u003e name: 'david'\n\n### Weboldal mód\n- Ez a funkció lehetővé teszi, hogy vezéreld az adatbázisod weboldalon keresztül\n- `start_website(port=5000)`\n    - -\u003e port: `int`\n- használat:\n    + `if __ name __ == \"__ main __\":\n         +   easy_db.start_website().run()`\n\n\n# Példa:\n\n\n```\nfrom easy_db import *\n\n# Create database\ndatabase = create(\"databse1.db\")\n\nprint(create.version)\n\n# Create database\ndatabase.init_db()\n\n#create table\ndatabase.create_table(\"tabla1\", [\"name\", \"age\"])\n\n#Add item to database\ndatabase.add_element(table_name=\"tabla1\", coloumn_name=[\"name\", \"age\"], contents=[\"Jack\", 15])\ndatabase.add_element(table_name=\"tabla1\", coloumn_name=[\"name\", \"age\"], contents=[\"david\", 10])\n\n#replace item in database\ndatabase.update_row(\"tabla1\", coloumn_name=\"name\", new_value=\"kispista\", condition=\"id=1\")\n\n#Delete item from database\ndatabase.delete_row(table_name=\"tabla1\", condition=\"name='Jack'\")\n\n#Return important infos from database\ninfos = database.get_db_info(\"tabla1\", coloumn_name=[\"name\", \"age\"])\n\n```\n\u003cimg src=\"img/code_snap.png\"\u003e\n\n## template\n\n```\ntemp = templates(db_name=\"temp.db\", debug_mode=True)\n\ntemp.shop()\ntemp.chat()\ntemp.login()\n```\n\u003cimg src=\"img/code_snap3.png\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimsononroad%2Feasy_sqlite_db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimsononroad%2Feasy_sqlite_db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimsononroad%2Feasy_sqlite_db/lists"}