Metadata-Version: 2.1
Name: light-sql3
Version: 1.0.1
Summary: Light cover for sqlite3
License: MIT
Author: Forzy
Author-email: nikita11tzby@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# Light db
Light db this is easy cover for database sqlite3
## How to use
```py
from light_sql3 import DataBase

example = DataBase(
    name="light_db"
)

# Method insert (return type bool)
example.insert(id="some_id", value="some_value")


# Method get (return value by id)
print(example.get(id="some_id"))


# Method add (return type bool)
example.add(id="some_id", num=100)


# Method remove (return type bool)
example.remove(id="some_id", num=100)


# Method all (return all values from table)
print(example.all())


# Method update (return type bool)
example.update(id="some_id", value=1000)


# Method has (return type bool)
print(example.has(id="some_id"))


# Method delete (return type bool)
example.delete(id="some_id")

# I think the command names make it clear what exactly they do
```
