{"id":49789265,"url":"https://github.com/demg-dev/simpleblockchaindatabase","last_synced_at":"2026-05-12T03:05:27.642Z","repository":{"id":57415644,"uuid":"150171767","full_name":"DEMG-DEV/SimpleBlockchainDataBase","owner":"DEMG-DEV","description":"Simple Database based on Blockchain technology. ","archived":false,"fork":false,"pushed_at":"2021-02-22T07:05:43.000Z","size":32,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T20:08:29.511Z","etag":null,"topics":["blockchain","blockchain-technology","database","python"],"latest_commit_sha":null,"homepage":"https://demg-dev.github.io/SimpleBlockchainDataBase/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEMG-DEV.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":"2018-09-24T21:38:34.000Z","updated_at":"2022-04-16T20:41:16.000Z","dependencies_parsed_at":"2022-08-27T18:10:46.608Z","dependency_job_id":null,"html_url":"https://github.com/DEMG-DEV/SimpleBlockchainDataBase","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/DEMG-DEV/SimpleBlockchainDataBase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMG-DEV%2FSimpleBlockchainDataBase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMG-DEV%2FSimpleBlockchainDataBase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMG-DEV%2FSimpleBlockchainDataBase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMG-DEV%2FSimpleBlockchainDataBase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEMG-DEV","download_url":"https://codeload.github.com/DEMG-DEV/SimpleBlockchainDataBase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEMG-DEV%2FSimpleBlockchainDataBase/sbom","scorecard":{"id":35257,"data":{"date":"2025-08-11","repo":{"name":"github.com/DEMG-DEV/SimpleBlockchainDataBase","commit":"1422d0abb8c7db8e589d6ad19bb30a2b77324b95"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.4 not signed: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14168995","Warn: release artifact v1.1.3 not signed: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14168993","Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14160491","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14148500","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/13068610","Warn: release artifact v1.1.4 does not have provenance: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14168995","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14168993","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14160491","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/14148500","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/DEMG-DEV/SimpleBlockchainDataBase/releases/13068610"],"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 'master'"],"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"}}]},"last_synced_at":"2025-08-14T20:09:35.929Z","repository_id":57415644,"created_at":"2025-08-14T20:09:35.929Z","updated_at":"2025-08-14T20:09:35.929Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32921618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"online","status_checked_at":"2026-05-12T02:00:06.338Z","response_time":102,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blockchain","blockchain-technology","database","python"],"created_at":"2026-05-12T03:05:22.341Z","updated_at":"2026-05-12T03:05:27.630Z","avatar_url":"https://github.com/DEMG-DEV.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleBlockchainDatabase [![Open Source Helpers](https://www.codetriage.com/demg-dev/simpleblockchaindatabase/badges/users.svg)](https://www.codetriage.com/demg-dev/simpleblockchaindatabase)\nIn this repository you can found a simple Database based on blockchain technology.\n\n\u003e **IN THIS MOMENT THE DATABASE JUST WORK AS LOCALLY AND ONE DEVICE**\n\n## Version\n**1.1.4**\n\n## LICENSE\n[MIT License](LICENSE)\n\n## Requirements\nPython \u003e= 3.6\n\n## Project structure\n```bash\n├── BlockchainDataBase\n│   ├── Data\n│   │   ├── __init__.py\n│   │   ├── DBManage.py\n│   ├── __init__.py\n│   ├── Block.py\n│   ├── Blockchain.py\n├── Test\n│   ├── Test1.py\n│   ├── Test2.py\n│   ├── Test3.py\n│   ├── Test4.py\n├── LICENSE\n├── README.md\n├── setup.py\n```\n\n## Test\n- **Test1.py**, This test just creates the genesis block of the blockchain.\n- **Test2.py**, This test add a one block to the blockchain and prints the blocks.\n- **Test3.py**, This test add 2 blocks into the blockchain, prints the blocks and validate the blockchain.\n- **Test4.py**, This shows all the blocks. \n\n## Install\nFrom official pypi.org\n```\npython -m pip install BlockchainDataBase\n```\n\nFrom test.pypi.org\n```\npython -m pip install --index-url https://test.pypi.org/simple/ BlockchainDataBase\n```\n\n## Configuration\nOn the folder you found a configuration file in a JSON format, if you want to change the folder on the database or database name you do in this file.\n```\n# The data saves on %APPDATA% directory.\n├── blockchain\n│   ├── config.json\n```\n```\nconfig.json\n\n{\n    \"DEFAULT\": {\n        \"DATABASE_NAME\": \"blockchain_database.bc\",\n        \"CONFIG_FILE\": \"config.json\"\n    }\n}\n```\n\n## Examples\nInitialize the Blockchain.\n```\nfrom BlockchainDataBase.Blockchain import Blockchain\n\nbc = Blockchain()\n```\n\nAdd one block into Blockchain.\n```\ndata = {\"Data\": \"dataResult\"}\nbc.add_block(data)\n```\n\nShows all the blocks in the Blockchain.\n```\nbc.print_blocks()\n```\n\nValidates the blockchain to check if not was corrupted\n```\nbc.validate_chain()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemg-dev%2Fsimpleblockchaindatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemg-dev%2Fsimpleblockchaindatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemg-dev%2Fsimpleblockchaindatabase/lists"}