A package for databasing
Project description
The ShdwDB package
This package is for databases and storage. Use it to create tables with rows and columns.
Functions
make(name, column_names, row_names)
This creates a new database. column_names must be an iterable containing the names of the columns. row_names must be also be an iterable with the row names.
retrieve(name, key_saved)
Retrive a database from the replit db storage. Give it a name and specifiy the key you saved it with.
Database methods
set(column, row, value): Set a value to a cell.delete_item(column, row): Set the cell value to None.delete_column(column): Delete the column.delete_row(row): Delete the row.get_value(column, row): Get the value of a cell.get_column(column): Get a column.get_row(row): Get a row(as a string).save(key_to_save): Save the Database to replit db.add_column(name): Add a column.add_row(name): Add a row.
Release notes:
- removed id entirely
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ShdwDB-0.0.8.tar.gz.
File metadata
- Download URL: ShdwDB-0.0.8.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba57d34e1a2bb238bb76a7c349b2064df4b10f0f5af43d9686e01583077ccf25
|
|
| MD5 |
423ad07a75735df710b09d0a242ae9e3
|
|
| BLAKE2b-256 |
38ce5a10c9d86ffd4cb028dc31334eafbb71fb0c390e52b42e7c10d819d0af11
|
File details
Details for the file ShdwDB-0.0.8-py3-none-any.whl.
File metadata
- Download URL: ShdwDB-0.0.8-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af635eafc1eb80f30a456006b41e445d0325af3ac45294bb164793cae8c9b1f5
|
|
| MD5 |
bd200ac7db22100103d4d3ea30b405b6
|
|
| BLAKE2b-256 |
0d82a8e9a1f6bfc0cb17db7c4d5d925be89c911fd99b02dd87380282f1df618f
|