{"id":37065055,"url":"https://github.com/kshitij1235/boxdb","last_synced_at":"2026-01-14T07:36:39.656Z","repository":{"id":57416173,"uuid":"453367576","full_name":"kshitij1235/boxdb","owner":"kshitij1235","description":"This a database managment lib made for python, which works like any Libraries and is very lite no aditional setup require but there is some procedure to create a project is very easy.","archived":false,"fork":false,"pushed_at":"2023-02-20T17:19:27.000Z","size":217,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-04T02:01:21.781Z","etag":null,"topics":["boxdb","data","database","library","python"],"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/kshitij1235.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}},"created_at":"2022-01-29T10:38:10.000Z","updated_at":"2022-07-17T16:11:49.000Z","dependencies_parsed_at":"2023-01-30T01:30:33.387Z","dependency_job_id":null,"html_url":"https://github.com/kshitij1235/boxdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kshitij1235/boxdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshitij1235%2Fboxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshitij1235%2Fboxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshitij1235%2Fboxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshitij1235%2Fboxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshitij1235","download_url":"https://codeload.github.com/kshitij1235/boxdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshitij1235%2Fboxdb/sbom","scorecard":{"id":571343,"data":{"date":"2025-08-11","repo":{"name":"github.com/kshitij1235/boxdb","commit":"01849ea24a7e0bd1c63427cb37af91a57b8344aa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: dist/boxdb-0.9-py3-none-any.whl:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T16:26:14.718Z","repository_id":57416173,"created_at":"2025-08-20T16:26:14.718Z","updated_at":"2025-08-20T16:26:14.718Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["boxdb","data","database","library","python"],"created_at":"2026-01-14T07:36:39.167Z","updated_at":"2026-01-14T07:36:39.647Z","avatar_url":"https://github.com/kshitij1235.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BOXDB\n\nThis is a database management lib made for python, which works like any Libraries and is very lite\nno additional setup is required but there is some procedure to create a project is very easy.\n\n## Installation\n\n- use `pip install boxdb`\n- Make sure that your `pip` version is updated `pip install --upgrade pip`. \n- Select the correct package for your environment:\n- Import the package: ``import boxdb``\n\n### Clone the project\n\n```bash\n  git clone https://github.com/kshitij1235/boxdb/tree/main/dist\n```\n\nInstall\n\n```bash\n  pip install boxdb\n```\n\n# UPDATE\n\n- internal check primary row fixed\n- rename_column() -\u003e function added\n- solved bugs in create_project\n- row_table() -\u003e Made improvements\n- extract_keys()-\u003e fixed bugs\n- Data_cond file added , helps you filture data of table\n\n----\n\n## Libraries Used\n\n- Tabulate\n- Coloroma\n\n## Features\n\n- Very lite and easy to maintain.\n- custom encryption is very easy to apply.\n- faster in performance.\n\n## Things to keep in mind\n\n- you can only access the database file when your python file and database file are in the same directory\n\n---\n\n# Structure Of The Database\n\n```bash\n{database_name}\n|\n|\n├─{table_name}\n  │ \n  ├─ flags\n  │   ├── forbidden.txt\n  │   └── not_null.txt\n  │   └── primary_key.txt\n  │   └── unique.txt\n  ├── Forbidden\n  │   ├── {forbiden_column}_f.txt\n  ├── Logs\n  │   ├── error.log\n  │   ├── info.log\n  │   └── warning.log\n  ├── tables\n  │   ├── {columns}.txt\n  ├── {table_name}_data.txt\n  └── {table_name}_meta.txt\n```\n\n---\n\n# How to use it :)\n\n## phase 1 (Creating a TABLE)\n\n1) In order to start with boxdb you first need to have a file for table reaction with a \n   variable with some  parameters\n\n2) you can use this code to start with it too \n\n```python\nfrom boxdb import*\n\n#in this variable you make sure too include the the name key aka variable as it will be your table name \n# and rest you can put any number of keys values you want its upto you \n\n#The only important key value is name \ndatabase_name=\"parent\"\ninfo={\n    'name':\"plasma\",      \n    'description':\"makeing heard of cows talking to each other and making things more brigth for the world to take stem\"\n}\n\n# with the help of this function your database will be created \ncreate_database(database_name)\n\n# with the help of this function your table inside database will be created \ncreate_table(database_name,info)\n\n#with the help of this function you can check the details of your table which  you stored\ndetails=get_detail(database_name,\"plasma\")\nprint(details)\n```\n\n| functions       | description                                                                | arguments                                                            |\n| --------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------- |\n| create_database | This function creates a  basic file system to store table info             | database(database_name)                                              |\n| create_table    | This function creates a  basic file system to store table info in database | database(database_name),info(patten given above for variable naming) |\n| get_detail      | This gives you all the basic details of the table                          | table_name                                                           |\n\n## phase 2 (wow you learned to set up boxdb)\n\n### Now  lets start with column creation and deletion with PRIMARY KEY\n\n```python\nfrom boxdb import*\n\ndatabase_name=\"parent\"\n# At the start let's create some rows!!!!\n\n# you can pass a string or even list to create columns according to your wish\n# ill show creating 4 rows 3 with rows and 1 with string\ncolumns=[\"sr no\",\"names of cow\",\"lites fo milk\"]\n\n# this function takes table name (in my case its  \"plasma\") and columns you can pass list if you have many rows \n# or you can use string if you wanna create one single row \n\n\n# this is multiple \ncreate_column(database_name\"plasma\", rows)\n\n# this is single row  \ncreate_column(database_name,\"plasma\", \"update\")\n\n# you can make the primary key this way \n# and it also shows some more features it consists \n\n# create_column function has 3 more parameters  \n\n# not_null -\u003e to avoid blank spaces and null values in column \n# it takes bool values\n\n# unique -\u003e it is used to rest the repetitive words in the column \n# it takes bool value\n\n# forbiden_words -\u003e it is used to restrict sets of words in the column\n# it takes a list as a parameter with some words to restrict \n\ncreate_column(database_name,\"plasma\",\n    \"id\",\n    primary_key=True,\n    not_null=False,\n    unique=False,\n    Forbiden_words=None\n)\n\n#you can always delete a column if you want\n\n\n# this function takes the table name (in my case its  \"plasma\") and columns you can pass list if you have many rows to delete\n# or you can pass a sting if you wanna delete a single row\n\n#, in this case, am deleting a single column but you can always pass a list to\nremove_column(database_name\"plasma\", \"update\")\n```\n\n| functions     | description                                         | arguments                                                      |\n| ------------- | --------------------------------------------------- | -------------------------------------------------------------- |\n| create_column | This function helps you create columns in you table | database_name, table_name,columns name(accepts list or string) |\n| remove_column | Delete columns                                      | database_name, table_name,column(accepts list or string)       |\n\n### Lets learn about creating rows\n\n```python\nfrom boxdb import*\n'''\n# At start lets create some rows!!!!\n\n# you have to pass list to rows according to the columns \n\n# for example if you have three columns ,you have to pass 3 elements each elements gets added to \n# each row \n\n# In short you can add 1 row at a time but a fix for that will be release soon too '\n\n'''\nrows=[\"1\",\"amanda\",\"28\",\"er\"]\n\n'''\n# this function takes table name (in my case its  \"plasma\") and rows you have to  pass list \n# that you created earlier according to row size \n'''\ndatabase_name=\"parent\"\n\n# this is multiple \nadd_row(database_name,\"plasma\", rows)\nadd_row(database_name,\"plasma\",[\"2\",\"ana\",\"28\",\"3e\"])\nadd_row(database_name,\"plasma\",[\"3\",\"kyee\",\"28\",\"5e\"])\n\n\n#you can always delete a row if you want\n\n# this functions takes table name (in my case its \"plasma\")\n# rules \n# 1)it needs a primary key\n# it takes the column name to change and element to change\n\nremove_row(database_name,\"plasma\",\"id\",\"3e\")\n# this fucntion takes table name (in my case its  \"plasma\") \n# and the number of row \n\n# in this case am delelting a single columns which is row number 1\nremove_column_number(database_name,\"plasma\", 1)\n\n#you can always update a row if you want\n\n# it takes table name \n# and a value from primary key that should exist in same row\n# it takes column number and what to update in  \n\nupdate_row(database_name,\"plasma\",\"5e\",\"update\",\"22\")\n```\n\n| functions            | description                                         | arguments                                                |\n| -------------------- | --------------------------------------------------- | -------------------------------------------------------- |\n| add_row              | This function helps you create columns in you table | database_name, table_name,column_data(list)              |\n| remove_column_number | Delete row by index                                 | database_name, table_name,remove_row_number              |\n| remove_row           | row that can be recovered                           | database_name, table_name,column,row_element             |\n| delete_row           | remove row permently                                |                                                          |\n| update_row           | update values in row                                | database_name, table_name,primary_value, column, element |\n\n### Showing table\n\n```python\nfrom boxdb import*\n\n# Displaying table is a kids job, its very easy \n\n# this function helps you to show table \n# this function takes a single argument which is table name(in my case its \"plasma\")\n\n##i understand few freatures should be added to improve the use of show table functions\n# and yes it would be release soon \n\nget_table(database_name,\"plasma\")\n\n'''\nnow there is another method to do it with selective rows\n''' \n\nlist_of_rows=[\"sr_no\",\"number_of_cows\"]\nget_table(database_name,\"plasma\",list_of_rows)\n```\n\n| functions | description                                | arguments                |\n| --------- | ------------------------------------------ | ------------------------ |\n| get_table | This function helps to visualize the table | database_name,table_name |\n\n### Creating view\n\n```python\nfrom boxdb import*\n\n''''\nAs a basic feature boxdb gives you option to create a view of the table \nselecting particular columns from table in database\n''''\ncreate_view(database_name=\"workers\",\nview_name=\"compare\",\ncolumn_data={\"main\":\"inj\",\"worker_id\":\"onsite\"}\n)\n\n''''\nIn the given example \ndatabase_name = specifi the database name of which view should be created/\n\nview_name = specifi the view name what it should be called \n\ncolumn_data = it is necessary to specifi the table name and the specific\ncolumn that should be included in the dictonary \n\nformat : \n\n{column_name : table_name , .... ,column_name : table_name}\n\n''''\n\n# it is used to print the view of the specific database \nprint(get_view(database_name,\"compare\"))\n\n\n\n```\n\n| functions | description                                | arguments                |\n| --------- | ------------------------------------------ | ------------------------ |\n| create_view  | create a view of the database | database_name,view_name, column_data |\n| get_view| print the data in view | database_name,view_name |\n\n## License\n\n[MIT](https://github.com/kshitij1235/boxdb/blob/main/LICENSE)\n\n## Feedback\n\nIf you have any feedback, please reach out to us at email kshitijjathar7@gmail.com ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshitij1235%2Fboxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshitij1235%2Fboxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshitij1235%2Fboxdb/lists"}