Skip to main content

library that creates a relational database with the usage of SQLite. More information follows.

Project description

**Version 0.3**


What can db_env do?
db_env aims to make it easier to create relational database environments within Python. Currently db_env holds the following functions:
- db_create_connect(db_name)
- db_create_table_sql(sql_string)


important Info:
- this library needs sqlite3 in addition. please install before usage.
- db_name needs to be string and have ".db" as ending. E.g.:
"zoo.db"
- CREATE TABLE statements need to be writen in strings. E.g.:
"DROP TABLE IF EXISTS CUSTOMERS;CREATE TABLE CUSTOMERS(NAME VARCHAR(30),AGE INTEGER, ORDER_ID INTEGER);"
- it is encouraged to import your writen SQL-strings from another py-file as a variable (e.g. ENUM). However, you can directly insert your SQL-statement as a string into the function.


Goal for upcoming versions:
- Functions which give user the option to write his own SQL-statements into an extra Python file and call writen SQL-strings as variables into your working environment.
- Functions to collect and insert data from called API.
- Functions to select data from database and use it for pandas dataframe.

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

db_env-0.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

db_env-0.3-py3-none-any.whl (2.5 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