Skip to main content

The ShdwDB package

package for tables

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, filename_saved)

Retrive a database from local filesystem. Give it a name and specifiy file path, path with be relative to current directory

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(filename_to_save): save to local filesystem. filename_to_save is relative to current path
  • add_column(name): Add a column.
  • add_row(name): Add a row.

Release notes:

  • teensy bit buggy
  • removed json dependency and fixed description

Metadata

Release files for shdwdb 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shdwdb 0.0.10
File Size Uploaded
shdwdb-0.0.10.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shdwdb 0.0.10
File Interpreter ABI Platform
shdwdb-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / shdwdb-0.0.10.tar.gz

Download URL shdwdb-0.0.10.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
74ac652babd20ae05cae492fe4150bf50d3d06b19b8615e399c710d9c592659f
BLAKE2b-256 checksum
How to use checksums
69a9f471a71aeb48e3bc686d96fe16fd59db4bde9f23c134270f1a5bb7ee16cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release files / shdwdb-0.0.10-py3-none-any.whl

Download URL shdwdb-0.0.10-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b21cebec7210bf049dab11da392af4d4ce427c1af9679e098ef20e049c458f4
BLAKE2b-256 checksum
How to use checksums
08fc6de8320296f5c86a99c021a31f1a0d2e57675be8c8447abe7ef1d7a96d7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page