{"id":26152926,"url":"https://github.com/rakibhossain72/jsonexus","last_synced_at":"2025-07-15T19:37:42.577Z","repository":{"id":226740313,"uuid":"769530138","full_name":"rakibhossain72/JSONexus","owner":"rakibhossain72","description":"JSONexus is a lightweight and flexible database solution designed for modern applications. It provides a simple and intuitive way to store, query, and manipulate data using JSON documents.","archived":false,"fork":false,"pushed_at":"2024-05-08T10:09:52.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T07:32:05.712Z","etag":null,"topics":["json-database","json-database-python","local-database"],"latest_commit_sha":null,"homepage":"https://jsonexus.gitbook.io/jsonexus/","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/rakibhossain72.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-09T10:43:00.000Z","updated_at":"2024-05-08T10:09:55.000Z","dependencies_parsed_at":"2024-05-08T11:27:26.278Z","dependency_job_id":"22c9f02f-78e7-4849-bfcf-540182767596","html_url":"https://github.com/rakibhossain72/JSONexus","commit_stats":null,"previous_names":["rakibmia7254/jsonexus","rakibhossain72/jsonexus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rakibhossain72/JSONexus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibhossain72%2FJSONexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibhossain72%2FJSONexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibhossain72%2FJSONexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibhossain72%2FJSONexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakibhossain72","download_url":"https://codeload.github.com/rakibhossain72/JSONexus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakibhossain72%2FJSONexus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265455570,"owners_count":23768567,"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":["json-database","json-database-python","local-database"],"created_at":"2025-03-11T07:25:25.060Z","updated_at":"2025-07-15T19:37:42.503Z","avatar_url":"https://github.com/rakibhossain72.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"JSONexus\r\n========\r\n\r\nJSONexus is a lightweight and flexible database solution designed for modern applications. It provides a simple and intuitive way to store, query, and manipulate data using JSON documents.\r\n\r\nKey Features\r\n------------\r\n\r\n*   Document-based storage\r\n*   Flexible schema-less design\r\n*   Powerful query capabilities\r\n*   Easy integration with various platforms\r\n\r\nInstallation\r\n------------\r\n\r\nYou can install JSONexus using pip:\r\n\r\n    pip install jsonexus\r\n\r\nGetting Started\r\n---------------\r\n\r\nCheck out the [documentation](https://jsonexus.gitbook.io/jsonexus/) for detailed usage instructions, API reference, and examples.\r\n\r\nUsage\r\n-----\r\n\r\n### Local Storage\r\n\r\n```python\r\n    from jsonexus import JSONexus\r\n    \r\n    # Create a local database\r\n    db = JSONexus('data/db.json')\r\n    \r\n    # Insert a document\r\n    db.insert('users', {'\r\n    name': 'Alice', \r\n    'age': 30, 'email': 'alice@example.com'\r\n    })\r\n    \r\n    # Find documents\r\n    result = db.find('users', {\"age\": {'_op': '$gte', '_value': 25}})\r\n    \r\n    # Update a document\r\n    db.update('users', {\"name\": {'_op': '$eq', '_value': 'Alice'}, {'age': 35})\r\n    \r\n    # Delete a document\r\n    db.delete('users', {\"name\": {'_op': '$eq', '_value': 'Alice'}})\r\n    \r\n    # Count documents\r\n    count = db.count('users')\r\n```\r\n        \r\n\r\nDocumentation\r\n-------------\r\n\r\nThe documentation for JSONexus can be found in the [Documentation](https://jsonexus.gitbook.io/jsonexus/) directory. It includes detailed usage instructions, API reference, and examples.\r\n\r\nAbout\r\n-----\r\n\r\nJSONexus is an open-source project hosted on GitHub. You can contribute to the project, report issues, and request features on the GitHub repository\r\n\r\nLicense\r\n-------\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n# New Features\r\n\r\n- **deleteby_id**: Allows users to delete an item from a collection by its unique identifier.\r\n- **updateby_id**: Enables users to update an item in a collection based on its unique identifier.\r\n- **insert_no_duplicate**: Adds functionality to insert items into a collection without duplicates.\r\n- **check_duplicate**: Provides a method for checking whether a duplicate item exists in a collection.\r\n\r\n  # Update\r\n  I replaced json with orjson for faster operation\r\n  \r\n  So, compared to Orjson:\r\n  Old JSONexus is approximately `17.70` times slower.\r\n  SQLite is approximately `5.366` times slower.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibhossain72%2Fjsonexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakibhossain72%2Fjsonexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibhossain72%2Fjsonexus/lists"}