Skip to content

rakibmia7254/jdbase-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jdbase

jdbase-client is a ORM for JDBase

Table of Contents

Introduction

jdbase-client is a Python library designed to provide a convenient interface for interacting with JDBase remote database via an HTTP API. It simplifies common database operations such as creating, reading, updating, and deleting records, as well as performing custom queries. This library assumes that a compatible server is running and accessible at the provided API endpoin

Installation

To install jdbase-client, simply use pip:

pip install jdbase-client

Usage

from jdbase_client import Database

# Configuration settings
config = {
    'api_key': 'adminkey',
    'api_endpoint': 'http://127.0.0.1:5000/api',
    'db': 'db2'
}

# Instantiate the Database object
db = Database(config)

# Example usage: Matching records
matching_records = db.match({"id": 2, "age": 30})
print(matching_records)

For More Read Docs HERE

License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages