Add your description here
Project description
TSQL
A Python Environment Database Module Generator
Installation
`$ pip install tsql-yaboiteedoh`Usage
`$ tsql` Runs the application in the current directory, allowing you to search it for valid configuration files or generate a new database where you areTo get the most out of that I have it installed into a toolbox .venv, and have added this function to my ~/.bashrc script:
sql() {
(
source '/home/teedoh/devkit/.venv/bin/activate'
tsql
)
}
Saving the configuration saves to the current directory under (database name).tsql Default behavior is to not override previous saves, to enable easier version control
Exporting the configuration folder dumps a python module named after the database
into the current directory, which you can reach with
from {database name} import Database
once instantiated, you can reach into the database with the associated functions on the table objects
db = Database()
table_entries = db.{table name}.read_all()
Functionality
0.1.8
- support for datatypes
- TEXT
- INT
- BOOL
- Groups
- search multiple columns for the same value
- Filters
- return based on a combination of column and group values
- parameters
- NOT NULL
- PRIMARY KEY
- AUTOINCREMENT
- Column Types
- functions with dataclass object returns for unique column values
- functions with list of dataclass object returns for shared column values
- any column not labeled 'returns' is considered passive
- these will exist on the dataclass object but not have an associated query function
- Column references
- these will update dynamically as you alter your table config
0.2.0 (planned)
- expanded data types and parameters
- More robust and customizable version control system
- Hidden columns which will not appear on the dataclass object
0.3.0 (planned)
- Join tables
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 tsql_yaboiteedoh-0.1.8.tar.gz.
File metadata
- Download URL: tsql_yaboiteedoh-0.1.8.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad7d668442cf7fc6f7827eeef8594d1cf89693faa17c4ff2d1eab7a84daf1c23
|
|
| MD5 |
02b23e45d6de353a0b36f01cd2287c2a
|
|
| BLAKE2b-256 |
10947bdb2095c97ae905b8fc0067d46643b1b6ddd8218a78961ef5a38d9a4387
|
File details
Details for the file tsql_yaboiteedoh-0.1.8-py3-none-any.whl.
File metadata
- Download URL: tsql_yaboiteedoh-0.1.8-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
012fc31948b5927b5ef4139270719f18ad5ee7814487b50959af368b83ada519
|
|
| MD5 |
101d7a6f8379b2fb8f16c118306b125c
|
|
| BLAKE2b-256 |
70806a63d0116bdd5fe02a8675f91003af0ef63b2f573d1a506f2a298138d2ca
|