Skip to main content

Localized, file-based database module.

Project description

# DataCol ## An extremely lightweight database module for Python 3.8

## Documentation

### help() Function A simple function that prints a small, barebones tutorial. Takes no parameters.

### NewDB(file_name) class The core of the DataBorealis module. Creates a new database from a .db file referenced in the single parameter.

### query(val, param) Used to search the database. The val parameter specifies the type of data you are searching for (name-value pair (nvp) or single value (vlu)), while the param parameter is the keyword you are searching for. The name of a name-value pair, or the value of a single value. Returns the value of a name-value pair, or True/False for a value, depending on whether or not the value exists.

### insert(val, param) Used to insert data into the database. Same parameters as the query() function, but the param parameter is the data to be inserted.

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

datacol-1.0.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

datacol-1.0.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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