semvec/pypi-packages huggingface dataset:
simple-pydb 1.2.2
Simple python database
License: MIT
Requires Python: >=3.6

# Documentation

```py
from simple_pydb import Database

db = Database("database.pydb")
```

Getting all items
`<db>.get_all()`

# Database

Creating a database object
`<db>.db(database_name)`

Creating a database
`<db>.create_db(database_name)`

Deleting a database
`<db>.delete_db(database_name)`

# Table

Creating a table object
`<db>.db(database_name).table(table_name)`

Creating a table
`<db>.db(database_name).create_table(table_name)`

Deleting a table
`<db>.db(database_name).delete_table(table_name)`

# Columns and values

Creating a column
`<db>.db(database_name).table(table_name).create_column(column_name)`

Getting all items from column
`<db>.db(database_name).table(table_name).get_items_from_column(column_name)`

Getting row
`<db>.db(database_name).table(table_name).get(column, value)`

Getting items
`<db>.db(database_name).table(table_name).get_items()`

Pushing items
`<db>.db(database_name).table(table_name).push({column_name: value})`

Updating item
`<db>.db(database_name).table(table_name).update(column_name, value, in_column, new_value)`

Deleting item
`<db>.db(database_name).table(table_name).delete(column_name, value)`

Deleting row
`<db>.db(database_name).table(table_name).delete_row(column_name, value)`

Deleting column
`<db>.db(database_name).table(table_name).delete_column(column_name)`