Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ShdwDB-0.0.6.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ShdwDB-0.0.6-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file ShdwDB-0.0.6.tar.gz.

File metadata

  • Download URL: ShdwDB-0.0.6.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for ShdwDB-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4026e94f82b627a1ce9f9c554d80ab248c9a36efb8fc6006e8ffefaec3f8cbf9
MD5 416ddb3026cade324b0aac60892c0850
BLAKE2b-256 09595ddc0aefb2ffb27eab412eb1f83d4e3ead732516d2cc4f0fb0272d646c20

See more details on using hashes here.

File details

Details for the file ShdwDB-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ShdwDB-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for ShdwDB-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 adf0d2f6b26af5275b97d0ad83657676dcb444cc4412e3d22bc7fb2e4225a7f0
MD5 e2f37423d217a27be8bca2ad6b41f7b9
BLAKE2b-256 1edc7cffdbdd85fcbf5b7a353d79a33ebdd94143f56b46013feed8054e9dbc10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page