{"id":15294042,"url":"https://github.com/captpyrite/primitivedb","last_synced_at":"2026-01-05T16:38:08.275Z","repository":{"id":161821287,"uuid":"584268480","full_name":"CaptPyrite/primitiveDB","owner":"CaptPyrite","description":"The most primitive way of storing data inside a database!","archived":false,"fork":false,"pushed_at":"2023-01-12T20:39:29.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T20:45:12.407Z","etag":null,"topics":["flask","pandas","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptPyrite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-02T03:53:45.000Z","updated_at":"2023-04-02T20:41:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4c693ba-c996-482c-96c0-df03e62bfb2d","html_url":"https://github.com/CaptPyrite/primitiveDB","commit_stats":null,"previous_names":["fahimferdous1/primitivedb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptPyrite%2FprimitiveDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptPyrite%2FprimitiveDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptPyrite%2FprimitiveDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptPyrite%2FprimitiveDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptPyrite","download_url":"https://codeload.github.com/CaptPyrite/primitiveDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245301403,"owners_count":20593170,"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":["flask","pandas","python"],"created_at":"2024-09-30T16:56:04.631Z","updated_at":"2026-01-05T16:38:08.215Z","avatar_url":"https://github.com/CaptPyrite.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePrimitive-Database (primitveDB)\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  ![logo](https://user-images.githubusercontent.com/79488582/183230798-31b73d18-3154-4928-b746-4e89ac9f486d.jpg)\n  \n\u003c/div\u003e\n\n\n# About PrimitiveDB\nPrimitive-Database is a lightweight databasing library written in Python3. It uses CSV(Comma Separated Values) file(s) to store data, making it easy to perform simple and minimalistic tasks with great and stable performance.\n\n\n# Installation\n\n```\npip install primitiveDB\n```\n* Tested on windows and Linux only\n\n\u003cbr\u003e\u003c/br\u003e\n# Using PrimitiveDB\n\u003ch2\u003eServer\u003c/h2\u003e\n\n\u003ch3\u003eCreating a simple vertical database\u003c/h3\u003e\n\n```python\nfrom primitiveDB.server import Server\n\nServer.init.db(\u003cCSV FILE\u003e)\nServer.init.id(\u003cSPEICAL ID FOR THE SERVER\u003e)\n\nServer.init.columns([\"Name\",       #Title for column 1\n                     \"Age\",        #Title for column 2\n                     \"Address\"])   #Title for column 3\n\n\nServer.init.auth(\u003cAUTHENTICATION KEY\u003e)\n\n#                  IP             PORT\nServer.init.uri(\"0.0.0.0\"    ,    8080) #Server IP is `http://localhost:8080` or `http://127.0.0.1:8080`\n\nServer.run()\n```\n\n\u003cbr\u003e\u003c/br\u003e\n\n\u003ch2\u003eClient\u003c/h2\u003e\n\u003ch3\u003eConnecting to the database\u003c/h3\u003e\n\n```python\nfrom primitiveDB.client import Client\n\nDB = client.connect(\u003cIP\u003e)\nDB.set_auth(\u003cAUTHENTICATION KEY\u003e)\n```\n\n\u003ch3\u003eFetching data from the database\u003c/h3\u003e\n\n```python\nfrom primitiveDB.client import Client\n\nDB = client.connect(\u003cIP\u003e)\nDB.set_auth(\u003cAUTHENTICATION KEY\u003e)\n\n\nDB_data = DB.fetch() #returns a pandas.datafraem\nprint(DB_data)\n```\n\n\n\u003ch3\u003eInserting data into the database\u003c/h3\u003e\n\n```python\nfrom primitiveDB.client import Client\n\nDB = client.connect(\u003cIP\u003e)\nDB.set_auth(\u003cAUTHENTICATION KEY\u003e)\n\n\nDB_data = DB.fetch()\n\n\nDB_data[\"Name\"] = [\"Jack\",           # Adding `Jack` to first row into Names\n                   \"James\"]           # Adding `Jill` to second row into Names\n\nDB_data[\"Age\"] = [10,                 # Adding the age for `Jack` \n                  07]                 # Adding the age for  `James`\n                  \nDB_data[\"Adress\"] = [\"123 NAME ST\",   # Adding the adress for `Jack`\n                     \"123 MAIN ST\"]   # Adding the adress for `James`\n\nDB.insert(DB_data)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptpyrite%2Fprimitivedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptpyrite%2Fprimitivedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptpyrite%2Fprimitivedb/lists"}